All project notes

Engineering

Redis on Amazon ElastiCache

Keeps application presence state available to SalesCandy’s routing services.

App heartbeat processing → Redis connection state → Presence and routing logic.
Illustrative diagram

CandyBase declared an ElastiCache replication group running Redis. The Presence service connected to the cluster through ioredis. Its heartbeat handler looked up app-user status and removed connections under conditions including expiry, a prolonged logout, and routing ineligibility.

SalesCandy Git evidence — Dodol/CandyBase e0a4fc1, sc-redis/serverless.yml; Dodol/Presence 998c1f2, app/lib/Redis.js and app/heartbeatHandler.js.

AWS references

Icons from the AWS Architecture Icons package.