Comments (4)
Mostly correct. More nodes in a cluster do not increase write throughput, but they do increase read throughput. Writes get replicated to all nodes within a cluster. You are actually decreasing write throughput with every additional node. More nodes in a cluster increases reliability.
More clusters increase throughput and storage capacity.
from actordb.
Thanks for the clarification.
Some related follow up questions:
- I imagine that actors of the same type will be spread over multiple clusters as their number grows.
- A complete backup would involve backing up the
/path/to/source/lmdb
for any node in each cluster for all clusters.
Is this right?
Is there a way to do realtime streaming backups?
from actordb.
I imagine that actors of the same type will be spread over multiple clusters as their number grows.
Yes
A complete backup would involve backing up the /path/to/source/lmdb for any node in each cluster for all clusters.
Yes. Generally you could get away with just backing up one of the nodes in the cluster, but backing up every node is safer because so you don't loose writes that may not have been fully replicated to the node you are backing up.
Real time streaming backups are not available at the moment yet. I think it's on the roadmap for LMDB, which we can piggy back on. It would be possible to do it without waiting for them, but it would not be as efficient.
We are considering a geo replication mode, which would basically be a backup option. Right now the plan is: An active cluster in one datacenter, replicates to another (or more) passive cluster in another datacenter. Then there is an API call that switches which of the two clusters is the active one. This idea may change however. It's our thinking at the moment.
from actordb.
This clarifies the idea I have of ActorDB in my head. It's great to see that streaming backups and geo replication are being considered and I agree with your view on waiting for LMDB to implement it.
I'll continue digging into ActorDB further and will probably be asking some more questions :)
from actordb.
Related Issues (20)
- Unable to open req pipe MacOS 10.13.6 HOT 2
- Error: {error,{error,<<"unknown_actor_type: type1">>}} HOT 3
- How to execute actorDB's load test? HOT 1
- SQLight drop in replacement build for C/C++ HOT 1
- LMDB still grows after delete then insert HOT 3
- actordb crash: exception exit: badmatch, sqlite_error, "SQL logic error or missing database" HOT 1
- Timeout error when executing init.example.sql on OSX HOT 2
- Connecting using MySQL CLI on OS X fails with error HOT 5
- PRAGMA LIST not updating after PRAGMA COPY HOT 1
- How to send multiple parameterised queries through the thrift interface? HOT 9
- Using mysql driver HOT 2
- Execute query timeout by using actordb_console
- Same name columns in query result are swallowed and column order can't be specified HOT 1
- Queuing of queries (basic question) HOT 3
- sqlcipher HOT 1
- Sqlite upgarde
- Running protractor test using docker-compose but getting error HOT 3
- Are clusters immutable?
- vm.args needs to have a -name parameter. -sname is not supported.
- Storage for FastAPI service
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from actordb.