REDIS AS MAIN DATABASE
summary
Describes moving business entities (promotions, carts, users) and queues from CouchDB/Postgres into Redis and measuring a clear speedup and lower load; uses Redis for pub/sub, pop/psub, pipelines and Lua scripts, and relies on redis-py, tornadoredis, txredis plus an ORM called rom/rediska for declarative models. Explains persistence tradeoffs between RDB snapshots and AOF append-only file, fsync frequency, and replication; asserts Redis can be a primary DB if data fits in RAM and architecture handles replication and failover.
AI-written summary · about
