[erlang-questions] count events within last XX minutes

Max Bourinov bourinov@REDACTED
Sun Aug 26 11:02:05 CEST 2012


Thank you!

+1 for testing :-)

Best regards,
Max




On Sun, Aug 26, 2012 at 12:41 PM, Gleb Peregud <gleber.p@REDACTED> wrote:

> On Sunday, August 26, 2012, Max Bourinov wrote:
>>
>> Lately when working on project with up to a million concurrent clients
>>> connected I had to replace few instances of central servers with a public
>>> ets'es to avoid bottlenecks under heavy concurrent access. So choice of
>>> data storage may depend on what are access patterns of your data - i.e. how
>>> concurrent reads and writes are.
>>>
>> That is a good point.
>>
>> I have idea how to utilize ETS in my case too: one process will write to
>> ETS, and all other will read from ETS.
>>
>> The question now: will it benefit me or not?
>>
> Probably yes, if read_concurrency is enabled and you have enough
> concurrent processes reading data. The best way to answer for sure is to
> implement both and measure under some high load situation.
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120826/2363fbb9/attachment.htm>


More information about the erlang-questions mailing list