Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » A large number of members and online users(such as a Time Attendance/Payroll System)
A large number of members and online users [message #1735053] Wed, 15 June 2016 01:53 Go to next message
David Lee is currently offline David LeeFriend
Messages: 78
Registered: May 2013
Member
Hi,

In case of a Time Attendance Management/Payroll System for an organization with 50,000 employees, which must allow 5,000 users to online use simultaneously without waiting!

If developing a RAP application for that, what are the ideas and approaches?
The detailed, the better! Thank you!

Best,
David
Re: A large number of members and online users [message #1735064 is a reply to message #1735053] Wed, 15 June 2016 07:35 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi David,
in RAP 3.x we worked hard to improve the performance [1]. Our latest
tests have been performed with up to 2000 concurrent sessions and shown
a stable behavior (response times). Ofcourse everything depends on the
hardware/software server configurations. The important part is to use
the new G1 garbage collector like mentioned in [1].

[1] http://eclipsesource.com/blogs/2015/06/25/rap-3-0-performance/
Regards,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: A large number of members and online users [message #1735145 is a reply to message #1735064] Wed, 15 June 2016 19:42 Go to previous messageGo to next message
David Lee is currently offline David LeeFriend
Messages: 78
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 Go to previous messageGo to next message
Markus Knauer is currently offline Markus KnauerFriend
Messages: 179
Registered: July 2009
Senior Member

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/
Re: A large number of members and online users [message #1735386 is a reply to message #1735242] Sat, 18 June 2016 03:50 Go to previous messageGo to next message
David Lee is currently offline David LeeFriend
Messages: 78
Registered: May 2013
Member
Hi Markus,

Thank you for your information!

Best,
David
Re: A large number of members and online users [message #1735556 is a reply to message #1735064] Tue, 21 June 2016 07:21 Go to previous messageGo to next message
Karl Mehltretter is currently offline Karl MehltretterFriend
Messages: 9
Registered: May 2016
Junior Member
Ivan Furnadjiev wrote on Wed, 15 June 2016 07:35
H The important part is to use
the new G1 garbage collector like mentioned in [1].

[1] http://eclipsesource.com/blogs/2015/06/25/rap-3-0-performance/
Regards,
Ivan


With the G1 collector, you can also use the "String deduplication" feature to reduce memory footprint.
http://java-performance.info/java-string-deduplication/.
I wonder how this feature helps with a typical RAP application.


Re: A large number of members and online users [message #1735560 is a reply to message #1735556] Tue, 21 June 2016 07:38 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
that's really interesting. Next time when we do the load testing we will
try this option. Thanks for the tip.
Regards,
Ivan

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: A large number of members and online users [message #1808072 is a reply to message #1735560] Mon, 17 June 2019 06:39 Go to previous message
Stenile Martein is currently offline Stenile MarteinFriend
Messages: 1
Registered: June 2019
Junior Member
Do you have some more requirements?

- Is it just a simple like in or out of office?
- Do you want to have categories like (absence, leave, holiday)?
- Do the employees manage that themselves?
- Do you need some kind of workflow for managers or supervisors?
- Does it need be for certain time periods?

And how do you currently manage the attendance. I'm interested what the current situation is?
Previous Topic:RAP starting issue with 2019-06 RC1
Next Topic:[ANN] RAP 3.9 released
Goto Forum:
  


Current Time: Thu Apr 25 23:18:30 GMT 2024

Powered by FUDForum. Page generated in 0.03297 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top