https://github.com/sitegui/service-examples
Some basic examples using Docker, Redis, RabbitMQ, Graphite and Grafana
https://github.com/sitegui/service-examples
Last synced: 12 months ago
JSON representation
Some basic examples using Docker, Redis, RabbitMQ, Graphite and Grafana
- Host: GitHub
- URL: https://github.com/sitegui/service-examples
- Owner: sitegui
- Created: 2019-05-08T21:59:49.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-08T22:02:10.000Z (about 7 years ago)
- Last Synced: 2025-02-05T15:53:57.181Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Service examples
This repo has some examples of basic usage of Redis, RabbitMQ, Graphite and Grafana
# Redis
docker run --name redis -d redis
docker exec -it redis redis-cli
Concrete examples
- keys: SET, GET, DEL, INCR
- hash map: HGET, HSET, HGETALL, HDEL
- string
- list: \[L|R]PUSH, \[B](L|R)POP
Other structures
- geo index
- hyperloglog
- pub/sub
- set
- sorted set
- stream
`docker-compose up`
# RabbitMQ
- Exchange
- Queue
- ack
`docker-compose up --scale consumer=2`
# Graphite + Grafana
- Whisper
- Aggregator
`docker-compose up --scale node=3`