Grouping Heuristics, Online Algorithms, and Ordering #316
Replies: 4 comments 2 replies
-
Streaming and Online Algorithms in Current ApplicationSo, yes, the usage of our current grouping heuristics is actually over a stream of transactions. We read--up to a certain max duration and max size--these transactions to form a block and likewise construct blocks for a max duration before forming our "point." We then apply our group heuristics to this "point." Notably however, the most important of our heuristics is the First Fit Bin Packing--which is in fact an online algorithm. However, when operating over a stream, we have to make a tradeoff between latency and this true online-ness. That is, we have to manufacture points or risk undefined latency. Ideally, we would model this a little bit with a cost function for our users to decide what an ideal algorithm could be here. |
Beta Was this translation helpful? Give feedback.
-
Streaming and Online Algorithms and the Grouping Heuristic APIAt the moment, I believe that we should be using the Grouping Heuristic API independently. It's intersection with common streaming and online algorithms should be in its application to computing over points. |
Beta Was this translation helpful? Give feedback.
-
OrderingIt would be nice to wrap grouping heuristic algs that respect order in some kind of type-state or trait. That way, the ordering safety or not is always known expressively. |
Beta Was this translation helpful? Give feedback.
-
OwnershipWe can accept and return references. This will push cloning down to the developer against the API. If this is reasonable, I say we go ahead. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
There have been a series of questions about grouping heuristics generally and how they contribute to node performance in their application against Celestia. I think there are a fair number of things we can do to improve the API and potentially get some additional performance bumps.
Questions
Ownership
Streaming and Online Algorithms
Ordering
Beta Was this translation helpful? Give feedback.
All reactions