Git Product home page Git Product logo

Comments (5)

opuneet avatar opuneet commented on June 19, 2024

Hi @gonzajg

Yes we don't have this working right now and this feature is coming soon!
Actually, mset in Dynomite will not be scatter gather, it will be something like shard aware micro batches, when you submit the total batch to Dyno.

Reason for the difference is that scatter gather talks to all dynomite nodes, where as something like mset should talk to only nodes that map directly to yours keys.

e.g [a, b, c, d] are your keys, and your mset [a,b,c,d] command may translate to mset [a,d] on one host and mset[b] on another and mset [c] on another, depending on the sharding.

But this is not scatter gather. In any case I can re-use some of the code from scatter gather to actually implement this.

So long story short, coming soon :)

I'll keep the issue open and will resolve when I push the feature.

from dyno.

gonzajg avatar gonzajg commented on June 19, 2024

Understood!
I'd always thought this could be done, especially when I saw that mset, or keys command was not supported by twemproxy. I'm glad and thankful you took the lead with this.

from dyno.

opuneet avatar opuneet commented on June 19, 2024

@gonzajg I've completed the changes to support micro batching in the Dyno connection pool.
And I've added support for mset, mget and msetnx. However, I see that mset and msetnx still need to be implemented on the Dynomite server side. Hence I'm going to refrain from merging my pull request into Dyno/master till we get the server side fix.

I'll file an issue on the server side, I've already spoken with @timiblossom about this.

Thanks.

from dyno.

maksimlikharev avatar maksimlikharev commented on June 19, 2024

any update on this one?
it looks like on the server side mget listed as supported, but driver has no implementation.

from dyno.

jcacciatore avatar jcacciatore commented on June 19, 2024

@maksimlikharev I anticipate having this ready in the next couple of weeks.

from dyno.

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.