<div dir="ltr"><div class="gmail_extra">I can update only full row every dt second only. Every element in proplist it's number of requests from client for 1 second smoothed by ewma (i.e. smoothed rate). Every second I want to recalculate summary rate per client per cluster (as I say sum by column; sum between all nodes per client).</div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-12 22:46 GMT+04:00 Vance Shipley <span dir="ltr"><<a href="mailto:vances@motivity.ca" target="_blank">vances@motivity.ca</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On Sun, Apr 12, 2015 at 10:53 PM, Alexander Petrovsky<br>
<<a href="mailto:askjuise@gmail.com">askjuise@gmail.com</a>> wrote:<br>
> I have about 100 nodes in cluster, each node in cluster contains about<br>
> 100000 elements in proplist. All proplists have equal length, the same keys,<br>
> but different values. I need to get the sum values for every key between all<br>
> proplists. By example, it can be represented as matrix NxM (N~=100,<br>
> M~=100000), and I need to get the sum by column.<br>
<br>
</span>Firstly proplists is probably not the data structure you want to use,<br>
as has been pointed out.<br>
<br>
Secondly you may want to consider storing the column sums, updating<br>
each time a column row is updated.<br>
That could be quite cheap to do if the sums are always incremented for example.<br>
<span class=""><font color="#888888"><br>
--<br>
     -Vance<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Петровский Александр / Alexander Petrovsky,<br><br>Skype: askjuise<br><div>Phone: +7 914 8 820 815<div><br></div></div></div></div>
</div></div>