Git Product home page Git Product logo

Comments (5)

tgruben avatar tgruben commented on May 16, 2024

I've narrowed it down to the index value sliceN. The node on the left, pil0, has a value of 64, while the node on the right, pil1, has a value of 58. It makes sense considering that is the maximum slice stored on the representative node.

Can this be solved without a coordinator piece?

here is some data just for example...
curl -X POST "http://localhost:15001/query?db=3" -d 'count(get(id=1237,frame=d))'
==>pil1:executeCount 3 count(get(id=1237, frame=d)) [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58]
==>pil0:executeCount 3 count(get(id=1237, frame=d)) [16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 39 40 48 49 50 51 52 53 54 55 57 58]

curl -X POST "http://localhost:15000/query?db=3" -d 'count(get(id=1237,frame=d))'
==>pil0:executeCount 3 count(get(id=1237, frame=d)) [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64]
==>pil1:executeCount 3 count(get(id=1237, frame=d)) [0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 32 33 34 35 36 37 38 41 42 43 44 45 46 47 56 64]

from featurebase.

benbjohnson avatar benbjohnson commented on May 16, 2024

I was thinking about this and the easiest thing to do is just have the nodes periodically ping the other nodes to grab their highest slice. It's not something that changes very often. Maybe run it every 5s or so and also on start up. We could also have nodes send out messages to other nodes when their max slice increases.

from featurebase.

tgruben avatar tgruben commented on May 16, 2024

i like it. i'm going to increase the slice size to 2^20 as well. Thats what i'm using in production now, and it seems to be working pretty well

from featurebase.

tgruben avatar tgruben commented on May 16, 2024

@benbjohnson my latest checkin seems to fix this issue

from featurebase.

benbjohnson avatar benbjohnson commented on May 16, 2024

Awesome, that was easy. :)

from featurebase.

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.