Mattermost scaled to over 100K users by introducing Redis into their architecture, addressing issues related to cache invalidations and node synchronization. They opted for the rueidis library for better default functionalities and discovered the importance of batching commands to reduce overhead. Client-side caching was

β€’7m read timeβ€’From mattermost.com
Post cover image
Table of contents
Choice of library matters πŸ“šBatching is not optional 🍞Use client-side caching for best of both worlds πŸ’ΊUse MGET/MDELETE if you have tight loops with GET/DELETE ➰Be careful of high volumes of SCAN calls πŸ“ˆEnsure not to self-send a message while using pub-sub πŸ–‡οΈFinishing words

Sort: