# aws-sns

Amazon Simple Notification Service (Amazon SNS) is a fully managed web service for delivering messages from publishers to subscribers and enabling distributed applications to send real-time notifications.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Amazon Bedrock AgentCore harness adds Strands harness defaults, built-in tools, and lifecycle hooks

DevFeed: [Amazon Bedrock AgentCore harness adds Strands harness defaults, built-in tools, and lifecycle hooks](<https://devfeed.tech/articles/amazon-bedrock-agentcore-harness-adds-strands-harness-defaults-built-in-tools-and-lifecycle-hooks-144333.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/machine-learning/amazon-bedrock-agentcore-harness-adds-strands-harness-defaults-built-in-tools-and-lifecycle-hooks/>)

Author: Evandro Franco

Published: 2026-11-19T20:01:06Z

Content type: release

Language: en

Sources: [Artificial Intelligence](<https://devfeed.tech/sources/artificial-intelligence.md>)

Topics: [Amazon Bedrock AgentCore](<https://devfeed.tech/topics/amazon-bedrock-agentcore.md>), [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [hooks](<https://devfeed.tech/topics/hooks.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [AI Context Management](<https://devfeed.tech/topics/ai-context-management.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [task management](<https://devfeed.tech/topics/task-management.md>), [Amazon EventBridge](<https://devfeed.tech/topics/amazon-eventbridge.md>), [aws-sns](<https://devfeed.tech/topics/aws-sns.md>), [To-Do](<https://devfeed.tech/topics/todo.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agentcore](<https://devfeed.tech/tags/agentcore.md>), [amazon](<https://devfeed.tech/tags/amazon.md>), [amazon-bedrock](<https://devfeed.tech/tags/amazon-bedrock.md>), [amazon-bedrock-agentcore](<https://devfeed.tech/tags/amazon-bedrock-agentcore.md>), [announcements](<https://devfeed.tech/tags/announcements.md>), [automatic](<https://devfeed.tech/tags/automatic.md>), [bedrock](<https://devfeed.tech/tags/bedrock.md>), [bedrock-agentcore](<https://devfeed.tech/tags/bedrock-agentcore.md>), [built-in](<https://devfeed.tech/tags/built-in.md>), [caching](<https://devfeed.tech/tags/caching.md>), [context](<https://devfeed.tech/tags/context.md>), [context-management](<https://devfeed.tech/tags/context-management.md>), [harness](<https://devfeed.tech/tags/harness.md>), [hooks](<https://devfeed.tech/tags/hooks.md>), [lifecycle](<https://devfeed.tech/tags/lifecycle.md>), [model](<https://devfeed.tech/tags/model.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [proactive](<https://devfeed.tech/tags/proactive.md>), [strands-harness](<https://devfeed.tech/tags/strands-harness.md>), [tools](<https://devfeed.tech/tags/tools.md>)

### AI overview

Amazon Bedrock AgentCore harness now uses the open-source Strands harness and automatically provides managed defaults, including a recommended model, task-oriented system prompt, prompt caching for supported Anthropic models on Bedrock, context management, and tools for planning, delegation, web retrieval, and filesystem access. Explicit configuration takes precedence; applications that need a fixed capability boundary should specify allowed tools. Lifecycle hooks let Lambda functions synchronously allow or deny invocation or tool calls (denial skips the action and the agent can continue), while SNS and EventBridge hooks send nonblocking notifications. Hooks also cover subagent tool calls. Lambda failures default to deny unless configured otherwise. The service manages execution infrastructure, while customers retain control over models, instructions, tools, permissions, and lifecycle policies.

### Source excerpt

Amazon Bedrock AgentCore harness now runs on the open-source Strands harness, bringing a recommended model, task-oriented defaults, automatic prompt caching, proactive context management, and new built-in tools. It also adds lifecycle hooks so you can run deterministic allow or deny checks at defined points in the agent loop.

## Build a self-healing ETL pipeline with Amazon Bedrock AgentCore

DevFeed: [Build a self-healing ETL pipeline with Amazon Bedrock AgentCore](<https://devfeed.tech/articles/build-a-self-healing-etl-pipeline-with-amazon-bedrock-agentcore-133386.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/big-data/build-a-self-healing-etl-pipeline-with-amazon-bedrock-agentcore/>)

Author: Kevin Tinn

Published: 2026-11-13T19:08:10Z

Content type: tutorial

Language: en

Sources: [AWS Big Data Blog](<https://devfeed.tech/sources/aws-big-data-blog.md>)

Topics: [Amazon Bedrock AgentCore](<https://devfeed.tech/topics/amazon-bedrock-agentcore.md>), [etl](<https://devfeed.tech/topics/etl.md>), [AWS Glue](<https://devfeed.tech/topics/aws-glue.md>), [Amazon Bedrock Knowledge Bases](<https://devfeed.tech/topics/amazon-bedrock-knowledge-bases.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [data lake](<https://devfeed.tech/topics/data-lake.md>), [knowledge-engineering](<https://devfeed.tech/topics/knowledge-engineering.md>), [aws-sns](<https://devfeed.tech/topics/aws-sns.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [agentcore](<https://devfeed.tech/tags/agentcore.md>), [amazon](<https://devfeed.tech/tags/amazon.md>), [amazon-bedrock](<https://devfeed.tech/tags/amazon-bedrock.md>), [amazon-bedrock-agentcore](<https://devfeed.tech/tags/amazon-bedrock-agentcore.md>), [automatically](<https://devfeed.tech/tags/automatically.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-glue](<https://devfeed.tech/tags/aws-glue.md>), [bedrock](<https://devfeed.tech/tags/bedrock.md>), [bedrock-agentcore](<https://devfeed.tech/tags/bedrock-agentcore.md>), [build](<https://devfeed.tech/tags/build.md>), [can](<https://devfeed.tech/tags/can.md>), [data](<https://devfeed.tech/tags/data.md>), [data-lake](<https://devfeed.tech/tags/data-lake.md>), [domain](<https://devfeed.tech/tags/domain.md>), [errors](<https://devfeed.tech/tags/errors.md>), [etl](<https://devfeed.tech/tags/etl.md>), [etl-pipeline](<https://devfeed.tech/tags/etl-pipeline.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [self-healing](<https://devfeed.tech/tags/self-healing.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>), [with](<https://devfeed.tech/tags/with.md>)

### AI overview

The described AWS Glue pipeline routes records that fail schema validation to a four-agent system on Amazon Bedrock AgentCore. A correction agent queries a Bedrock Knowledge Base for domain guidance and looks up precomputed strategies in S3 Vectors in parallel, selecting the higher-confidence result. At the default 0.7 threshold, it applies qualifying corrections; otherwise, the orchestrator sends an SNS alert for human review. A persistence agent writes corrected records to both corrected and transformed data lake zones. The sample annotates records with the chosen strategy rather than changing field values; direct transformations require extending its correction function. With repository credentials configured, a remediation agent can analyze the source error and open a GitHub pull request; without them, that step is skipped. The post outlines AWS CDK deployment and sample-data workflow, and notes required AWS services, model access, Python 3.10+, and a container runtime for local testing.

### Source excerpt

Build a self-healing ETL pipeline on AWS Glue and Amazon Bedrock AgentCore that automatically corrects bad records using domain knowledge, writes the fixes back to the data lake, and can open pull requests to prevent the same errors from recurring.

## Bring AWS Security Hub CSPM findings into your Amazon CloudWatch on-call workflow

DevFeed: [Bring AWS Security Hub CSPM findings into your Amazon CloudWatch on-call workflow](<https://devfeed.tech/articles/bring-aws-security-hub-cspm-findings-into-your-amazon-cloudwatch-on-call-workflow-133648.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/mt/bring-aws-security-hub-cspm-findings-into-your-amazon-cloudwatch-on-call-workflow/>)

Author: Samir Behara

Published: 2026-11-13T16:18:57Z

Content type: tutorial

Language: en

Sources: [AWS Cloud Operations Blog](<https://devfeed.tech/sources/aws-cloud-operations-blog.md>)

Topics: [Amazon CloudWatch](<https://devfeed.tech/topics/amazon-cloudwatch.md>), [AWS Security Hub](<https://devfeed.tech/topics/aws-security-hub.md>), [Amazon GuardDuty](<https://devfeed.tech/topics/amazon-guardduty.md>), [alert triage](<https://devfeed.tech/topics/alert-triage.md>), [Amazon EventBridge](<https://devfeed.tech/topics/amazon-eventbridge.md>), [Amazon EC2](<https://devfeed.tech/topics/amazon-ec2.md>), [aws-sns](<https://devfeed.tech/topics/aws-sns.md>), [AWS Step Functions](<https://devfeed.tech/topics/aws-step-functions.md>), [aws inspector](<https://devfeed.tech/topics/aws-inspector.md>), [AWS CloudTrail](<https://devfeed.tech/topics/aws-cloudtrail.md>)

Tags: [alarm](<https://devfeed.tech/tags/alarm.md>), [amazon-cloudwatch](<https://devfeed.tech/tags/amazon-cloudwatch.md>), [amazon-cloudwatch-logs](<https://devfeed.tech/tags/amazon-cloudwatch-logs.md>), [amazon-ec2](<https://devfeed.tech/tags/amazon-ec2.md>), [amazon-eventbridge](<https://devfeed.tech/tags/amazon-eventbridge.md>), [amazon-guardduty](<https://devfeed.tech/tags/amazon-guardduty.md>), [amazon-inspector](<https://devfeed.tech/tags/amazon-inspector.md>), [amazon-s3](<https://devfeed.tech/tags/amazon-s3.md>), [amazon-sns](<https://devfeed.tech/tags/amazon-sns.md>), [aws-cloudformation](<https://devfeed.tech/tags/aws-cloudformation.md>), [aws-cloudwatch](<https://devfeed.tech/tags/aws-cloudwatch.md>), [aws-ec2](<https://devfeed.tech/tags/aws-ec2.md>), [aws-identity-and-access-management-iam](<https://devfeed.tech/tags/aws-identity-and-access-management-iam.md>), [aws-security-hub](<https://devfeed.tech/tags/aws-security-hub.md>), [cloudwatch](<https://devfeed.tech/tags/cloudwatch.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [cspm](<https://devfeed.tech/tags/cspm.md>), [on-call](<https://devfeed.tech/tags/on-call.md>), [production](<https://devfeed.tech/tags/production.md>), [security](<https://devfeed.tech/tags/security.md>)

### AI overview

AWS Security Hub CSPM findings can be ingested into CloudWatch Logs through a telemetry enablement rule, letting operations teams review security signals beside application telemetry. Metric filters can count active, new CRITICAL and HIGH findings for a specific resource; a composite alarm then fires when that finding alarm and the same resource's performance alarm are both active. A 60-minute finding-alarm window helps correlate findings that precede performance symptoms. CloudWatch Logs supports analysis, dashboards, and alarms, while EventBridge remains the path for push-based remediation; the two are complementary. The article recommends starting with a Logs Insights link in alarm descriptions, then adding security checks to triage or correlated escalation. Constraints include Standard log class for metric filters, same account and Region for composite alarms and child alarms, and extra work to run the composite centrally because EC2 vended CPU metrics are not centralized. The opening incident is illustrative, and sample configurations require review before production use.

### Source excerpt

At 2:47 AM, an on-call engineer gets paged: CPU on a production Amazon EC2 instance has been above 95% for five minutes. They open Amazon CloudWatch and run the usual triage, checking recent deployments, traffic spikes, memory, and disk I/O. Nothing lines up. They scale the instance; utilization climbs back within minutes. Thirty-two minutes later, [...]

## Allocate shared Amazon MSK costs to Kafka topics for cost visibility

DevFeed: [Allocate shared Amazon MSK costs to Kafka topics for cost visibility](<https://devfeed.tech/articles/allocate-shared-amazon-msk-costs-to-kafka-topics-for-cost-visibility-129557.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/big-data/allocate-shared-amazon-msk-costs-to-kafka-topics-for-cost-visibility/>)

Author: Durai Krishnan

Published: 2026-11-11T19:46:04Z

Content type: article

Language: en

Sources: [AWS Big Data Blog](<https://devfeed.tech/sources/aws-big-data-blog.md>)

Topics: [Amazon MSK](<https://devfeed.tech/topics/amazon-msk.md>), [cloud cost management](<https://devfeed.tech/topics/cloud-cost-management.md>), [Apache Kafka](<https://devfeed.tech/topics/apache-kafka.md>), [Amazon CloudWatch](<https://devfeed.tech/topics/amazon-cloudwatch.md>), [Amazon Managed Service for Prometheus](<https://devfeed.tech/topics/amazon-managed-service-for-prometheus.md>), [Amazon S3](<https://devfeed.tech/topics/amazon-s3.md>), [Prometheus](<https://devfeed.tech/topics/prometheus.md>), [Parquet files in Amazon S3](<https://devfeed.tech/topics/parquet-files-in-amazon-s3.md>), [Amazon EventBridge](<https://devfeed.tech/topics/amazon-eventbridge.md>), [aws-sns](<https://devfeed.tech/topics/aws-sns.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [amazon-athena](<https://devfeed.tech/tags/amazon-athena.md>), [amazon-cloudwatch](<https://devfeed.tech/tags/amazon-cloudwatch.md>), [amazon-eventbridge](<https://devfeed.tech/tags/amazon-eventbridge.md>), [amazon-managed-service-for-prometheus](<https://devfeed.tech/tags/amazon-managed-service-for-prometheus.md>), [amazon-managed-streaming-for-apache-kafka-amazon-msk](<https://devfeed.tech/tags/amazon-managed-streaming-for-apache-kafka-amazon-msk.md>), [amazon-msk](<https://devfeed.tech/tags/amazon-msk.md>), [amazon-s3](<https://devfeed.tech/tags/amazon-s3.md>), [amazon-simple-storage-service-amazon-s3](<https://devfeed.tech/tags/amazon-simple-storage-service-amazon-s3.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-cost-and-usage-report](<https://devfeed.tech/tags/aws-cost-and-usage-report.md>), [billing](<https://devfeed.tech/tags/billing.md>), [cloudwatch](<https://devfeed.tech/tags/cloudwatch.md>), [cluster](<https://devfeed.tech/tags/cluster.md>), [cost](<https://devfeed.tech/tags/cost.md>), [cost-and-usage-report](<https://devfeed.tech/tags/cost-and-usage-report.md>), [kafka](<https://devfeed.tech/tags/kafka.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [prometheus](<https://devfeed.tech/tags/prometheus.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>), [topic](<https://devfeed.tech/tags/topic.md>), [visibility](<https://devfeed.tech/tags/visibility.md>)

### AI overview

The pipeline estimates each Kafka topic's share of an Amazon MSK Provisioned cluster's daily cost by joining cluster-level CUR charges with per-topic ingress metrics, mapping cluster names to ARNs, then allocating cost in proportion to bytes in. A daily Lambda writes Parquet results to S3 for Athena and Quick Sight. Enhanced Monitoring publishes per-topic CloudWatch metrics with little setup, but metric charges grow with topic-broker pairs. Open Monitoring exposes broker metrics at no additional charge; a Fargate scraper sends them to Amazon Managed Service for Prometheus, whose ingestion costs grow with samples. Both options use the same allocation logic. Bytes in is only a proxy: it misses retention, replication, compression, and consumer fan-out. Idle topics receive no row, so active topics may absorb the full cost; if no topics report traffic, the function splits cost evenly across configured topics. CUR can lag up to 24 hours, and metrics exist only after they are enabled. The method applies to Provisioned clusters; Serverless is out of scope.

### Source excerpt

Amazon MSK bills at the cluster level, with no per-topic breakdown. This post shows how to allocate shared MSK cluster costs to individual Kafka topics by combining AWS Cost and Usage Report billing with per-topic CloudWatch or Prometheus metrics, giving each team a usage-based view of its spend.

## Automating Oracle Data Guard switchover and failover on Amazon EC2

DevFeed: [Automating Oracle Data Guard switchover and failover on Amazon EC2](<https://devfeed.tech/articles/automating-oracle-data-guard-switchover-and-failover-on-amazon-ec2-129580.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/database/automating-oracle-data-guard-switchover-and-failover-on-amazon-ec2/>)

Author: Sai Krishna Namburu

Published: 2026-11-11T17:50:50Z

Content type: article

Language: en

Sources: [AWS Database Blog](<https://devfeed.tech/sources/aws-database-blog.md>)

Topics: [AWS Step Functions](<https://devfeed.tech/topics/aws-step-functions.md>), [Disaster Recovery](<https://devfeed.tech/topics/disaster-recovery.md>), [Oracle Database](<https://devfeed.tech/topics/oracle-database.md>), [Amazon EC2](<https://devfeed.tech/topics/amazon-ec2.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [aws-sns](<https://devfeed.tech/topics/aws-sns.md>), [Amazon DynamoDB](<https://devfeed.tech/topics/amazon-dynamodb.md>), [Amazon CloudWatch](<https://devfeed.tech/topics/amazon-cloudwatch.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [amazon-cloudwatch](<https://devfeed.tech/tags/amazon-cloudwatch.md>), [amazon-dynamodb](<https://devfeed.tech/tags/amazon-dynamodb.md>), [amazon-ec2](<https://devfeed.tech/tags/amazon-ec2.md>), [amazon-elastic-compute-cloud-amazon-ec2](<https://devfeed.tech/tags/amazon-elastic-compute-cloud-amazon-ec2.md>), [amazon-eventbridge](<https://devfeed.tech/tags/amazon-eventbridge.md>), [amazon-sns](<https://devfeed.tech/tags/amazon-sns.md>), [automate](<https://devfeed.tech/tags/automate.md>), [availability](<https://devfeed.tech/tags/availability.md>), [aws-cloudformation](<https://devfeed.tech/tags/aws-cloudformation.md>), [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [aws-secrets-manager](<https://devfeed.tech/tags/aws-secrets-manager.md>), [aws-step-functions](<https://devfeed.tech/tags/aws-step-functions.md>), [aws-systems-manager](<https://devfeed.tech/tags/aws-systems-manager.md>), [database](<https://devfeed.tech/tags/database.md>), [disaster-recovery](<https://devfeed.tech/tags/disaster-recovery.md>), [failover](<https://devfeed.tech/tags/failover.md>), [high-availability](<https://devfeed.tech/tags/high-availability.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [oracle](<https://devfeed.tech/tags/oracle.md>), [rto](<https://devfeed.tech/tags/rto.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>)

### AI overview

The solution automates Oracle Data Guard role transitions on Amazon EC2 with AWS Step Functions coordinating AWS Lambda tasks. It uses Systems Manager Run Command for database operations, Secrets Manager for SYS credentials, SNS for stage notifications, CloudWatch for execution logs, and DynamoDB for event records. Planned switchovers run 13 pre-checks and eight post-checks; blocking failures halt execution, and the primary workload should be quiesced so redo lag reaches zero. Emergency failovers run 10 standby-focused checks, confirm the primary is unreachable, and capture SCN, timestamps, and log gaps to report potential RPO impact; the former primary may need reinstatement. Prerequisites include configured Data Guard Broker, Flashback, connectivity, SYSDBA access, static listener entries, SSM agents and permissions, a stored SYS password, and an SNS subscription. The described implementation supports one database within the same account and Region, was tested with Oracle Database 19c, and requires Python 3.9+ for Lambda.

### Source excerpt

Oracle Data Guard keeps a standby database in sync for high availability and disaster recovery, but running switchover and failover by hand on Amazon EC2 is slow and error-prone. This post shows how to automate both with AWS Step Functions and AWS Lambda, running validated pre-checks, the role transition, post-checks, and RTO/RPO tracking end to end.

## Help defend against memory poisoning in Amazon Bedrock AgentCore with multi-layer write validation

DevFeed: [Help defend against memory poisoning in Amazon Bedrock AgentCore with multi-layer write validation](<https://devfeed.tech/articles/help-defend-against-memory-poisoning-in-amazon-bedrock-agentcore-with-multi-layer-write-validation-126473.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/security/help-defend-against-memory-poisoning-in-amazon-bedrock-agentcore-with-multi-layer-write-validation/>)

Author: Tarun Kumar

Published: 2026-11-09T19:05:52Z

Content type: article

Language: en

Sources: [AWS Security Blog](<https://devfeed.tech/sources/aws-security-blog.md>)

Topics: [Amazon Bedrock AgentCore](<https://devfeed.tech/topics/amazon-bedrock-agentcore.md>), [AI Context Management](<https://devfeed.tech/topics/ai-context-management.md>), [aws-sns](<https://devfeed.tech/topics/aws-sns.md>), [Amazon DynamoDB](<https://devfeed.tech/topics/amazon-dynamodb.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agent-behavior](<https://devfeed.tech/tags/agent-behavior.md>), [agentcore](<https://devfeed.tech/tags/agentcore.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [amazon](<https://devfeed.tech/tags/amazon.md>), [amazon-bedrock](<https://devfeed.tech/tags/amazon-bedrock.md>), [amazon-bedrock-agentcore](<https://devfeed.tech/tags/amazon-bedrock-agentcore.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [automatically](<https://devfeed.tech/tags/automatically.md>), [bedrock](<https://devfeed.tech/tags/bedrock.md>), [bedrock-agentcore](<https://devfeed.tech/tags/bedrock-agentcore.md>), [behavior](<https://devfeed.tech/tags/behavior.md>), [content](<https://devfeed.tech/tags/content.md>), [generative-ai](<https://devfeed.tech/tags/generative-ai.md>), [help](<https://devfeed.tech/tags/help.md>), [layer](<https://devfeed.tech/tags/layer.md>), [memory](<https://devfeed.tech/tags/memory.md>), [security-blog](<https://devfeed.tech/tags/security-blog.md>), [security-identity-compliance](<https://devfeed.tech/tags/security-identity-compliance.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>), [validation](<https://devfeed.tech/tags/validation.md>), [with](<https://devfeed.tech/tags/with.md>), [write](<https://devfeed.tech/tags/write.md>)

### AI overview

The excerpt describes a write-time validation layer for Amazon Bedrock AgentCore Memory to reduce the risk of persistent memory poisoning. A pre-write AWS Lambda interceptor on AgentCore Gateway scores writes using four signals: semantic drift against session context with Amazon Titan Text Embeddings V2 (40%), regex instruction patterns (25%), namespace boundaries (25%), and write-rate anomalies tracked in DynamoDB (10%). Scores route writes to the intended namespace (ALLOW), an isolated quarantine namespace (QUARANTINE), or rejection with an SNS alert (DENY). This complements existing IAM namespace conditions, Cedar policies, consolidation prompts, and ApplyGuardrail checks. Operators choose whether interceptor failures allow writes or block them, trading availability for stricter validation. The demo reports expected decisions in 11 scenarios, including three regex-bypassing attacks flagged by semantic drift, but it uses keyword overlap rather than Titan embeddings; production results may differ. Validation applies to writes through AgentCore Gateway, so direct SDK writes need separate controls.

### Source excerpt

Amazon Bedrock AgentCore Memory helps AI agents maintain context across sessions through persistent short-term and long-term memory. Because memory content is automatically retrieved and injected into future conversations, the integrity of what gets written to memory directly shapes future agent behavior, which makes the write path a valuable control point to strengthen. AgentCore already provides [...]

## Serverless ICYMI Q3 2026

DevFeed: [Serverless ICYMI Q3 2026](<https://devfeed.tech/articles/serverless-icymi-q3-2026-119355.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/compute/serverless-icymi-q3-2026/>)

Author: Julian Wood

Published: 2026-11-05T13:50:18Z

Content type: news

Language: en

Sources: [AWS Compute Blog](<https://devfeed.tech/sources/aws-compute-blog.md>)

Topics: [Serverless](<https://devfeed.tech/topics/serverless.md>), [AWS Lambda](<https://devfeed.tech/topics/aws-lambda.md>), [AWS Step Functions](<https://devfeed.tech/topics/aws-step-functions.md>), [Firecracker](<https://devfeed.tech/topics/firecracker.md>), [Amazon Simple Queue Service (SQS)](<https://devfeed.tech/topics/amazon-simple-queue-service-sqs.md>), [Amazon DynamoDB](<https://devfeed.tech/topics/amazon-dynamodb.md>), [aws-sns](<https://devfeed.tech/topics/aws-sns.md>), [Amazon EC2](<https://devfeed.tech/topics/amazon-ec2.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [access-management](<https://devfeed.tech/tags/access-management.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agent-toolkit](<https://devfeed.tech/tags/agent-toolkit.md>), [agentcore](<https://devfeed.tech/tags/agentcore.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [amazon-bedrock-agentcore](<https://devfeed.tech/tags/amazon-bedrock-agentcore.md>), [amazon-cloudwatch](<https://devfeed.tech/tags/amazon-cloudwatch.md>), [amazon-dynamodb](<https://devfeed.tech/tags/amazon-dynamodb.md>), [amazon-eventbridge](<https://devfeed.tech/tags/amazon-eventbridge.md>), [amazon-s3](<https://devfeed.tech/tags/amazon-s3.md>), [amazon-simple-storage-service-amazon-s3](<https://devfeed.tech/tags/amazon-simple-storage-service-amazon-s3.md>), [amazon-sqs](<https://devfeed.tech/tags/amazon-sqs.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [icymi](<https://devfeed.tech/tags/icymi.md>), [intermediate-200](<https://devfeed.tech/tags/intermediate-200.md>), [q3](<https://devfeed.tech/tags/q3.md>), [recap](<https://devfeed.tech/tags/recap.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>)

### AI overview

The excerpt reports Q3 2026 AWS serverless updates spanning event routing, compute, workflows, storage and AI tooling. EventBridge's relaunched custom bus supports cross-account subscribers, configurable retention, keyed ordering and Avro, Protocol Buffers or JSON; it runs alongside the classic bus. Lambda changes include scalable network bandwidth for larger functions, container-image SnapStart, SQS polling capacity up to 10,000 event pollers, and loading code from customers' S3 buckets. Lambda Managed Instances allow 90-minute invocations and support newer Graviton instances; durable functions add .NET support, bring-your-own SDKs and customer-managed KMS encryption. Lambda MicroVMs provide Firecracker-isolated environments lasting up to eight hours and are available in 10 Regions with PrivateLink. Other reported changes include Step Functions integrations, SNS messages up to 1 MiB, API Gateway backend mTLS, and S3 updates. AI additions include serverless agent-inspection tools, AgentCore features, and Strands harness and evaluation tools. The source is a quarterly recap excerpt with launch claims and links to related resources, not a detailed evaluation of each feature.

### Source excerpt

In this 34th quarterly recap post, discover the most impactful AWS serverless launches, features, and resources from Q3 2026 that you might have missed.

## Five Years of Kafka at Razorpay's UPI Switch

DevFeed: [Five Years of Kafka at Razorpay's UPI Switch](<https://devfeed.tech/articles/five-years-of-kafka-at-razorpay-s-upi-switch-24044.md>)

Original publisher: [Read original article](<https://engineering.razorpay.com/tryst-with-kafka-2f5cef766c45?source=rss----6407ad2e59af---4>)

Author: Kshitij Nawandar

Published: 2026-09-07T09:09:58Z

Content type: article

Language: en

Sources: [Razorpay](<https://devfeed.tech/sources/razorpay-engineering-medium.md>)

Topics: [Apache Kafka](<https://devfeed.tech/topics/apache-kafka.md>), [Amazon MSK](<https://devfeed.tech/topics/amazon-msk.md>), [Messaging](<https://devfeed.tech/topics/messaging.md>), [Event-Streaming](<https://devfeed.tech/topics/event-streaming.md>), [Publish-subscribe pattern](<https://devfeed.tech/topics/pubsub.md>), [razorpay](<https://devfeed.tech/topics/razorpay.md>), [Amazon Simple Queue Service (SQS)](<https://devfeed.tech/topics/amazon-simple-queue-service-sqs.md>), [software-architecture](<https://devfeed.tech/topics/software-architecture.md>), [aws-sns](<https://devfeed.tech/topics/aws-sns.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-sns](<https://devfeed.tech/tags/aws-sns.md>), [distributed-systems](<https://devfeed.tech/tags/distributed-systems.md>), [event](<https://devfeed.tech/tags/event.md>), [growth](<https://devfeed.tech/tags/growth.md>), [kafka](<https://devfeed.tech/tags/kafka.md>), [messaging](<https://devfeed.tech/tags/messaging.md>), [microservices](<https://devfeed.tech/tags/microservices.md>), [monolith](<https://devfeed.tech/tags/monolith.md>), [ordering](<https://devfeed.tech/tags/ordering.md>), [payment](<https://devfeed.tech/tags/payment.md>), [payment-processing](<https://devfeed.tech/tags/payment-processing.md>), [performance](<https://devfeed.tech/tags/performance.md>), [platform](<https://devfeed.tech/tags/platform.md>), [queue](<https://devfeed.tech/tags/queue.md>), [razorpay](<https://devfeed.tech/tags/razorpay.md>), [switch](<https://devfeed.tech/tags/switch.md>), [upi](<https://devfeed.tech/tags/upi.md>)

### AI overview

Razorpay's UPI Switch grew from a monolith using two AWS SQS queues (handling a 400 TPS peak) into an event-driven system whose Kafka infrastructure became constrained by partition growth, connector routing failures, broker connection imbalance, stale DNS after MSK Serverless restarts, and an IAM-auth connection cap. The team replaced GoCloud Pub/Sub with the Kafka-native franz-go client, adding DNS recovery, connection controls, batching and metrics; it reports lower connection counts and publish latency, but marks those figures for verification. It also consolidated event topics by domain, parallelized consumer processing through worker pools while preserving per-partition ordering, isolated latency-sensitive and financial flows into separate gateway components, and moved to provisioned MSK with SASL/SCRAM. The excerpt says mixed-load benchmarks were run but gives no results. Remaining work includes consumer idempotency, restoring atomicity between database writes and Kafka publishing, and consistent retry/DLQ policies.

### Source excerpt

Preface The UPI Switch at Razorpay has evolved significantly in the five years since we started building it. The Switch is the platform that enables real-time payment processing with NPCI. When the team began, it was little more than an idea. Today it powers more than 70% of Razorpay's total UPI volume. Because UPI is inherently asynchronous, a messaging system sits at the heart of the Switch and has a direct impact on performance, reliability, and scale. What began as a straightforward queue became the core of the system, shaping how every new feature was designed and delivered. This post covers that evolution: the decisions that enabled growth, the ones that slowed us down, the operational issues that forced us to rethink our assumptions, and the optimizations that ultimately stabilized our Kafka-based infrastructure. This is the story of what we got right, what we got wrong, and how we eventually built something stable enough to grow on. The First Version: Monolith and SQS When we began building the UPI Switch, we weren't thinking about massive scale, distributed systems, or elegant event routing. So we built Switch v1 as a monolith. No microservices, no distributed orchestration: just one solid block of code doing everything. That was the right call. We needed to move fast, experiment, and learn, and we followed the Keep It Simple, Stupid (KISS) principle deliberately. For messaging, we picked AWS SQS: reliable, managed, and low on cognitive load. We didn't need ordering guarantees at the time, so a standard queue worked fine. We started with just two queues, and this setup held its ground. It handled a peak of 400 TPS during the IPL. The limitations showed up as the ecosystem grew. A single event, like a successful payment, needed to fan out into multiple workflows: Update NPCI with an API call Send callbacks to merchants about payment status Push structured data into our warehouse (AWS Redshift) To handle this, we started bolting on AWS SNS plus SQS for fan-ou

## AWS SNS Abuse: Data Exfiltration and Phishing

DevFeed: [AWS SNS Abuse: Data Exfiltration and Phishing](<https://devfeed.tech/articles/aws-sns-abuse-data-exfiltration-and-phishing-48983.md>)

Original publisher: [Read original article](<https://www.elastic.co/security-labs/threat-command/aws-sns-abuse>)

Author: Terrance DeJesus

Published: 2025-03-13T00:00:00Z

Content type: article

Language: en

Sources: [Elastic Security Labs](<https://devfeed.tech/sources/elastic-security-labs.md>)

Topics: [aws-sns](<https://devfeed.tech/topics/aws-sns.md>), [Detection engineering](<https://devfeed.tech/topics/detection-engineering.md>), [threat detection](<https://devfeed.tech/topics/threat-detection.md>), [Security](<https://devfeed.tech/topics/security.md>), [Publish-subscribe pattern](<https://devfeed.tech/topics/pubsub.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>)

Tags: [aws-sns](<https://devfeed.tech/tags/aws-sns.md>), [data-exfiltration](<https://devfeed.tech/tags/data-exfiltration.md>), [detection](<https://devfeed.tech/tags/detection.md>), [detection-engineering](<https://devfeed.tech/tags/detection-engineering.md>), [pubsub](<https://devfeed.tech/tags/pubsub.md>), [security](<https://devfeed.tech/tags/security.md>), [sns](<https://devfeed.tech/tags/sns.md>)

### AI overview

This article examines how adversaries can abuse AWS Simple Notification Service for data exfiltration and phishing. It introduces SNS, describes relevant application-to-person workflows, and discusses detection opportunities, security best practices, and access hardening.

### Source excerpt

During a recent internal collaboration, we dug into publicly known SNS abuse attempts and our knowledge of the data source to develop detection capabilities.

## Amazon SNS: Cost Reduction and Reliable Delivery for Startups

DevFeed: [Amazon SNS: Cost Reduction and Reliable Delivery for Startups](<https://devfeed.tech/articles/amazon-sns-cost-reduction-and-reliable-delivery-for-startups-33334.md>)

Original publisher: [Read original article](<https://blog.ratnesh-maurya.com/blog/Amazon-SNS-for-Cost-Reduction-and-Message-Delivery-Assurance-in-Startups>)

Author: ratneshmaurya2311@gmail.com (Ratnesh Maurya)

Published: 2023-12-10T00:00:00Z

Content type: article

Language: en

Sources: [Ratn Labs](<https://devfeed.tech/sources/ratn-labs.md>)

Topics: [aws-sns](<https://devfeed.tech/topics/aws-sns.md>), [Messaging](<https://devfeed.tech/topics/messaging.md>), [RabbitMQ](<https://devfeed.tech/topics/rabbitmq.md>)

Tags: [amazon](<https://devfeed.tech/tags/amazon.md>), [amazon-sns](<https://devfeed.tech/tags/amazon-sns.md>), [aws](<https://devfeed.tech/tags/aws.md>), [backend](<https://devfeed.tech/tags/backend.md>), [cloud-devops](<https://devfeed.tech/tags/cloud-devops.md>), [cost](<https://devfeed.tech/tags/cost.md>), [delivery](<https://devfeed.tech/tags/delivery.md>), [messaging](<https://devfeed.tech/tags/messaging.md>), [multi-region](<https://devfeed.tech/tags/multi-region.md>), [pricing](<https://devfeed.tech/tags/pricing.md>), [queues](<https://devfeed.tech/tags/queues.md>), [reduction](<https://devfeed.tech/tags/reduction.md>), [retries](<https://devfeed.tech/tags/retries.md>), [sqs](<https://devfeed.tech/tags/sqs.md>), [startups](<https://devfeed.tech/tags/startups.md>), [system-design](<https://devfeed.tech/tags/system-design.md>), [system-design-backend-cloud-devops](<https://devfeed.tech/tags/system-design-backend-cloud-devops.md>)

### AI overview

The description says Amazon SNS can help startups reduce messaging costs through pay-per-message pricing and support reliable delivery with automatic retries, dead letter queues, and multi-region delivery. It notes that SQS may be a better fit in some cases, but does not specify when.

### Source excerpt

How Amazon SNS helps startups cut messaging costs with pay-per-message pricing, automatic retries, dead letter queues, and multi-region delivery -- and when SQS might be a better fit.

## Building a reliable asynchronous job pipeline

DevFeed: [Building a reliable asynchronous job pipeline](<https://devfeed.tech/articles/building-a-reliable-asynchronous-job-pipeline-20017.md>)

Original publisher: [Read original article](<http://engineering.hackerearth.com/2022/06/17/building-a-reliable-asynchronous-job-pipeline/>)

Published: 2022-06-17T00:00:00Z

Content type: article

Language: en

Sources: [HackerEarth](<https://devfeed.tech/sources/hackerearth.md>)

Topics: [Amazon Simple Queue Service (SQS)](<https://devfeed.tech/topics/amazon-simple-queue-service-sqs.md>), [Publish-subscribe pattern](<https://devfeed.tech/topics/pubsub.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [aws-sns](<https://devfeed.tech/topics/aws-sns.md>), [Web app](<https://devfeed.tech/topics/webapp.md>), [software-architecture](<https://devfeed.tech/topics/software-architecture.md>), [Apache Kafka](<https://devfeed.tech/topics/apache-kafka.md>), [RabbitMQ](<https://devfeed.tech/topics/rabbitmq.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-managed-services](<https://devfeed.tech/tags/aws-managed-services.md>), [guarantees](<https://devfeed.tech/tags/guarantees.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [job](<https://devfeed.tech/tags/job.md>), [kafka](<https://devfeed.tech/tags/kafka.md>), [library](<https://devfeed.tech/tags/library.md>), [performance](<https://devfeed.tech/tags/performance.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [queuing](<https://devfeed.tech/tags/queuing.md>), [s3](<https://devfeed.tech/tags/s3.md>), [scalability](<https://devfeed.tech/tags/scalability.md>), [security](<https://devfeed.tech/tags/security.md>), [self-hosted](<https://devfeed.tech/tags/self-hosted.md>), [serverless](<https://devfeed.tech/tags/serverless.md>)

### AI overview

HackerEarth built he-messenger to move background jobs from self-hosted RabbitMQ and Kafka to a serverless pipeline using AWS SQS, SNS, and S3, reducing infrastructure operations while adding reliability and security controls. Producers send messages directly to SQS for one-to-one delivery or through SNS to subscribed SQS queues for one-to-many delivery; large payloads are stored in S3. The library supports ordered delivery with five-minute duplicate rejection, routing-key filters, producer retries with exponential backoff, consumer processing timeouts, and dead-letter queues. Consumers use lifecycle hooks, health checks, and graceful shutdown; message retention is up to 14 days, with encryption at rest and in transit. Local development uses Localstack. The text notes a cost-driven choice to let producer configuration determine whether messages go to SNS or SQS, and that delay tolerance was not yet actively used.

### Source excerpt

Asynchronous background jobs can dramatically improve the performance and scalability of web applications by offloading resource-intensive and time consuming processing from the request-response cycle of an application. Last year, in an effort to make our asynchronous flows more reliable, secure, and scalable, we decided to move away from our self-hosted solution that was based on RabbitMQ and Kafka, to a fully-managed one. This was done mainly to reduce the operational overheads in managing and scaling the underlying infrastructure and also to improve our overall security posture. To support this flow, we created a new library called he-messenger that implements an end-to-end queuing solution for allowing different services or different components of the same service to communicate with each other asynchronously. This library is built on top of the SQS, SNS, and S3 - managed services provided by AWS. It is a fully serverless solution that ingests events from different services, buffers them, and then delivers those events to the subscribed services in a reliable way. It simplifies the otherwise laborious process of provisioning and scaling self-hosted infrastructure. Since its introduction, this library has become one of the critical pieces of our architecture powering a lot of different use-cases with a very high number of transactions There are many open-source libraries available in the market that use AWS managed services to support asynchronous background jobs. However, none of them offered an end-to-end solution and the kind of guarantees we needed. Therefore, we decided to implement our own custom library to support this flow. The purpose of this blog is to give you an overview of the internal and the code level details of the he-messenger library along with a sample reference architecture, supported flows, features,and benefits of this solution. Terminology Channel: An abstract communication layer responsible for passing messages between producers and consu

## AWS FIFO Queues with Message Groups for Atomic Processing at Scale

DevFeed: [AWS FIFO Queues with Message Groups for Atomic Processing at Scale](<https://devfeed.tech/articles/aws-fifo-queues-with-message-groups-for-atomic-processing-at-scale-23895.md>)

Original publisher: [Read original article](<https://medium.com/smg-real-estate/aws-fifo-queues-with-message-groups-for-atomic-processing-at-scale-dc70f8820b16?source=rss----2186e5b9bd8f---4>)

Author: Nick De Cooman

Published: 2022-03-03T09:55:58Z

Content type: article

Language: en

Sources: [Homegate Engineering Blog - Medium](<https://devfeed.tech/sources/homegate-engineering-blog-medium.md>)

Topics: [Amazon Simple Queue Service (SQS)](<https://devfeed.tech/topics/amazon-simple-queue-service-sqs.md>), [Publish-subscribe pattern](<https://devfeed.tech/topics/pubsub.md>), [AWS Lambda](<https://devfeed.tech/topics/aws-lambda.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [aws-sns](<https://devfeed.tech/topics/aws-sns.md>), [event-driven data processing](<https://devfeed.tech/topics/event-driven-data-processing.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [application](<https://devfeed.tech/tags/application.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [at-the-core](<https://devfeed.tech/tags/at-the-core.md>), [atomic](<https://devfeed.tech/tags/atomic.md>), [automatically](<https://devfeed.tech/tags/automatically.md>), [aws](<https://devfeed.tech/tags/aws.md>), [buffer](<https://devfeed.tech/tags/buffer.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [constraint](<https://devfeed.tech/tags/constraint.md>), [core](<https://devfeed.tech/tags/core.md>), [data](<https://devfeed.tech/tags/data.md>), [decoupling](<https://devfeed.tech/tags/decoupling.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [fifo](<https://devfeed.tech/tags/fifo.md>), [groups](<https://devfeed.tech/tags/groups.md>), [message](<https://devfeed.tech/tags/message.md>), [processing](<https://devfeed.tech/tags/processing.md>), [queues](<https://devfeed.tech/tags/queues.md>), [scale](<https://devfeed.tech/tags/scale.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [sqs](<https://devfeed.tech/tags/sqs.md>)

### AI overview

The excerpt describes an ingestion service that must process different listings in parallel while preventing simultaneous processing of events for the same listing. Its baseline AWS design fans events from SNS into SQS, where Lambda consumers process them; this scales automatically, but multiple consumers can process the same listing at once. Limiting consumption to one Lambda instance is presented as a simple safeguard, though the excerpt ends before detailing the titled FIFO message-group approach or its tradeoffs.

### Source excerpt

How to process multiple objects in parallel with the guarantee that for each unique object, only a single instance is processed simultaneously In a distributed, event-driven architecture, many challenges arise when processing large sets of data. One of them is the need for scalability when handling event streams with a substantial throughput. The challenge becomes even more complicated when processing these events involves atomic operations. In this case, we cannot simply process multiple events in parallel. As an example, let's say that we are building a service that ingests listings into our platform. The ingestion process involves several steps and requires multiple API operations. As a result, the whole ingestion can take up to several seconds per listing to complete. Now, here is where it gets tricky: a constraint of our service is that, while we are processing a listing, we cannot process other events for the same listing. The ingestion should be considered an atomic operation, and hence, only a single execution per listing can be performed simultaneously. At Homegate, we run most of our infrastructure on AWS in a serverless fashion. At the core of this, Lambda functions execute application logic. A common pattern is to use SNS topics to fan-out messages, and SQS for acting as a decoupling buffer between an SNS topic and some Lambda function. For our ingester service, a logical architecture could look like this: Listing events are published to a dedicated SNS topic. An SQS queue subscribes to this topic and consumes the events. Here, the events are buffered until a Lambda instance removes them from the queue and processes the corresponding listing. Under normal circumstances -- in which the processing would not involve an atomic operation -- this architecture would be a good fit. It would scale automatically relative to the number of Lambda instances that consume events from the queue, without much additional configuration. However, in the case where we cannot p

## Explainable and Accessible AI: Using Push Notifications to Broaden the Reach of ML at Headspace

DevFeed: [Explainable and Accessible AI: Using Push Notifications to Broaden the Reach of ML at Headspace](<https://devfeed.tech/articles/explainable-and-accessible-ai-using-push-notifications-to-broaden-the-reach-of-ml-at-headspace-24573.md>)

Original publisher: [Read original article](<https://medium.com/headspace-engineering/explainable-and-accessible-ai-using-push-notifications-to-broaden-the-reach-of-ml-at-headspace-a03c7c2bbf06?source=rss-3da90e297190------2>)

Author: Headspace

Published: 2021-10-18T19:08:11Z

Content type: article

Language: en

Sources: [Headspace](<https://devfeed.tech/sources/stories-by-headspace-on-medium.md>)

Topics: [Push Notifications](<https://devfeed.tech/topics/push-notifications.md>), [recommendation systems](<https://devfeed.tech/topics/recommendation-systems.md>), [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [personalization](<https://devfeed.tech/topics/personalization.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [notifications](<https://devfeed.tech/topics/notifications.md>), [aws-sns](<https://devfeed.tech/topics/aws-sns.md>), [in-app experiences](<https://devfeed.tech/topics/in-app-experiences.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [android](<https://devfeed.tech/tags/android.md>), [app](<https://devfeed.tech/tags/app.md>), [apps](<https://devfeed.tech/tags/apps.md>), [backend](<https://devfeed.tech/tags/backend.md>), [braze](<https://devfeed.tech/tags/braze.md>), [client](<https://devfeed.tech/tags/client.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [cloud-services](<https://devfeed.tech/tags/cloud-services.md>), [communication](<https://devfeed.tech/tags/communication.md>), [communications](<https://devfeed.tech/tags/communications.md>), [content](<https://devfeed.tech/tags/content.md>), [context](<https://devfeed.tech/tags/context.md>), [customer](<https://devfeed.tech/tags/customer.md>), [customer-engagement](<https://devfeed.tech/tags/customer-engagement.md>), [email](<https://devfeed.tech/tags/email.md>), [headspace](<https://devfeed.tech/tags/headspace.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [ml](<https://devfeed.tech/tags/ml.md>), [notifications](<https://devfeed.tech/tags/notifications.md>), [push-notification](<https://devfeed.tech/tags/push-notification.md>), [push-notifications](<https://devfeed.tech/tags/push-notifications.md>)

### AI overview

Headspace built a pipeline that sends ML content recommendations to members through Braze push notifications, including people who have not recently opened the app. Scheduled Databricks jobs generate predictions and place payloads on SQS; a Lambda repackages them as Protobuf messages for the event bus, and the Braze service forwards them to Braze Canvases. Canvases handle audience segmentation, treatment/control tests, personalized message templates, and safeguards such as quiet hours and rate limits. The initial experiment used a Markov chain sequential recommender and reported a 78.65% lift in content completes among dormant members, plus lifts in direct opens and content starts/completes. Braze Intelligent Timing chooses send times from users' past messaging and app interactions; Headspace said it may later optimize timing for recommendation context, such as sending sleep content in the evening. The article emphasizes coordinating with Lifecycle Marketing, carefully testing internal sends, and refining notification copy.

### Source excerpt

Author: Matt Linder / Co-Author: Koyuki Nakamori TL;DR Headspace wanted to serve personalized content to members who had not recently opened the app We built out infrastructure that allowed us to leverage our Cloud services, plus the 3rd party Braze Customer Engagement platform, to serve Machine Learning-recommended content to members via push notifications Our first experiment doing so got GREAT results We implemented that experiment as an evergreen model in production You should, too Introduction and Problem Statement Headspace's core products are iOS, Android, and web-based apps that focus on improving the health and happiness of their users through mindfulness, meditation, sleep, exercise, and focus content. Machine learning models are core to our user experiences by offering recommendations that engage our users with relevant, personalized content that builds consistent habits in their lifelong journey. Headspace also has an amazing Lifecycle marketing team, who do incredible work in providing regular communications -- through email, push notifications, in-app modals, and other surfaces -- that further our users' engagement, helping them on their journey from prospects to members to advocates. Until recently, those two aspects -- Machine Learning and the out-of-app communication channels served by Lifecycle- were totally separate. Traditionally, users consume our ML models' personalized recommendations by Navigating to one of the app's tabs / views that contains content (for example, our Today tab). Sending a request from the app client to ask our backend content services to load content to serve users. Our content services then forward the request to our Prediction Service, which supplies a content recommendation for that user (or, if none is available, generates a default fallback content to serve). The Problem This approach has three primary limitations: It isn't able to directly respond to the immediate user's context. For instance, if a user has recently sear

## Improving trust with Datadog Log Management

DevFeed: [Improving trust with Datadog Log Management](<https://devfeed.tech/articles/improving-trust-with-datadog-log-management-83472.md>)

Original publisher: [Read original article](<https://www.datadoghq.com/blog/engineering/improving-trust-with-datadog-log-management/>)

Author: Jules Denardou

Published: 2018-11-01T00:00:00Z

Content type: tutorial

Language: en

Sources: [Datadog](<https://devfeed.tech/sources/datadog.md>)

Topics: [log management](<https://devfeed.tech/topics/log-management.md>), [Cloud Logging](<https://devfeed.tech/topics/cloud-logging.md>), [AWS Lambda](<https://devfeed.tech/topics/aws-lambda.md>), [aws-sns](<https://devfeed.tech/topics/aws-sns.md>), [Amazon CloudWatch](<https://devfeed.tech/topics/amazon-cloudwatch.md>)

Tags: [amazon-ses](<https://devfeed.tech/tags/amazon-ses.md>), [amazon-simple-email-service-ses](<https://devfeed.tech/tags/amazon-simple-email-service-ses.md>), [aws](<https://devfeed.tech/tags/aws.md>), [datadog](<https://devfeed.tech/tags/datadog.md>), [lambda](<https://devfeed.tech/tags/lambda.md>), [log-management](<https://devfeed.tech/tags/log-management.md>), [observability](<https://devfeed.tech/tags/observability.md>)

### AI overview

Datadog describes using Amazon SES, SNS, and Lambda to send email event data to Datadog Log Management. The setup makes password reset email events searchable for support teams and supports monitoring across the pipeline.

### Source excerpt

Integrating Amazon Simple Email Service with Datadog to improve observability.

## Central Chat Service for Mobile Games

DevFeed: [Central Chat Service for Mobile Games](<https://devfeed.tech/articles/central-chat-service-for-mobile-games-121157.md>)

Original publisher: [Read original article](<https://codeahoy.com/2017/05/20/central-chat-service/>)

Author: umer

Published: 2017-05-20T00:00:00Z

Content type: article

Language: en

Sources: [Code Ahoy - Articles](<https://devfeed.tech/sources/code-ahoy-articles.md>)

Topics: [Cloud Architecture](<https://devfeed.tech/topics/cloud-architecture.md>), [Legacy Modernization](<https://devfeed.tech/topics/legacy-modernization.md>), [aws-sns](<https://devfeed.tech/topics/aws-sns.md>), [rate-limiting](<https://devfeed.tech/topics/rate-limiting.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [aws](<https://devfeed.tech/tags/aws.md>), [battery](<https://devfeed.tech/tags/battery.md>), [central](<https://devfeed.tech/tags/central.md>), [chat](<https://devfeed.tech/tags/chat.md>), [complex](<https://devfeed.tech/tags/complex.md>), [concurrent](<https://devfeed.tech/tags/concurrent.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [control](<https://devfeed.tech/tags/control.md>), [cost](<https://devfeed.tech/tags/cost.md>), [custom](<https://devfeed.tech/tags/custom.md>), [data](<https://devfeed.tech/tags/data.md>), [delivery](<https://devfeed.tech/tags/delivery.md>), [design](<https://devfeed.tech/tags/design.md>), [devops](<https://devfeed.tech/tags/devops.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [event](<https://devfeed.tech/tags/event.md>), [games](<https://devfeed.tech/tags/games.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [service](<https://devfeed.tech/tags/service.md>)

### AI overview

The service replaced a difficult-to-maintain chat stack with a multi-region design aimed at low latency and up to 1 million concurrent users. Regional Edge Servers keep persistent TLS/TCP connections with players and relay messages to regional, stateless chat services; those services route messages through per-edge SQS queues. Deploying chat services near users reduced the long-distance path that remained when only edge connections were regional. A single DynamoDB and Redis region kept persistence and room routing simpler; chat services cache asynchronously replicated routing data, accepting that it may be slightly stale. Messages are delivered before asynchronous DynamoDB writes, since persistence was optional for many games. The team chose a compact custom binary protocol over JSON/XML, trading efficiency for SDK and protocol maintenance, and Java/Spring Boot over Rust because only one team member knew Rust. The excerpt also describes Geo Service selection of nearby, potentially less-loaded edges; client-side message ordering and deduplication; and direct chat implemented as player-specific rooms. Edge servers had no load balancer, so the team needed its own TCP attack safeguards

### Source excerpt

Last 3 quarters, my small and wonderful team and I spent most of our time designing and building several services that many different mobile games could use, instead of building their own. Out of the many services we built, my favorite was the Central Chat Service. It was a fun project, I got to do a lot of architecture and design work, and I learned a lot about building scalable systems and AWS. In this post, I will share some high level details about the chat service and its architecture. We already had a chat service. It was running on AWS, but was originally deployed on servers running on Rackspace. It started with the right motivations but had become very complex and a royal pain to manage. The biggest issues in my opinion: it used many systems like ActiveMQ, MongoDB, Memcached, ZooKeeper, etc. that required constant maintenance, and it had become complex because many custom features were added to support games that had long been shut down. Scaling it up and down was a manual process. Since we were on AWS, we wanted to use managed services as much as possible. There were some disagreements about the use of managed services with cost as the main concern. While it's true that managed services cost more, the saving outweigh the time DevOps and engineering teams spend to keep these up and running and for regular maintenance. Here are the goals for the chat service: Support different types of chat: direct messages and chatrooms (guild, event and global) Make the system extensible for custom features or metadata e.g. stickers. We said no to custom game-specific features and gave them configuration that they could extend. Moderation (configurable, off by default) Chat history (optional, retention period defined per game) Support up to 1,000,000 concurrent users Low latency message delivery all over the world Efficient use of mobile battery and data Abuse control, rate limits and protection against attacks Architecture at a glance [Image removed] Here are some key deci