Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/douglascamata/db_sync
A simple test to synchronize a Cassandra and an Elastic Search.
https://github.com/douglascamata/db_sync
Last synced: 3 days ago
JSON representation
A simple test to synchronize a Cassandra and an Elastic Search.
- Host: GitHub
- URL: https://github.com/douglascamata/db_sync
- Owner: douglascamata
- Created: 2015-02-18T21:12:03.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-02-18T23:24:44.000Z (over 9 years ago)
- Last Synced: 2024-10-11T14:08:45.115Z (26 days ago)
- Language: Python
- Size: 152 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Requirements
- Python 3.4.x
- ElasticSearch installed and running on default port
- Cassandra installed and running on default port# Run instructions
Install the package with `python setup.py install` and to run the daemon execute `python db_sync_daemon.py start`.
By default, the daemon will synchronize the databases each 5 seconds. You can change this by passing the command-line argument `--time` with the number of seconds you want to poll the databases, for example, the following command will synchronize the databases each 10 seconds:
`python db_sync_daemon.py start --time 10`
To stop, you may use `python db_sync_daemon.py stop`.