AshciR / group-chat-digest

0 stars 0 forks source link

[SPIKE] Consider using a cache to store chat messages #7

Closed AshciR closed 5 months ago

AshciR commented 7 months ago

When the bot is in production, storing the messages in memory may not be feasible. We can experiment using a cache, like Redis, to store the data.

References:

AshciR commented 6 months ago

AWS offers a serverless Elasicache solution:

https://aws.amazon.com/elasticache/features/?sc_icampaign=aware_GC-600-DB_custhero_elasticache_product_webpage_serverless_2024_q1_apr_w17y24&sc_ichannel=ha&sc_icontent=awssm-5327_aware-customer&sc_iplace=hero&trk=ad950588-274d-4ddc-9f2d-a35c628069f5~ha_awssm-5327_aware-customer