|
|
Re: A large number of members and online users [message #1735145 is a reply to message #1735064] |
Wed, 15 June 2016 19:42 |
David Lee Messages: 83 Registered: May 2013 |
Member |
|
|
Hi, Ivan,
Thank you for your quick reply!
For 5000 concurrent sessions, is it possible to utilize such as a RAP sever cluster instead? for example, 5 servers together, each of them shares 1000 concurrent sessions! Is it possible doing so? If yes, will it be significantly helpful in this case?
I am actually not familiar with hardware, and trying to find out a good solution for big number of concurrent sessions!
In my opinion, RAP is really superb, thank you for your efforts!
Best,
David
[Updated on: Wed, 15 June 2016 19:53] Report message to a moderator
|
|
|
Re: A large number of members and online users [message #1735242 is a reply to message #1735145] |
Thu, 16 June 2016 14:50 |
|
Hi David,
thank you for the flowers, always appreciated!
For 5.000 concurrent users I would definitively suggest to use a cluster of servers with a load balancer as a front-end. This is a scenario that is advisable in most professional cases. Usually you will use sticky sessions (i.e. the requests from a single user are always routed to the same (RAP) backend server) with an Apache, nginx, or any other load balancer as frontend.
But even with multiple backend servers it is advisable to watch the memory consumption of a single user session from the very beginning in the development cycle. If it turns out that you need 5 MB for every user session, you will need... a lot of RAM in your server(s). If you need 50 MB you will need even more. And if you have memory leaks you will need more and more memory over time. How much memory really depends on your application code.
Since your application sounds very much like a commercial application, I would think about having a support contract, e.g. https://marketplace.eclipse.org/content/eclipsesource from the Eclipse Long Term Support (LTS). I'm mentioning this because most people just do not know that there is something like this available for Open Source software.
Thanks,
Markus
--
Twitter: @mknauer23 and @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03434 seconds