From the course: Linux for PHP Developers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Installing Redis in-memory database

Installing Redis in-memory database

From the course: Linux for PHP Developers

Start my 1-month free trial

Installing Redis in-memory database

- [Instructor] Redis is a free, open source, in-memory data structure store. That's a nuanced difference for Memcached, and I'll explore the differences in a moment. To learn more about Redis, visit redis.io. Redis, just like Memcached, is supported by all the PHP applications and frameworks that we're going to install in this course. The Redis server runs on port 6379, which is the default. Redis originally was very similar to Memcached in its use as a key value store, but it's continued to evolve. Optional durability means the data can be optionally written to a file system for persistence in case of a server crash, minimizing the impact of a cold cache. Redis natively sets a number of data types, including lists of strings, sets of strings, sorted sets of strings, hash tables, and geospatial data. Unlike Memcached, which uses just a least-used eviction policy, Redis can be tuned with much greater granularity. Memcached naming is pretty restricted in size, 250 bytes, verses Redis'…

Contents