You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2019/09/06 17:19:44 UTC

[GitHub] [incubator-pinot] npawar opened a new issue #4589: Benchmarking for Order By implementations

npawar opened a new issue #4589: Benchmarking for Order By implementations
URL: https://github.com/apache/incubator-pinot/issues/4589
 
 
   We have introduced a new Table data structure. The structure has methods upsert (inserts and aggregates the Record), merge(Table), iterator. We are planning to use it in Order By. Eventually, it should be used by all the operators and all stages of the query execution end to end. Imagine having just a Table data structure that flows from segment to instance to broker to end results, and each operator/stage simply upserts/merges/sorts as needed.
   
   The Table has a SimpleIndexedTable and a ConcurrentIndexedTable. 
   1) Using Simple would mean each segment level operator gets its own Table. The tables are merged sequentially in the Combine service. The broker combines the tables from each server sequentially.
   2) Using Concurrent would mean, we can pass the same Table instance to all the segment operators. They can upsert rows into the same Table. The Combine service now becomes a noop.
   3) We can mix and match which Table to use at which stage
   
   The Table has a capacity. When the capacity is reached, a sort and trim happens. This will help us achieve on-the-fly trimming at each stage of the query. We need to benchmark the performance of this for various workloads and various algorithms:
   1. Capacity never reached
   2. Capacity reached
   3. Capacity reached very frequently 
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org