Skip to content

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

License

Notifications You must be signed in to change notification settings

jorgebay/write-behind-cache-worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published