-
Notifications
You must be signed in to change notification settings - Fork 9
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
How to understand cloud-oriented design? OLTP? #1
Comments
Try best to utilize cloud service to break the limits that are normally found in a program designed for the local machine, such as:
An application on the cloud has almost unlimited resources to use if you got enough money. Thus money-oriented optimization will be considered: Globally synchronization is expensive: locking is difficult to be done correctly in a distributed environment. Snapshot-based designs are more considered. Message transmission becomes more expensive across nodes. Data layout has to be considered if cross-region deploy involves. Algorithms that are friendly in a distributed system will be considered. |
Thank you for your reply, I get the idea. Will it consider scalability under multi-core? |
It sounds like a has-to-do. :) The internal sharding will make it generally friendly to multi-core env: And most of the data in an LSM are static SSTable(on disk or cached in memory), this makes data sharing across cores more efficient. No need to worry about cache line invalidation or synchronization. |
No description provided.
The text was updated successfully, but these errors were encountered: