Loading…
Topic
Serverless
110 posts about Serverless. Every summary links to the original.
- 110 posts
- 13 companies
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
How Country Road Group built a pattern-driven integration solution on AWS
Country Road Group (CRG) replaced its Microsoft BizTalk Server middleware with a pattern-driven integration solution on AWS, reducing annual integration costs from $300,000 to $60,000. The solution, called the Strategic Integration Platform (SIP), uses a declarative approach where each interface is composed from standardized integration patterns rather than custom orchestration code. Traffic flows through four processing lanes (batch, API, JDBC, and event) built on AWS serverless services including Lambda, Step Functions, EventBridge, and ECS Fargate. A custom Error Management System provides unified error handling across all lanes, shifting failure resolution from engineering to L1 operators. CRG also released an open-source AWS CDK library with 29 constructs that implement the same patterns, along with agent skills for AI coding assistants.
Introducing Genie Migrate for Serverless
Databricks announced Genie Migrate for Serverless, a managed beta agent that automates the migration of classic compute workloads (jobs and notebooks) to serverless computing. Migrating manually had been slow and error-prone, often requiring weeks to resolve access-mode incompatibilities, Spark config mismatches, and library resolution failures. The agent follows three principles: no silent production regressions, full user control over each change via labeled diffs, and a clean one-click revert if the serverless run fails. It scans the fleet to classify eligibility, translates compute config, environment settings, Spark confs, and even rewrites incompatible code, presenting all changes as side-by-side diffs for review before applying. Available through the /compute migrate command in Genie, it supports individual jobs and notebooks today, with bulk migration via the Databricks CLI and upcoming sandbox validation for runtime correctness checks.
How Zillow runs 100 million daily notifications on AWS Step Functions
Zillow sends over 100 million daily notifications using a centralized, configuration-driven orchestration layer called Campaign Orchestrator. It runs each notification as a short-lived workflow on AWS Step Functions Express Workflows, chosen for being serverless and lower cost than alternatives. A router applies campaign controls like queue polling, batching, and circuit breakers before starting each workflow. The workflows call reusable, schema-driven content modules from the Universal Content Generator library, with JSONata expressions validated via the TestState API. The new architecture cut build effort from 32 to 9 weeks and lowered ongoing maintenance from 8 to 2 hours per week.
Lakebase Postgres is now generally available on Google Cloud
Lakebase Postgres is now generally available on Google Cloud, giving Databricks users a fully managed, serverless Postgres option for production and agentic workloads. Its architecture separates compute from storage and shares the same storage layer as analytical data, which removes pipeline maintenance and data duplication. The service offers serverless autoscaling with scale to zero, instant zero-copy branching, point-in-time recovery, standard Postgres tooling, pgvector-compatible search, and governance through Unity Catalog. On Google Cloud it provides multi-zone high availability with automatic failover and a 99.99% SLA, single-zone endpoints with a 99.9% SLA, beta private connectivity through Private Service Connect, and Databricks OAuth or native Postgres credentials. Lakebase Search is described as delivering twice the throughput of pgvector at four times lower cost, while direct writes can load 1TB in under five minutes; GA regions include asia-southeast1, europe-west3, us-central1, us-east4, and us-west1.
Smarter cost controls for serverless
Databricks is extending cost control functionality to serverless compute for notebooks, jobs, and pipelines, matching the controls already available for serverless SQL and Model Serving. The new controls operate at the workload and user layer rather than the infrastructure layer, with three capabilities: attribute costs through tags on serverless compute objects, control access via entitlements on default interactive and automated compute objects, and limit spend with per-compute rate limits expressed as t-shirt sizes S, M, L, XL. Serverless Compute Access Controls are generally available, rate limits are in beta, and serverless compute tags are in beta. Monitoring via system tables and budget alerts is generally available, letting teams track consumption within hours. The full set of controls moves cost governance from machine-level caps to people- and workload-level policies, addressing runaway spend, wrong hands, and lack of accountability.
Supabase Compute: run your agents inside your project
Supabase launched Compute in private alpha in us-west-2, letting developers run AI agents, durable jobs, WebSocket services, and APIs directly inside their project, next to their data with shared secrets and logs. Compute overcomes Edge Function limitations by supporting tasks requiring more memory, CPU, over 400 seconds runtime, or any language—each service gets a full Linux environment and can use Node, Deno, or any Dockerfile. Services are configured as public or private, sized at 2 GB/1 vCPU or 4 GB/2 vCPUs, and deployed via the Supabase CLI v2.120.0+ or the Management API alpha endpoints. Early user Dreambase reduced median Postgres query latency from 65 ms to 2.9 ms by moving their data agent onto Compute. The private alpha is for evaluation only in us-west-2, may change or end, and offers no autoscaling, GPU, or persistent disk; services can restart, so long-running work must be saved to Postgres.
AI Runtime is Generally Available
Databricks announced the General Availability of AI Runtime (AIR), a fully managed GPU infrastructure platform integrated directly into the Databricks Lakehouse. AIR provides serverless, on-demand access to advanced GPUs with RDMA-enabled networking, environment caching, and seconds-level launch latency. It includes built-in debugging via MLflow and Genie Code, which analyzes training logs to identify issues. Security features include Unity Catalog governance across all GPU workloads, VM-level isolation, PrivateLink, and serverless egress controls. Early adopters report a 3.5x speedup training a model with H100 GPUs and reduced time from days to hours for deploying custom models.
Serverless routing made sticky
Modal launched Sticky Sessions, a serverless routing feature that guarantees all requests in a session reach the same container, solving the problem of stateful workloads that require continuity between requests. Use cases include speech-to-text models with decoder state, voice agents holding conversations, and multiplayer games where players must reconnect to the same container. Sticky Sessions build on Modal’s in-house stateless proxy (fprs) and use a signed session token returned by sessions.start() to encode routing metadata, avoiding the need for proxy state and enabling fixed routing without persistent mapping. Load balancing probes containers for concurrency snapshots and combines them with recent routing decisions to distribute sessions evenly, while autoscaling monitors active session counts and queued demand to size the compute fleet appropriately. The feature enables low-latency voice agents via WebRTC signaling, shared chat rooms where clients share a session token, and gaming applications that preserve in-memory state across player reconnections.
Introducing Private Network Gateway
Databricks announced Private Network Gateway (PNG) in public preview on Azure and private preview on AWS, addressing the networking friction that prevented teams from moving workloads to serverless compute. PNG provides a single managed gateway from serverless compute into a customer’s virtual network, eliminating the need for per-resource private endpoints, load balancers, and proxy VMs. Customers configure the gateway via a Network Connectivity Configuration (NCC) and delegate one subnet, with Databricks managing the gateway infrastructure while customers retain control over routing and security. PNG supports use cases such as ingesting from private databases via Lakeflow Connect, connecting AI agents to private MCP servers, using private package repositories, and routing egress through customer firewalls. The gateway offers two traffic modes for precise control or broad egress inspection and works alongside existing private connectivity without disruption.
Modal crosses $1B in Annualized Run Rate and raises $750M Series D
Modal crossed $1B in annualized run rate and raised $750M in Series D funding at a $15.75B post-money valuation, led by Accel. Usage has tripled since the Series C five months ago, with year-over-year growth exceeding 15x, and the company now powers applications from companies including DoorDash, Cognition, and Runway. To avoid the friction of the old stack, Modal built its own file system, container runtime, scheduler, and networking from scratch on a capacity pool spanning over 20 clouds. Sandboxes, launched in 2023 for running LLM-generated code, now represent a $300M run rate product with nearly 3 billion sandboxes spun up and scaling to a million concurrent. New products include multi-node training with a single decorator giving a fully RDMA-connected cluster, Modal servers for HTTP serving, Endpoint Candidates for LLM serving, and generally available virtual machines.
Under the hood, off the hot path: How D1 scales to millions of databases
D1, Cloudflare’s serverless SQLite database, has seen 15x growth in live databases over the past year and scales by keeping query execution on the edge in Durable Objects, separate from the control plane’s metadata operations. The control plane uses an Edge API Worker with Hyperdrive to access Postgres clusters for transactional metadata, while Workers KV caches database-to-Durable-Object mappings for fast edge lookups. Database creation completes in about 1.6 seconds by generating a Durable Object ID, persisting metadata to Postgres, and storing the mapping in Workers KV, with the Durable Object lazily initialized on first query. Storage usage enforcement uses atomic counters in Workers KV that are checked locally on each query and updated asynchronously after execution, avoiding any central database round trip during the query. Precomputed aggregations for billing are stored in ClickHouse, and guiding principles such as eventual consistency and idempotency further reduce reliance on centralized components.
Introducing on-demand CPU and memory profiling with flamegraphs for Workers and Durable Objects
Cloudflare introduced on-demand CPU and memory profiling for Workers and Durable Objects, accessible via the CLI or the Dashboard’s Observability page. Users can generate interactive flamegraphs and download pprof files, with each rectangle’s width representing CPU time or memory usage over a chosen duration. Profiling the R2 binding Worker revealed that genericR2JsonReplacer, called by JSON.stringify, processed nested values multiple times; fixing it made the function 2.7x faster. A different Worker with P999 memory at 133 MB (above the 128 MB limit) was found to have a partially enabled Prometheus code path accounting for 66.7% of allocations; disabling it reduced P999 memory to 118 MB and eliminated out-of-memory errors. The profiling system locates the correct data center and isolate for the Worker or Durable Object, and continuous profiling is being developed to automatically capture samples without manual initiation.
Set Budgets and Alerts for Cloud Data Warehouse Costs
Reactive cost management for cloud data warehouses fails because usage is unattributed, budgets are absent, and alerts arrive too late. Databricks’ proactive framework addresses this through five pillars: cost attribution via warehouse and query tags, layered budgets with email alerts, real-time dashboards, and optimizations. SQL Serverless warehouses eliminate idle compute costs, as Lumen Technologies demonstrated with a 30-40% reduction. Query tags (Public Preview) enable per-query attribution, linking spend to specific dashboards or dbt models. The post provides step-by-step instructions for tagging, budget creation in the Account Console, and tuning auto-stop and statement timeouts to reduce waste.
TypeSafe AI scales Jev to trillions of tokens in three days on Modal
TypeSafe AI’s Jev is a System One Model that outputs structured decisions with probabilities rather than generating text, taking state and questions as input and returning typed values. It uses a custom architecture, a parallel sampler for maximum efficiency, and a training method called Reinforcement Learning for Calibrated Decisions (RLCD). Unlike autoregressive LLMs, Jev produces outputs in parallel, enabling low-latency responses suitable for workloads like large-scale automation, fast browser use, and generative user interfaces. Launched on a Thursday, Jev topped OpenRouter’s leaderboard for contexts between 1K and 10K tokens one week later, handling 15.1% of requests on that platform. To meet demand exceeding one trillion tokens in three days, TypeSafe used Modal’s serverless platform for bursty, high-concurrency inference without managing their own infrastructure, gaining control over networking, routing, and autoscaling needed for ultra-low-latency serving.
Building for good: How civil society organizations are automating on Cloudflare
Cloudflare awarded $7.5 million in credits to 30 civil society organizations to build automation tools using Workers AI and AI Gateway on its global network. LebTown replaced manual editorial workflows with a custom management system, and Kaya Guides built a WhatsApp mental health app processing 500,000 messages monthly with real-time counselor feedback. Larger groups like Freedom House and Article One received volunteer engineering support to build tools for tracking transnational repression and assessing human rights risks from factory audits. Cloudflare’s developer services include automatic DDoS protection and data minimization, addressing privacy and cost barriers that have limited AI adoption in the sector. The program is now open for a second cohort of non-profit organizations to apply for up to $250,000 in credits.
Announcing Cloudflare K2: serverless event streams
Cloudflare launched K2, a serverless event streaming service in public beta, to decouple producers and consumers in distributed systems. K2 stores events as an ordered log, allowing independent consumers to read at their own pace without losing data. Under the hood, it builds a partitioned durable log on top of R2 object storage, using atomic operations for ordering. Produce latency at the 99th percentile is about 1 second due to batching writes to R2 segments. K2 is available now for Workers Paid accounts with a 10GB storage limit and 30 MB/s produce per stream, with no billing during beta.
Introducing Cloudflare Basin: an open, serverless data platform, now generally available
Cloudflare announced the general availability of Basin, a serverless data analytics platform built on Apache Iceberg and R2 Object Storage. Basin consists of three integrated products: Pipelines for ingesting and transforming events via SQL, Catalog for managing Iceberg metadata and automatic table maintenance, and SQL for distributed querying. The platform emphasizes speed with instant resource creation and query execution, scalability through metadata compaction and statistics-driven query planning, and openness by supporting any Iceberg-compatible engine like DuckDB and Snowflake. Basin offers cost efficiency with zero egress fees and usage-based pricing, charging only when data is ingested, processed, or queried. Early adopters have used Basin for use cases including real-time e-commerce optimization, billing metrics storage, and infrastructure telemetry analysis.
Modal Clusters are generally available
Modal announced general availability of Modal Clusters, a serverless multi-node compute primitive for AI workloads that provides up to 6.4 Tbps InfiniBand RDMA per node with PyTorch and NCCL support. A new gang scheduler places N nodes simultaneously by observing the fleet, assigning all pending clusters, and provisioning capacity when needed. RDMA support is fully automated behind a single rdma=True flag, with Modal contributing RDMA support to the gVisor container runtime and upstreaming the changes. Customers like Decagon, 1x, and Runway use Clusters for trillion-parameter fine-tuning, pre-training home robot world models, and multi-node video inference respectively. Clusters are available to all workspaces today through the @modal.clustered decorator, with per-second billing and no reservation required.
VM Sandboxes: Full computers for agents
Modal has launched VM Sandboxes in general availability, providing agents with full Linux VMs accessible via a single flag. The VMs support Docker stacks, local databases, dev servers, and other real-machine features that agents increasingly require, as demonstrated by Ramp’s internal agent driving the entire software development lifecycle. Modal built a custom runtime on the Rust-based Cloud Hypervisor, layering innovations in host filesystems, lazy image loading, memory bursting, and snapshotting to preserve the same APIs and sub-second cold starts as their existing gVisor Sandboxes. Early customers like Linear, Legora, and Snorkel have launched over 20 million VMs, using them for coding sessions, legal agent evaluations, and agent simulations that require multiple containers and real-world environments. Modal recommends using VM Sandboxes when workloads need Docker, FUSE filesystems, or niche kernel features, while gVisor remains the default for compatible workloads.
A practical guide to cost optimization with Lakebase Postgres
Lakebase uses separated storage and compute to reduce costs: branches share storage, autoscaling matches compute to demand, and scale to zero suspends compute after inactivity. Read replicas and high availability add compute without duplicating storage. For synced tables from Lakehouse, sync only the active working set via materialized views and choose the appropriate sync mode—snapshot for volatile data, triggered for incremental, continuous for real-time—and binpack tables into one pipeline to share compute. Right-size initial compute by focusing on the working set, and set PITR retention and snapshot schedules based on actual recovery needs. Snapshot storage is priced at $0.090/GB-month and PITR storage at $0.200/GB-month, both cheaper than regular branch storage. Compute and storage usage can be tracked through system.billing.usage, with separate SKUs for compute, branch storage, PITR, and snapshots.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.