Quick answer: Redis on a VPS speeds apps as cache, session store and queue – bind locally, set requirepass, limit maxmemory.
Related
VPS & root servers: Order VPS in Germany · NexoraHost · nexorahost.com (Maincubes FRA01 Frankfurt · Ryzen · NVMe · GDPR)
Frequently asked questions (FAQ)
When is Redis worth it?
Repeated DB queries, sessions, rate limits, job queues (Bull/Sidekiq). When latency or QPS hurts.
Bind Redis locally only?
Yes in production: bind 127.0.0.1 or internal Docker network. Never expose without auth + TLS.
AOF or RDB persistence?
Cache-only: RDB fine. Sessions/queues: AOF or hybrid. Trade-off: disk IO vs durability.
RAM planning?
Set maxmemory + allkeys-lru. Redis is in-memory – avoid oversizing.
Redis with PgBouncer?
Complementary: Redis caches hot keys; PgBouncer pools Postgres → PgBouncer guide.