Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arnauorriols/gol-katas-1-consul-kv-store
Game of Life (crazy) Katas #1. Consul series: getting to know Consul K/V store
https://github.com/arnauorriols/gol-katas-1-consul-kv-store
Last synced: 12 days ago
JSON representation
Game of Life (crazy) Katas #1. Consul series: getting to know Consul K/V store
- Host: GitHub
- URL: https://github.com/arnauorriols/gol-katas-1-consul-kv-store
- Owner: arnauorriols
- Created: 2016-10-14T23:51:55.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-16T18:58:25.000Z (about 8 years ago)
- Last Synced: 2024-10-24T10:34:04.767Z (2 months ago)
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Game Of Life (crazy) Katas, #1
## Consul Series: getting to know Consul K/V store## Description
Inaugurating the Game of Life (crazy) Katas, a GoL implementation using Consul K/V store. The goal
is to get to know the UX of this database, and specially one of its core features: long-polling
subscription to keys.Featuring: Consul, Curl and Docker.
## Usage
### Start game
```console
$ cat examples/glider.large | ./start.sh
```### Stop game
(Ctrl-C to exit game)
```console
$ ./stop.sh
```## Installation
The only system dependency is docker-engine (GTFO if you don't have it installed). The ./start.sh
will take care of the rest.## Afterthought
* A must feature (even for a real use-case IMHO) that is missing from Consul is the ability to atomically wait for non-existent keys.
* Consul K/V store lacks a nice feature that would be waiting for a whole group of keys to change. Currently it supports waiting in a prefix for any of its subkeys to change, but not all of them.
* Consul behaves funny sporadically when under stress.