In terms of memory alone, these objects seem pretty small so I don't think 
you'd hit any memory limitations even with 1000 concurrent users using the same 
server.     You'd have at most 1000 rooms and 1000 users - each of which is 
relatively small.    You just won't end up with that much memory per server.   
And this memory gets split between servers when you cluster which would let it 
scale at least in terms of memory usage.

The other factor is to estimate the total number of messages per second.    
Each server can process hundreds of messages/second so unless the activity of 
each user was pretty high, I'd expect you'd be fine with 1000 users.    This 
does not scale quite as well in a cluster when using the LCDS "autoSync" mode 
but you can support in the small 1000s of messages/second cluster wide.

Of course sizing is a difficult thing to predict as one slow-code path on your 
server can introduce a bottleneck.

Jeff

From: [email protected] [mailto:[email protected]] On Behalf 
Of Besite - Bart
Sent: Monday, January 26, 2009 2:02 AM
To: [email protected]
Subject: [flexcoders] LCDS : Number of clients limitation


A question for Jeff Vroom;

Hi Jeff,

In an article of yours, you say about Data Management Services : "Data
Management Services keeps the list of client IDs that are listening for
changes for a given data set in memory so as the number of clients
grows, the amount of memory required to hold this in the server
increases. As changes are made, the server pushes these changes to all
clients, which can become slow as the number of clients that need to
receive this data increases. Thus, there will be limitations to the
size of the data sets and number of clients that you can manage in a
Flex application that uses this feature."

Suppose you have a managed object Room with 20 primitive type properties
and a managed association to a User-object that has 10 primitive type
properties.
Each Flex client has a managed arraycollection of 2 or 3 rooms.

How much clients will my server be able to manage ? hundreds, thousands ?

Kind regards
Bart Ronsyn

<<inline: image001.jpg>>

<<inline: image002.jpg>>

Reply via email to