Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 751 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 751 Bytes

Write-Behind Cache Worker

A worker that reads from a backing SQL store and caches into Redis using write-behind strategy.

Go

Features

  • Polls from the db at regular intervals
  • Uses Redis request pipeline
  • Tolerates intermittent failures
  • Easy to define the db queries and templates for redis keys
  • Configurable via env vars or config file

Building

make build

Running tests

make start
make test

License

This software may be modified and distributed under the terms of the MIT license. See the LICENSE file for details.