English version | 中文版
- Send the data to the local cache.
Accumulator
usesAggregator
to aggregate local data, and periodically flushed toAccumulatorClient
.- The
AccumulatorClient
has twochannel
s, which receive data in turn according to the double buffering strategy. - When one channel is receiving data, the other is sending data to the server.
- Message passing through prpc.
AccumulatorServer
receives the data pushed by all nodes.AccumulatorServer
usesAggregator
to aggregate all received data and save the results for query.
Accumulator
forwards toAccumulatorClient
.AccumulatorClient
sends a request toAccumulatorServer
.- Message passing through prpc.
- Send the request to
AccumulatorServer
for processing. - Complete the corresponding query operation according to the
Aggregator
.