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

terarksql-cluster design #21

Open
rockeet opened this issue Sep 13, 2018 · 0 comments
Open

terarksql-cluster design #21

rockeet opened this issue Sep 13, 2018 · 0 comments

Comments

@rockeet
Copy link
Member

rockeet commented Sep 13, 2018

  1. Make storage engine distributed: communicate between nodes
    • 1-writer, n-reader / master-slave(slave is reader)
    • data sync by storage engine: RocksDB WAL log(async between nodes after master fsync WAL to SSD)
  2. Master election?
  3. MySQL layer is stateless
    • MySQL layer master/slave is same as storage engine level
    • MySQL layer know it is master or slave
    • Disable MySQL master/slave
  4. Configuration syncs between nodes: Storage Engine config & MySQL config
    • Using ZeroMQ for WAL log sync
    • First release: Only one configured master
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