[{"data":1,"prerenderedAt":417},["ShallowReactive",2],{"practiceExams":3,"studies":184,"free-lesson-\u002Fcourses\u002Faws-certified-solutions-architect-professional\u002Flessons\u002Fpublish-subscribe-messaging-real-time-subscriber-delivery-sap-c03":185},[4,22,36,48,60,72,84,97,109,120,130,141,154,163,175],{"id":5,"slug":6,"description":7,"questionCount":8,"isActive":9,"datePublicModified":10,"difficulty":11,"examVersion":18},22,"aws-certified-solutions-architect-professional-sap-c03","Prepare for the AWS Certified Solutions Architect - Professional (SAP-C03) exam with realistic practice questions on architecture, security, cost, resilience and automation, with detailed explanations.",767,true,"2026-11-15T00:00:00.000Z",{"providerId":12,"title":13,"subtitle":14,"slug":15,"coverImageUrl":16,"level":17},1,"AWS Certified Solutions Architect - Professional","SAP-C02","aws-certified-solutions-architect-professional","\u002Fimages\u002Fdifficulties\u002Faws-certified-solutions-architect-professionalsap-c02\u002Fcovers\u002Faws-SAP-C02.png","advanced",{"slug":6,"code":19,"dateBetaStart":20,"dateReleased":21,"pageSlug":15},"SAP-C03",null,"2026-11-17",{"id":23,"slug":24,"description":25,"questionCount":26,"isActive":9,"datePublicModified":27,"difficulty":28,"examVersion":34},5,"aws-certified-cloud-practitioner-clf-c02","Master your AWS Certified Cloud Practitioner exam with our Practice Exam Simulator. Prepare effectively and assess your readiness with realistic practice exams designed to mirror the most popular official AWS exam.",937,"2026-10-30T00:00:00.000Z",{"providerId":12,"title":29,"subtitle":30,"slug":31,"coverImageUrl":32,"level":33},"AWS Certified Cloud Practitioner","CLF-C02","aws-certified-cloud-practitioner","\u002Fimages\u002Fdifficulties\u002Faws-certified-cloud-practitionerclf-c02\u002Fcovers\u002Faws-CLF-C02.png","foundational",{"slug":24,"code":30,"dateBetaStart":20,"dateReleased":35,"pageSlug":31},"2023-09-19",{"id":37,"slug":38,"description":39,"questionCount":40,"isActive":9,"datePublicModified":27,"difficulty":41,"examVersion":46},8,"aws-certified-devops-engineer-professional-dop-c02","Boost your readiness for the AWS Certified DevOps Engineer - Professional (DOP-C02) exam with our practice exam simulator. Featuring realistic questions and detailed explanations, it helps you identify knowledge gaps and improve your skills.",1040,{"providerId":12,"title":42,"subtitle":43,"slug":44,"coverImageUrl":45,"level":17},"AWS Certified DevOps Engineer - Professional","DOP-C02","aws-certified-devops-engineer-professional","",{"slug":38,"code":43,"dateBetaStart":20,"dateReleased":47,"pageSlug":44},"2023-03-07",{"id":49,"slug":50,"description":51,"questionCount":52,"isActive":9,"datePublicModified":27,"difficulty":53,"examVersion":57},11,"aws-certified-ai-practitioner-aif-c01","Prepare for the AWS Certified AI Practitioner exam with our practice exam simulator. Realistic questions on AI, machine learning and generative AI fundamentals, with detailed explanations, help you find your knowledge gaps and assess your readiness.",928,{"providerId":12,"title":54,"subtitle":55,"slug":56,"coverImageUrl":45,"level":33},"AWS Certified AI Practitioner","AIF-C01","aws-certified-ai-practitioner",{"slug":50,"code":55,"dateBetaStart":58,"dateReleased":59,"pageSlug":56},"2024-08-13","2024-10-22",{"id":12,"slug":61,"description":62,"questionCount":63,"isActive":9,"datePublicModified":27,"difficulty":64,"examVersion":70},"aws-certified-solutions-architect-associate-saa-c03","Unlock your potential with the AWS Certified Solutions Architect - Associate Practice Exam Simulator. This comprehensive tool is designed to prepare you thoroughly and assess your readiness for the most sought-after AWS associate certification.",1203,{"providerId":12,"title":65,"subtitle":66,"slug":67,"coverImageUrl":68,"level":69},"AWS Certified Solutions Architect - Associate","SAA-C03","aws-certified-solutions-architect-associate","\u002Fimages\u002Fdifficulties\u002Faws-certified-solutions-architect-associatesaa-c03\u002Fcovers\u002Faws-SAA-C03.png","associate",{"slug":61,"code":66,"dateBetaStart":20,"dateReleased":71,"pageSlug":67},"2022-08-30",{"id":73,"slug":74,"description":75,"questionCount":76,"isActive":9,"datePublicModified":27,"difficulty":77,"examVersion":81},9,"aws-certified-data-engineer-associate-dea-c01","Prepare for your AWS Certified Data Engineer - Associate exam with our practice exam simulator. Featuring real exam scenarios, detailed explanations, and instant feedback to boost your confidence and success rate.",891,{"providerId":12,"title":78,"subtitle":79,"slug":80,"coverImageUrl":45,"level":69},"AWS Certified Data Engineer - Associate","DEA-C01","aws-certified-data-engineer-associate",{"slug":74,"code":79,"dateBetaStart":82,"dateReleased":83,"pageSlug":80},"2023-11-27","2024-03-12",{"id":85,"slug":86,"description":87,"questionCount":88,"isActive":9,"datePublicModified":89,"difficulty":90,"examVersion":94},17,"aws-certified-generative-ai-developer-professional-aip-c01","Get ready for the AWS Certified Generative AI Developer - Professional exam with our practice exam simulator. Realistic scenario-based questions with detailed explanations help you assess your readiness to build generative AI solutions on AWS.",982,"2026-10-29T00:00:00.000Z",{"providerId":12,"title":91,"subtitle":92,"slug":93,"coverImageUrl":45,"level":17},"AWS Certified Generative AI Developer - Professional","AIP-C01","aws-certified-generative-ai-developer-professional",{"slug":86,"code":92,"dateBetaStart":95,"dateReleased":96,"pageSlug":93},"2025-11-28","2026-03-17",{"id":98,"slug":99,"description":100,"questionCount":101,"isActive":9,"datePublicModified":89,"difficulty":102,"examVersion":107},13,"aws-certified-security-specialty-scs-c03","Advance your career in cloud security with the AWS Certified Security - Specialty (SCS-C03) Exam Simulator. Realistic, scenario-based practice exams mirror the official exam, with detailed explanations to close your knowledge gaps.",864,{"providerId":12,"title":103,"subtitle":104,"slug":105,"coverImageUrl":106,"level":17},"AWS Certified Security - Specialty","SCS-C03","aws-certified-security-specialty","\u002Fimages\u002Fdifficulties\u002Faws-certified-security-specialtyscs-c02\u002Fcovers\u002Faws_SCS_c02.png",{"slug":99,"code":104,"dateBetaStart":20,"dateReleased":108,"pageSlug":105},"2025-12-01",{"id":110,"slug":111,"description":112,"questionCount":113,"isActive":9,"datePublicModified":89,"difficulty":114,"examVersion":118},19,"aws-certified-machine-learning-engineer-associate-mla-c02","Prepare for the AWS Certified Machine Learning Engineer - Associate exam with our practice exam simulator. Realistic questions with detailed explanations help you find your knowledge gaps and assess your readiness to build and run ML workloads on AWS.",861,{"providerId":12,"title":115,"subtitle":116,"slug":117,"coverImageUrl":45,"level":69},"AWS Certified Machine Learning Engineer - Associate","MLA-C02","aws-certified-machine-learning-engineer-associate",{"slug":111,"code":116,"dateBetaStart":119,"dateReleased":20,"pageSlug":117},"2026-09-29",{"id":121,"slug":122,"description":123,"questionCount":124,"isActive":9,"datePublicModified":89,"difficulty":125,"examVersion":129},15,"aws-certified-ai-business-strategist-aib-c01","Prepare for the AWS Certified AI Business Strategist exam with our practice exam simulator. Realistic, scenario-based questions with detailed explanations help you assess your readiness to lead AI adoption on AWS and close your knowledge gaps.",848,{"providerId":12,"title":126,"subtitle":127,"slug":128,"coverImageUrl":45,"level":33},"AWS Certified AI Business Strategist","AIB-C01","aws-certified-ai-business-strategist",{"slug":122,"code":127,"dateBetaStart":119,"dateReleased":20,"pageSlug":128},{"id":131,"slug":132,"description":133,"questionCount":134,"isActive":9,"datePublicModified":89,"difficulty":135,"examVersion":139},21,"aws-certified-cloudops-engineer-associate-soa-c03","Prepare for the AWS Certified CloudOps Engineer - Associate exam with our practice exam simulator. Realistic questions with detailed explanations help you assess your readiness to deploy, operate and troubleshoot workloads on AWS.",862,{"providerId":12,"title":136,"subtitle":137,"slug":138,"coverImageUrl":45,"level":69},"AWS Certified CloudOps Engineer - Associate","SOA-C03","aws-certified-cloudops-engineer-associate",{"slug":132,"code":137,"dateBetaStart":20,"dateReleased":140,"pageSlug":138},"2025-09-30",{"id":142,"slug":143,"description":144,"questionCount":145,"isActive":9,"datePublicModified":146,"difficulty":147,"examVersion":151},10,"aws-certified-advanced-networking-specialty-ans-c01","The AWS Certified Advanced Networking - Specialty practice exam simulates the real test, offering scenario-based questions that assess your ability to design, implement, and troubleshoot complex AWS networking solutions. ",681,"2024-11-13T00:00:00.000Z",{"providerId":12,"title":148,"subtitle":149,"slug":150,"coverImageUrl":45,"level":17},"AWS Certified Advanced Networking - Specialty","ANS-C01","aws-certified-advanced-networking-specialty",{"slug":143,"code":149,"dateBetaStart":152,"dateReleased":153,"pageSlug":150},"2022-01-01","2022-07-12",{"id":155,"slug":156,"description":157,"questionCount":158,"isActive":9,"datePublicModified":159,"difficulty":160,"examVersion":161},6,"aws-certified-solutions-architect-professional-sap-c02","Elevate your career with the AWS Certified Solutions Architect - Professional Exam Simulator. Get ready to ace the most popular Professional AWS exam with our realistic practice exams. Assess your readiness, boost your confidence, and ensure your success.",789,"2024-06-06T00:00:00.000Z",{"providerId":12,"title":13,"subtitle":14,"slug":15,"coverImageUrl":16,"level":17},{"slug":156,"code":14,"dateBetaStart":20,"dateReleased":162,"pageSlug":20},"2022-11-15",{"id":164,"slug":165,"description":166,"questionCount":167,"isActive":9,"datePublicModified":159,"difficulty":168,"examVersion":173},4,"aws-certified-developer-associate-dva-c02","Unlock your potential as a software developer with the AWS Certified Developer - Associate Exam Simulator! Prepare thoroughly with realistic practice exams designed to mirror the official exam.",399,{"providerId":12,"title":169,"subtitle":170,"slug":171,"coverImageUrl":172,"level":69},"AWS Certified Developer - Associate","DVA-C02","aws-certified-developer-associate","\u002Fimages\u002Fdifficulties\u002Faws-certified-developer-associatedva-c02\u002Fcovers\u002Faws-DVA-C02.png",{"slug":165,"code":170,"dateBetaStart":20,"dateReleased":174,"pageSlug":171},"2023-02-28",{"id":176,"slug":177,"description":178,"questionCount":179,"isActive":9,"datePublicModified":159,"difficulty":180,"examVersion":181},7,"aws-certified-security-specialty-scs-c02","Advance your career in cloud cybersecurity with the AWS Certified Security - Specialty Exam Simulator! Tailored for professionals, this tool offers realistic practice exams to mirror the official exam.",5431,{"providerId":12,"title":103,"subtitle":104,"slug":105,"coverImageUrl":106,"level":17},{"slug":177,"code":182,"dateBetaStart":20,"dateReleased":183,"pageSlug":20},"SCS-C02","2023-07-11",[],{"slug":186,"title":187,"focus":188,"level":17,"components":189,"diagrams":241,"steps":275,"dateModified":412,"course":413,"nextLesson":414},"publish-subscribe-messaging-real-time-subscriber-delivery-sap-c03","Publish-Subscribe Messaging: real-time subscriber delivery","How subscription-aware fan-out routes events to real-time clients while isolating slow or disconnected subscribers.",[190,196,200,204,208,212,216,220,224,228,233,237],{"key":191,"kind":192,"name":193,"icon":194,"provider":195},"amazon-api-gateway","service","Amazon API Gateway","\u002Fimages\u002Fprovider-services\u002Famazon-api-gateway\u002Fcovers\u002FArch_Amazon-API-Gateway_64.png","AWS",{"key":197,"kind":192,"name":198,"icon":199,"provider":195},"amazon-cloudfront","Amazon CloudFront","\u002Fimages\u002Fprovider-services\u002Famazon-cloudfront\u002Fcovers\u002FArch_Amazon-CloudFront_64.png",{"key":201,"kind":192,"name":202,"icon":203,"provider":195},"amazon-elastic-container-service-(amazon-ecs)","Amazon Elastic Container Service (Amazon ECS)","\u002Fimages\u002Fprovider-services\u002Famazon-elastic-container-service-(amazon-ecs)\u002Fcovers\u002FArch_Amazon-Elastic-Container-Service_64.png",{"key":205,"kind":192,"name":206,"icon":207,"provider":195},"amazon-eventbridge","Amazon EventBridge","\u002Fimages\u002Fprovider-services\u002Famazon-eventbridge\u002Fcovers\u002FArch_Amazon-EventBridge_64.png",{"key":209,"kind":192,"name":210,"icon":211,"provider":195},"amazon-kinesis-data-streams","Amazon Kinesis Data Streams","\u002Fimages\u002Fprovider-services\u002Famazon-kinesis-data-streams\u002Fcovers\u002FArch_Amazon-Kinesis-Data-Streams_64.png",{"key":213,"kind":192,"name":214,"icon":215,"provider":195},"amazon-simple-notification-service-(amazon-sns)","Amazon Simple Notification Service (Amazon SNS)","\u002Fimages\u002Fprovider-services\u002Famazon-simple-notification-service-(amazon-sns)\u002Fcovers\u002FArch_Amazon-Simple-Notification-Service_64.png",{"key":217,"kind":192,"name":218,"icon":219,"provider":195},"amazon-simple-queue-service-(amazon-sqs)","Amazon Simple Queue Service (Amazon SQS)","\u002Fimages\u002Fprovider-services\u002Famazon-simple-queue-service-(amazon-sqs)\u002Fcovers\u002FArch_Amazon-Simple-Queue-Service_64.png",{"key":221,"kind":192,"name":222,"icon":223,"provider":195},"aws-lambda","AWS Lambda","\u002Fimages\u002Fprovider-services\u002Faws-lambda\u002Fcovers\u002FArch_AWS-Lambda_64.png",{"key":225,"kind":192,"name":226,"icon":227,"provider":195},"elastic-load-balancing-(elb)","Elastic Load Balancing (ELB)","\u002Fimages\u002Fprovider-services\u002Felastic-load-balancing-(elb)\u002Fcovers\u002FArch_Elastic-Load-Balancing_64.png",{"key":229,"kind":230,"name":231,"icon":232,"provider":195},"amazon-dynamodb-table","part","Amazon DynamoDB table","\u002Fimages\u002Fprovider-services\u002Famazon-dynamodb\u002Fcovers\u002FRes_Amazon-DynamoDB_Table_48.png",{"key":234,"kind":230,"name":235,"icon":236,"provider":195},"amazon-s3-bucket","Amazon S3 bucket","\u002Fimages\u002Fprovider-services\u002Famazon-s3\u002Fcovers\u002FRes_Amazon-Simple-Storage-Service_Bucket_48.png",{"key":238,"kind":239,"name":240,"icon":20,"provider":20},"users","generic","Users",[242],{"key":243,"cards":244,"groups":263,"lines":264},"subscriber-delivery",[245,248,251,254,257,260],{"key":246,"component":201,"label":247},"router","Application subscription router",{"key":249,"component":229,"label":250},"memberships","Authorized topic-to-connection memberships",{"key":252,"component":217,"label":253},"queues","Separate standard queue per durable subscriber",{"key":255,"component":221,"label":256},"workers","Separate delivery function per subscriber",{"key":258,"component":191,"label":259},"gateway","WebSocket API and connection callbacks",{"key":261,"component":238,"label":262},"clients","Connected real-time subscribers",[],[265,267,269,271,273],{"from":246,"to":249,"label":266},"membership query",{"from":246,"to":252,"label":268},"matched delivery",{"from":252,"to":255,"label":270},"queued event",{"from":255,"to":258,"label":272},"connection callback",{"from":258,"to":261,"label":274},"WebSocket frame",[276,326,349,352,365,368,384,387,399],{"kind":277,"title":278,"body":279,"diagram":243,"walkthrough":280,"table":308},"explanation","Separate selection from delivery","\u003Cp>\u003Cstrong>Subscription-aware fan-out\u003C\u002Fstrong> first selects eligible recipients, then schedules an independent delivery for each. Here an application on Amazon ECS receives published events and queries a DynamoDB table for authorized topic-to-connection memberships. API Gateway supplies the WebSocket transport; it does not automatically maintain this application's topic subscriptions.\u003C\u002Fp>\u003Cp>The diagram shows a deliberately explicit design for a small, stable set of durable subscribers: each has a separate SQS standard queue and Lambda delivery function. Those two cards represent repeated resources, not one shared competing-consumer queue. Publisher ingress, subscription registration, acknowledgments, and database responses are outside the drawn delivery path.\u003C\u002Fp>\u003Cp>The selected services provide specific contracts. SQS supplies independently deleted work with visibility timeouts, DynamoDB supplies keyed membership records with conditional updates, and API Gateway supplies callbacks addressed by connection ID. The alternatives below do not supply those same contracts.\u003C\u002Fp>",[281,284,289,294,299,305],{"text":282,"cards":283},"The ECS application accepts an event carrying a tenant, topic, and event ID. Its router owns recipient selection rather than sending blindly to every connected session.",[246],{"text":285,"cards":286,"lines":287},"The router queries the DynamoDB membership table using the event's authorized tenant and topic scope. Returned records identify the eligible subscriber and current connection.",[249],[288],{"from":246,"to":249},{"text":290,"cards":291,"lines":292},"For each match, the router enqueues a delivery envelope containing the event ID and target connection. Each durable subscriber has its own queue, so one subscriber's backlog does not sit ahead of another's messages.",[252],[293],{"from":246,"to":252},{"text":295,"cards":296,"lines":297},"Lambda event source mappings poll the queues and invoke their respective delivery functions. Per-subscriber functions allow separate concurrency limits and failure handling.",[255],[298],{"from":252,"to":255},{"text":300,"cards":301,"lines":302},"Each worker calls the API Gateway Management API for the target connection ID. API Gateway sends a WebSocket frame to that connected subscriber.",[258,261],[303,304],{"from":255,"to":258},{"from":258,"to":261},{"text":306,"cards":307},"Membership selects recipients, separate queues hold their work, and independently controlled workers deliver through connection-specific WebSocket callbacks.",[],{"columns":309,"rows":313},[310,311,312],"Role","Selected contract","Not interchangeable",[314,318,322],[315,316,317],"Membership index","DynamoDB keyed, conditional updates","S3 objects; Kinesis stream records",[319,320,321],"Delivery buffer","SQS visibility and deletion","SNS push; EventBridge rule delivery",[323,324,325],"Connection transport","API Gateway connection-ID callbacks","ALB and CloudFront proxy connections",{"kind":327,"title":328,"exercise":329},"exercise","Restore the three delivery contracts",{"type":330,"diagram":243,"question":331,"hidden":332,"tray":333},"palette","Fill the three slots using the keyed membership, independently deleted work, and connection-ID callback contracts just described.",[249,252,258],[334,335,336,337,339,341,343,345,347],{"component":229},{"component":217},{"component":191},{"component":234,"reason":338},"S3 stores objects; it does not provide the membership table's keyed records with conditional item updates.",{"component":209,"reason":340},"Kinesis stores stream records, not a mutable membership index or independently deleted SQS work items.",{"component":213,"reason":342},"SNS pushes to subscriptions; it does not expose the worker-polled visibility-and-delete contract required here.",{"component":205,"reason":344},"EventBridge delivers through rules and targets; it does not provide the required worker-polled SQS queue contract.",{"component":225,"reason":346},"An Application Load Balancer can proxy WebSockets, but it does not provide API Gateway's connection-ID callback API.",{"component":197,"reason":348},"CloudFront can proxy WebSockets, but it does not provide API Gateway's connection-ID callback API.",{"kind":277,"title":350,"body":351},"Treat membership as authorized, changing state","\u003Cp>A WebSocket connection is not itself permission to subscribe. The subscription handler must \u003Cstrong>authorize the requested tenant and topic\u003C\u002Fstrong> before recording membership. Store both a stable subscriber identity and an ephemeral connection ID; reconnecting creates a new connection, even when the subscriber is the same.\u003C\u002Fp>\u003Cp>Use a topic-oriented key to find recipients without scanning all connections. A reverse connection index can support cleanup. Make subscription changes idempotent, and use a \u003Cstrong>connection generation\u003C\u002Fstrong> or equivalent conditional check so delayed cleanup for an old connection cannot erase its replacement.\u003C\u002Fp>\u003Cp>Membership lookup and network delivery are not one transaction. A selected connection can disappear before its callback. Treat a \u003Ccode>GoneException\u003C\u002Fcode> as a stale target and conditionally remove that membership; do not assume the disconnect notification or asynchronous TTL deletion already cleaned it up. The drawing omits these control-plane writes.\u003C\u002Fp>",{"kind":327,"title":353,"exercise":354},"Protect a replacement connection",{"type":355,"question":356,"text":357,"answers":358,"distractors":361},"placeholder","Fill in the two membership safeguards.","Before storing membership, {} the requested tenant and topic. When removing a stale connection, check its {} so delayed cleanup cannot delete a replacement.",[359,360],"authorize","connection generation",[362,363,364],"broadcast to","queue depth","event payload size",{"kind":277,"title":366,"body":367},"Isolate backlog, retries, and capacity","\u003Cp>A \u003Cstrong>separate backlog\u003C\u002Fstrong> prevents head-of-line blocking between subscribers. A single SQS queue with competing workers does not create one independent copy per subscriber. Here the router creates those copies explicitly, and each subscriber's queue can accumulate or expire work without becoming another subscriber's backlog.\u003C\u002Fp>\u003Cp>Bound each delivery function's concurrency and retry effort. Use visibility timeouts, partial batch failure reporting where appropriate, and a dead-letter policy so a repeatedly failing delivery does not cycle indefinitely. Retry transient failures with backoff; discard or divert stale connection targets rather than retrying them forever. \u003Cstrong>Resource isolation is not unlimited capacity\u003C\u002Fstrong>: functions still share account and downstream service limits.\u003C\u002Fp>\u003Cp>A queue and function per subscriber carry operational overhead and suit only some subscriber populations. Large, rapidly changing client populations usually need a multiplexed delivery tier with bounded per-connection mailboxes, fair scheduling, and explicit overflow behavior. In either design, cap backlog age and size; coalesce replaceable state updates or require resynchronization instead of allowing unbounded lag.\u003C\u002Fp>",{"kind":327,"title":369,"exercise":370},"Restore the independent backlog",{"type":371,"diagram":243,"requirement":372,"change":373,"tray":374,"hint":382,"explanation":383},"flaw","Each subscriber needs a worker-polled backlog whose messages can become temporarily invisible and then be deleted after successful handling. Restore the component that provides this contract.",{"card":252,"component":213},[375,376,378,380],{"component":217},{"component":213,"reason":377},"SNS push delivery does not provide the depicted worker-polled, independently deleted backlog.",{"component":205,"reason":379},"EventBridge target delivery does not provide the depicted queue visibility and deletion controls.",{"component":209,"reason":381},"A Kinesis consumer advances through a retained stream rather than deleting individual delivery work items.","Look for the service with message visibility timeouts and explicit deletion, not push delivery or stream offsets.","Separate SQS queues provide separate backlogs with visibility and deletion. Worker concurrency and retry bounds complete the isolation; buffering alone does not reserve unlimited downstream capacity.",{"kind":277,"title":385,"body":386},"Define what delivered actually means","\u003Cp>\u003Cstrong>Callback success is not an application acknowledgment.\u003C\u002Fstrong> API Gateway accepting a callback does not prove that the client applied the event. If that distinction matters, clients must acknowledge event IDs and the application must maintain pending-delivery or replay state outside the illustrated path. Deleting an SQS message after callback success otherwise commits only to a best-effort live push.\u003C\u002Fp>\u003Cp>Retries and standard SQS delivery can produce duplicates or reordering. Include an \u003Cstrong>event ID\u003C\u002Fstrong> for deduplication and, when needed, a sequence or version within a defined scope for gap detection. A disconnected subscriber needs an explicit recovery policy: replay from a retained log or fetch a current snapshot. Keeping an envelope addressed to an obsolete connection does not implement offline delivery.\u003C\u002Fp>\u003Cp>Reconstruct only the directed interactions shown: the router queries memberships and enqueues matched deliveries; queues feed workers; workers call the WebSocket callback API; that API sends frames to clients. Database responses, cleanup writes, client acknowledgments, and recovery are deliberately outside this diagram. Together, selection, bounded independent delivery, and a stated recovery policy define the actual guarantee.\u003C\u002Fp>",{"kind":327,"title":388,"exercise":389},"Rebuild the subscription-aware delivery path",{"type":390,"diagram":243,"question":391,"decoys":392},"build","Place and connect the illustrated components to select authorized recipients, isolate their delivery backlogs, and push to their current connections; label the directed interactions, leaving the stated control-plane and recovery paths outside the drawing.",[393,395,397],{"component":213,"reason":394},"SNS pushes to subscriptions; it cannot replace the depicted worker-polled queue with visibility timeouts and individual message deletion.",{"component":225,"reason":396},"An Application Load Balancer proxies WebSockets but cannot replace the connection-ID Management API used by these delivery workers.",{"component":209,"reason":398},"Kinesis retains stream records for offset-based consumption; it cannot replace this independently deleted per-subscriber work queue.",{"kind":277,"title":400,"body":401,"takeaways":402},"What to remember","\u003Cp>\u003Cstrong>Reliable real-time fan-out\u003C\u002Fstrong> requires authorized recipient selection, bounded independent delivery work, and an explicit boundary between live transport and recoverable application delivery.\u003C\u002Fp>",[403,406,409],{"title":404,"text":405},"Membership is changing state","Authorize topic membership and distinguish stable subscribers from ephemeral connections. Conditional cleanup must not erase a replacement connection.",{"title":407,"text":408},"Isolation needs bounds","Separate backlogs prevent subscriber head-of-line blocking; bounded concurrency, retries, and overflow policies keep that separation useful under load.",{"title":410,"text":411},"Transport is not completion","A successful callback does not prove client processing. Deduplication, acknowledgments, and reconnect recovery require explicit application mechanisms.","2026-11-16T06:51:23.980Z",{"pageSlug":15,"code":19,"certification":13,"certificationSlug":15},{"slug":415,"title":416},"fan-out-vs-publish-subscribe-messaging-sap-c03","Fan-Out vs Publish-Subscribe Messaging",1796130195701]