write-behind-cache-worker

command module
v0.0.0-...-6af6dc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2025 License: MIT Imports: 13 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL