Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All database code to separate modules #3

Open
bertspaan opened this issue Jan 13, 2016 · 1 comment
Open

All database code to separate modules #3

bertspaan opened this issue Jan 13, 2016 · 1 comment

Comments

@bertspaan
Copy link
Member

API, IO, Core and Graphmalizer now all have some code to communicate with Redis, Elasticsearch and Neo4j, and they all initialize their own connections to those DBs using histograph-config.

  • Move all DB code to separate modules:
    • histograph-db-elasticsearch
    • histograph-db-neo4j
    • histograph-db-redis
  • Each DB module has its own API (e.g. to search), but some have shared functionality (e.g. to do bulk writes)
  • Each module uses histograph-config to get username, port, password, etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant