Perhaps we can incorporate parts of [Spotify's library](https://github.com/spotify/async-datastore-client).