[erlang-questions] My frustration with Erlang

Joel Reymont joelr1@REDACTED
Fri Sep 12 17:55:57 CEST 2008


On Sep 12, 2008, at 3:52 PM, Hynek Vychodil wrote:

> Count served requests during some longer period (from minutes, better
> quarter of hour up to day(s)) under some "almost constant" load?  
> Goal is to avoid dynamic load leveling.

Here are the stats from a 1k game run with a total of ~5k players,  
collected on a 10s timer.

Elapsed time between collections is always a little over 10 seconds.

The first report covers game startup. Lots of requests!

Things level off once games start and the load increases again once  
games start to end and I need to update player balances and things.

What does this tell you?

	Thanks, Joel

---

Simulating gameplay with 1000 games...
Waiting for games to end...
50 games started, 262 players
100 games started, 504 players
...
950 games started, 4777 players
1000 games started, 5066 players

=INFO REPORT==== 12-Sep-2008::16:34:34 ===
     requests: 12132
     bytes: 333257
     requests_per_second: 1213
     bytes_per_second: 33322

=INFO REPORT==== 12-Sep-2008::16:34:44 ===
     requests: 2012
     bytes: 27082
     requests_per_second: 200
     bytes_per_second: 2702

=INFO REPORT==== 12-Sep-2008::16:34:54 ===
     requests: 3054
     bytes: 41990
     requests_per_second: 300
     bytes_per_second: 4134

=INFO REPORT==== 12-Sep-2008::16:35:39 ===
     requests: 2009
     bytes: 30349
     requests_per_second: 197
     bytes_per_second: 2980

=INFO REPORT==== 12-Sep-2008::16:35:39 ===
     requests: 4161
     bytes: 35942
     requests_per_second: 415
     bytes_per_second: 3592

=INFO REPORT==== 12-Sep-2008::16:35:39 ===
     requests: 5452
     bytes: 48210
     requests_per_second: 543
     bytes_per_second: 4808

=INFO REPORT==== 12-Sep-2008::16:35:44 ===
     requests: 7662
     bytes: 53124
     requests_per_second: 765
     bytes_per_second: 5304


--
wagerlabs.com








More information about the erlang-questions mailing list