Redis is an in-memory database that persists to disk. Redis is commonly used as an object cache for web applications.
Applications are composed of caches and databases. A cache typically stores the data in memory, and a database typically stores the data on disk. Memory has significantly faster access times, but is more expensive and is volatile, meaning that if the computer that is holding that piece of data in memory goes offline, the data will be lost.
When a user makes a request to load their personal information, the server will try to load that data from a cache. If the cache does not contain the user’s information, the server will go to the database to find that information.
Alvin Richards is chief product officer with Redis Labs, and he joins the show to discuss how Redis works. We explore different design patterns for making Redis high availability, or using it as a volatile cache, and we talk through the read and write path for Redis data. Full disclosure: Redis Labs is a sponsor of Software Engineering Daily.
Sponsorship inquiries: firstname.lastname@example.org
Check out our active projects:
- We are hiring a head of growth. If you like Software Engineering Daily and consider yourself competent in sales, marketing, and strategy, send me an email: email@example.com
- FindCollabs is a place to build open source software.
- The SEDaily app for iOS and Android includes all 1000 of our old episodes, as well as related links, greatest hits, and topics. Subscribe for ad-free episodes.
Transcript provided by We Edit Podcasts. Software Engineering Daily listeners can go to weeditpodcasts.com/sed to get 20% off the first two months of audio editing and transcription services. Thanks to We Edit Podcasts for partnering with SE Daily. Please click here to view this show’s transcript.
Monday.com is a team management platform that brings all your work, external tools and communication into one place, making cross-team collaboration easy. You can try Monday.com and get a 14 day trial by going to monday.com/sedaily. And if you decide to become a customer, you will get 10% off by using coupon code SEDAILY.
Better.com is a software startup with the goal of reinventing the mortgage industry. And Better.com is looking for engineers to join the team and build a better mortgage experience. Better.com has a modern software stack consisting of Node.js, Python, React, TypeScript, Kubernetes, and AWS. If you are interested in joining the team, check out better.com/sedaily.
ExtraHop is a cloud-native security company that detects threats across your hybrid infrastructure. ExtraHop has vulnerability detection running up and down your networking stack–from L2 to L7, and it helps you spot, investigate, and respond to anomalous behavior using 100+ machine learning models. At ExtraHop.com/cloud, you can learn about how ExtraHop delivers cloud-native network detection and response.
Triplebyte just launched their brand-new Machine Learning track! They’ll now be helping machine learning engineers find jobs in the same way that they’ve already helped generalist, front-end, and mobile engineers. See how you stack up against the industry. Go to triplebyte.com/sedaily.