In this chapter, we’ve explored a number of ways to reduce memory use in Redis using
short data structures, sharding large structures to make them small again, and by
packing data directly into STRINGs.
If there’s one thing that you should take away from this chapter, it’s that by being
careful about how you store your data, you can significantly reduce the amount of
memory that Redis needs to support your applications.
In the next chapter, we’ll revisit a variety of topics to help Redis scale to larger
groups of machines, including read slaves, sharding data across multiple masters, and
techniques for scaling a variety of different types of queries.
TRY REDIS ENTERPRISE CLOUD FREE
Redis Enterprise Cloud provides complete automation of day-to-day database operations. Start now with 30MB of free storage.