TLDR Web Dev · ARTICLES & TUTORIALS

REARCHITECTING: REDIS TO SQLITE

wafris.org13 min read

Summary from the TLDR Web Dev newsletter

Wafris, an open-source web application firewall company, transitioned its Rails middleware client from using Redis to SQLite as the backing datastore. This was because Redis deployments had high network latency and poor performance in cloud environments. SQLite offered a speed advantage, especially in the "hot path" of rule evaluation, which involves frequent reads of large datasets.