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

Database middleware abstraction #26

Open
sczyh30 opened this issue Apr 15, 2017 · 0 comments
Open

Database middleware abstraction #26

sczyh30 opened this issue Apr 15, 2017 · 0 comments

Comments

@sczyh30
Copy link
Owner

sczyh30 commented Apr 15, 2017

The database middleware can be the abstraction of the whole database operations.

This can be a big change for both the entire architecture and service components:

  • The database middleware should support cache (e.g. Redis), simple load balancing and scalability (database sharding)
  • The database middleware should be HA in production environment (so should be fault-tolerant
  • The service components should operate the DB via the database middleware rather than directly connect to database

In addition, the internal DB library can be replaced with a more convenient and reactive one (maybe JOOQ).

The performance of this middleware component is of vital importance so this should be tested well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant