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
From the course: Linux for PHP Developers
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'…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.