Add: In-Memory DB via Redis or Memurai

Adding support for in-memory processing and caching of PMS’ datasets via Redis (Linux) or Memurai (Windows) should significantly improve the responsiveness of Plex.

Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes with radius queries and streams. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.

You can run atomic operations on these types, like appending to a string; incrementing the value in a hash; pushing an element to a list; computing set intersection, union and difference; or getting the member with highest ranking in a sorted set.

Sadly this will probably NEVER happen because most plex users are probably non-Devops noobs who don’t understand what Redis is, or why they’d want it, or how to set it up. Funny that this was the first thing that popped up when I googled for plex and redis =(

1 Like

I was hoping for this feature too. It would always be an “optional” feature that doesn’t affect normal usage for most people… But I think it would improve performance for medium-big libraries. Setting up redis server and wordpress with redis plugin on my local webserver improved performance when retrieveng posts…