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. ...

Get Mastering Redis now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.