Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion count events within last XX minutes
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Max Lapshin  
View profile  
 More options Aug 26 2012, 4:04 am
From: Max Lapshin <max.laps...@gmail.com>
Date: Sun, 26 Aug 2012 12:04:17 +0400
Local: Sun, Aug 26 2012 4:04 am
Subject: Re: [erlang-questions] count events within last XX minutes

On Sun, Aug 26, 2012 at 12:02 PM, Michael Truog <mjtr...@gmail.com> wrote:
> There often is a habit with quick projects to throw data in ets, since it is
> easy to access the data as global data.  This helps people coming from an
> imperative programming background.  I don't see a good reason in the email
> thread that shows that ets is the best solution,

But there is a good reason. It is performance. For example, in
erlyvideo all major statistics data are
collected not via gen_server:cal: you cannot ask process to tell its
statistics, because
it is very easy to DOS your server with such replies.

If you put stats into public ets, than collector will not be
overloaded with requests.
_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.