{"type":"post","id":"serverless-routing-made-sticky-analysis-5547c6","slug":"serverless-routing-made-sticky-analysis-5547c6","title":"Serverless routing made sticky","description":"**Thesis:** Sticky Sessions move serverless routing from independent requests toward session-scoped continuity, making session lifecycle and capacity the operational unit for stateful workloads.","retrieval_nugget":"**Thesis:** Sticky Sessions move serverless routing from independent requests toward session-scoped continuity, making session lifecycle and capacity the operational unit for stateful workloads.","published_at":"2026-10-21","updated_at":"2026-10-21","record_date":"2026-10-21","date_kind":"published_at","topics":["infrastructure"],"source_urls":["https://modal.com/blog/serverless-routing-made-sticky"],"schema_version":"newruntime-agent-readable-v0.2","stable_id":"post:serverless-routing-made-sticky-analysis-5547c6","status":"published","visuals":[],"editorial_provenance":{"schema_version":"newruntime-editorial-copy-v1","content_status":"source_grounded_final","final_copy_sha256":"sha256:a7af161c51951e3124ad2e36e4d5137265c4560dd73789445ad35ef114dc2cb4","reviewed_at":"2026-10-21T00:01:46.511Z","source_evidence_count":1,"verified_claim_count":2,"site_analysis_schema_version":"newruntime-site-analysis-v1","site_object_kind":"field_note","observed_fact_count":2,"implication_count":2,"watch_condition_count":1,"related_record_count":0},"analysis":{"schema_version":"newruntime-site-analysis-v1","object_kind":"field_note","thesis":"Sticky Sessions move serverless routing from independent requests toward session-scoped continuity, making session lifecycle and capacity the operational unit for stateful workloads.","observed_facts":[{"text":"Modal says every request in a session is routed to the same container and session tokens encode routing metadata validated by its proxies.","source_urls":["https://modal.com/blog/serverless-routing-made-sticky"]},{"text":"The post says autoscaling monitors active session counts and queued demand; containers can be configured for one or more concurrent sessions.","source_urls":["https://modal.com/blog/serverless-routing-made-sticky"]}],"mechanism":"Token-carried routing metadata identifies the session's container; the owning host tracks lifecycle, while load balancers use periodically probed concurrency snapshots and recent routing decisions.","why_now":"Modal identifies voice agents, streaming speech-to-text, stateful web UIs, and multiplayer games as workloads where reconnecting to a different process can lose continuity.","implications":["Builders gain a managed routing primitive for stateful interactive workloads, while session concurrency and queueing become explicit capacity concerns.","Session affinity alone does not establish durable application state or recovery after container loss."],"evidence_boundary":"The evidence is Modal’s product engineering post; it describes the design and intended use cases but provides no independent benchmark or reliability results.","watch_conditions":["Watch for published behavior under container replacement, session expiry, and overload, including whether active sessions recover or fail and how queue delays vary with session concurrency."],"related_records":[],"new_branch_reason":"No prior New Runtime record was supplied, so this release starts a distinct record about session-scoped serverless routing and its operational model."},"editor":{"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]},"routes":{"html":"https://newruntime.com/posts/serverless-routing-made-sticky-analysis-5547c6/","markdown":"https://newruntime.com/posts/serverless-routing-made-sticky-analysis-5547c6.md","json":"https://newruntime.com/posts/serverless-routing-made-sticky-analysis-5547c6.json"},"next_reads":[{"type":"topic","path":"/topics/infrastructure/","url":"https://newruntime.com/topics/infrastructure/","title":"Infrastructure","reason":"Explore the infrastructure topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/infrastructure.md","json_url":"https://newruntime.com/topics/infrastructure.json"},{"type":"collection","path":"/posts/","url":"https://newruntime.com/posts/","title":"Field Notes","reason":"Open the latest editorial analysis.","media_type":"text/html","json_url":"https://newruntime.com/posts.json"},{"type":"collection","path":"/source-ledger.json","url":"https://newruntime.com/source-ledger.json","title":"Source Ledger","reason":"Inspect the public source evidence graph.","media_type":"application/json"}]}
