Closed AshciR closed 5 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:
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
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: