Microsoft Build: Application Security with Redis Cache (Shruti Pathak)
Jul 25, 2023
auto_awesome
Shruti Pathak, Senior Product Manager at Microsoft, discusses optimizing web applications with Redis cache and the importance of security. She explains in-memory databases and their performance benefits. Also shares her transition from software development to program management.
Redis cache improves web application performance by providing sub-millisecond latencies and the ability to scale horizontally.
Redis cache can be used as a distributed cache in a Kubernetes cluster, storing frequently accessed data and accelerating applications.
Deep dives
Optimizing Web Applications with Redis Cache
In this podcast episode, Shruti Patak, senior product manager at Microsoft, discusses the benefits of optimizing web applications with Redis cache. She explains that Redis is a popular open-source software that functions as a key-value data store, allowing for quick access to data stored in memory. Redis cache improves application performance by providing sub-millisecond latencies and the ability to scale horizontally. The primary use case for Redis cache is to store frequently accessed data or perform heavy read operations, making websites faster. Shruti also mentions that Redis is suitable for storing ephemeral data, such as shopping cart information, and it can be utilized as a distributed cache for sharing information among multiple services or pods in a Kubernetes cluster.
Exploring In-Memory Databases and Performance
Another topic discussed in the podcast is in-memory databases. Shruti explains that with Redis cache, data is stored entirely in memory, allowing for faster access compared to traditional databases that write data to disks. While the size of data that can be stored in Redis cache is smaller, it provides top performance with sub-millisecond latencies. By keeping data in memory, Redis cache accelerates applications and websites. It is particularly effective for storing FMRL (Fast Moving, Read-often, Less Frequently Updated) data. Shruti also mentions that Redis cache can be used in various innovative ways, such as data stream processing and IoT data processing.
Securing Azure Redis Cache with Azure Active Directory
The podcast episode also covers the importance of securing Azure Redis Cache. Shruti discusses how Azure cache for Redis is protected by default with password-based authentication and emphasizes the need to rotate access keys periodically for security reasons. To simplify the key rotation process, Azure cache for Redis now supports connecting to the cache using a service principal or a managed identity. By retrieving an Azure Active Directory token, applications can authenticate without the need for access keys. This approach eliminates the coordination and maintenance efforts required for regular key rotation. Additionally, role-based access control for Redis users is introduced, allowing fine-grained control over which services or applications can access specific data sets and execute certain commands.
Shruti Pathak, Senior Product Manager at Microsoft, talked about optimizing web applications by using Redis cache and things to consider to make it secure. Shruti also explained what in-memory databases are and how they improve performance. At the end we also talked about the program manager and her experience transitioning from a software development role.
Get the Snipd podcast app
Unlock the knowledge in podcasts with the podcast player of the future.
AI-powered podcast player
Listen to all your favourite podcasts with AI-powered features
Discover highlights
Listen to the best highlights from the podcasts you love and dive into the full episode
Save any moment
Hear something you like? Tap your headphones to save it with AI-generated key takeaways
Share & Export
Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more
AI-powered podcast player
Listen to all your favourite podcasts with AI-powered features
Discover highlights
Listen to the best highlights from the podcasts you love and dive into the full episode