Leveraging MariaDB's MEMORY Storage Engine: Efficient Caching and Performance Optimization | HackerNoon
Briefly

Using a MariaDB MEMORY table can effectively reduce load on primary databases while improving response times, making it a viable alternative to Redis for caching.
By configuring a cache table with the MEMORY storage engine in MariaDB, data can be kept entirely in RAM, similar to how Redis operates for quick access.
Cache invalidation is crucial in maintaining data accuracy, necessitating strategies to refresh or invalidate cached data whenever the underlying data changes.
Implementing a users_cache table in MariaDB can enhance session tracking efficiency, allowing for rapid data access and improved performance for web applications.
Read at Hackernoon
[
|
]