Git Product home page Git Product logo

Comments (4)

SergejJurecko avatar SergejJurecko commented on June 12, 2024

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.

kulshekhar avatar kulshekhar commented on June 12, 2024

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.

SergejJurecko avatar SergejJurecko commented on June 12, 2024

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.

kulshekhar avatar kulshekhar commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.