{"repo":"nalgeon/redka","free":true,"listed":false,"github":"https://github.com/nalgeon/redka","clone":"git clone https://github.com/nalgeon/redka.git","description":"Redis re-implemented with SQL","language":"Go","stars":4570,"topics":["database","key-value","redis","sqlite","postgres"],"license":"BSD-3-Clause","category":"databases-storage","readme_excerpt":"Redka reimplements the core parts of Redis with SQL, while remaining compatible with Redis API. Highlights: - Data doesn't have to fit in RAM. - Supports ACID transactions. - SQL views for easier analysis and reporting. - Uses SQLite or PostgreSQL as a backend. - Runs in-process (Go API) or as a standalone server. - Implements Redis commands and wire protocol (RESP). Redka is stable and ready to use for testing and non-critical production scenarios. It's currently in maintenance mode, and no new features are planned. Use cases Here are some situations where Redka might be helpful: Embedded cache for Go applications . If your Go app already uses SQLite or just needs a built-in key-value store, Redka is a natural fit. It gives you Redis-like features without the hassle of running a separate server. You're not limited to just get/set with expiration, of course — more advanced structures like lists, maps, and sets are also available. Lightweight testing environment . Your app uses Redis in production, but setting up a Redis server for local development or integration tests can be a hassle. Redka with an in-memory database offers a fast alternative to test containers, providing full isolation for each test run. Postgres-first data structures . If you prefer to use PostgreSQL for everything but need Redis-like data structures, Redka can use your existing database as the backend. This way, you can manage both relational data and specialized data structures with the same tools and tr","default_branch":null,"files":null,"tree":[],"storefront":"/r/nalgeon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nalgeon/redka/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}