Service · Database
Amazon ElastiCache
A managed in-memory cache that answers in microseconds and takes load off your database.
ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။
- 1A user asks for data, such as a product page.
- 2The application checks ElastiCache first. If the data is there, it comes back in microseconds.
- 3If it is not there, the application reads the database in Amazon Relational Database Service (Amazon RDS) and stores a copy in ElastiCache for the next request.
အဆင့်ဆင့်
- 1A user asks for data, such as a product page.
- 2The application checks ElastiCache first. If the data is there, it comes back in microseconds.
- 3If it is not there, the application reads the database in Amazon Relational Database Service (Amazon RDS) and stores a copy in ElastiCache for the next request.
Database caching
Keep the results of slow or frequent queries in memory, so the database does less work.
Session store
Keep short-lived user data, such as sign-in state, close to the application.
Leaderboards
Keep game scores sorted in real time, even with many players.
ဘာလဲ
Amazon ElastiCache is a fully managed, in-memory data store and cache. It is compatible with Valkey, Redis OSS and Memcached. Because data is held in memory instead of on disk, reads take microseconds.
The most common use is a cache in front of a database. The application asks ElastiCache first. If the data is there, it comes back at once and the database does no work. If not, the application reads the database and saves a copy in the cache for next time.
You can create a serverless cache, which scales by itself with no capacity planning, or choose the type and number of nodes yourself.
မှတ်ထားရန်
- In-memory: microsecond reads.
- Engines: Valkey, Redis OSS and Memcached.
- Common uses: database caching, session stores and gaming leaderboards.
- A cache holds copies of data. The database still keeps the main copy.
- Serverless option: no nodes to size, and it scales automatically.
စာမေးပွဲမှာ
- “Improve read performance and reduce database load with an in-memory cache” points to Amazon ElastiCache.
- “Sub-millisecond response for session data or leaderboards” points to ElastiCache.
- “Cache website content at edge locations near users” is Amazon CloudFront, not ElastiCache.