Giter VIP home page Giter VIP logo

Comments (3)

HouzuoGuo avatar HouzuoGuo commented on May 21, 2024

Sorry - I'm afraid that tiedot does not support it at the moment. There won't be any problem opening multiple database instances, but once schema is changed, the read-only instances don't realize it.

There is an easy workaround though, we can send signals to the read-only instances to notify reloading of schema.

BTW - please use the "nextgen" branch for evaluation, it has important fixes to some concurrency related issues currently present in master branch.

from tiedot.

eduncan911 avatar eduncan911 commented on May 21, 2024

A reset for schema changes isn't too bad... I could live with that.

You mention read-only instances. What I was proposing is each instance would have read/write access. Hence, scaling out to say 2 or 3 nodes for "redundancy" reasons, as well as high load reasons.

from tiedot.

HouzuoGuo avatar HouzuoGuo commented on May 21, 2024

Oh I see.

Take a look at nextgen commit history, you'll see that I made an attempt at partitioning document data and indexes over multiple data structure servers. Scalability came out, however the overall performance was not satisfactory - the use of message passing over network communication is too significant. In the end, the scalable implementation turns out to be 12x slower than the current one.

So I dropped the idea (for now) because majority of tiedot users don't have over 100GB of data.

I could use some more scalable programming exercises =)

from tiedot.

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.