O'Reilly logo

Mastering Redis by Jeremy Nelson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Operating system tips

Redis is developed and runs most applications under POSIX supported operating systems like Linux and many of its distributions, Macintosh OS and other BSD derived operating systems, and other commercial UNIXes. The Redis project does not officially support Microsoft Windows, although Microsoft's Open Tech group develops and maintains a port to 64bit-based Windows. There have been experiments running Redis with Raspberry Pi4 and Android5.

Tip

Tips for running Redis on Linux

You should disable the transparent huge pages in your kernel by running the following:

echo never > /sys/kernel/mm/transparent_hugepage/enabled

Set vm.overcommit_memory to 1 to avoid issues with background saving with your Linux virtual machine by swapping. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required