课程: Databases for Node.js Developers
免费学习该课程!
今天就开通帐号,24,700 门业界名师课程任您挑!
Fast and flexible basket and session management with Redis - Node.js教程
课程: Databases for Node.js Developers
Fast and flexible basket and session management with Redis
- [Instructor] Key-value stores are a powerful and fast subset of databases. And in this chapter, we will use Redis to handle our session data along with our shopping baskets. At the core, key-value stores function like associative arrays or dictionaries in programming. Each piece of data is stored with a unique key. And the beauty of key-value stores is that they support different data types for both keys and values. So why are we using Redis? Redis is an in-memory key value store, and it only does periodic snapshots to the disc. It's known for its extreme speed with data access times often at constant times, that's an O of one notation. It's very versatile because it supports strings, lists, hashmaps, and sorted sets, and it's really ideal for ephemeral data, so data that changes often and also gets deleted very often. And this applies to sessions and also to shopping baskets. On top of this, and we won't cover this in this course, Redis also supports queue-like behavior via pops…
内容
-
-
-
-
-
-
-
(已锁定)
Fast and flexible basket and session management with Redis2 分钟 3 秒
-
(已锁定)
Setting up Redis with Docker1 分钟 37 秒
-
(已锁定)
Exploring Redis with Redis Insight2 分钟 36 秒
-
(已锁定)
Connecting our application to Redis4 分钟 35 秒
-
(已锁定)
Managing user sessions with Redis8 分钟 50 秒
-
(已锁定)
Basic Redis operations for shopping baskets, part 111 分钟 16 秒
-
(已锁定)
Basic Redis operations for shopping baskets, part 27 分钟 47 秒
-
(已锁定)
-
-