Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » Slow responsiveness with more than 8-10 users logged in
Slow responsiveness with more than 8-10 users logged in [message #1823867] Fri, 03 April 2020 05:33 Go to next message
Eclipse UserFriend
Hi there,

A co-worker developed a small application with scout and we ran into a problem. If there are more than 8-10 users logged in, the UI gets unreasonably slow and laggy. The main page is a table (like the demo) with multiple rows, which consist of multiple textfields. If only one user is logged in, everything runs smoothly, but with more users even a simple click into a textfield triggers the "please wait" popup - and stays for a minute or two, depending on how much users are logged in.

I noticed the same behaviour if I open our app in the same browser window in more than 10 tabs. The contacts demo has the same problem - after 7 or 8 tabs, the whole thing gets very slow.

Is this a known problem? Are we doing something wrong? I noticed that after leaving and entering a textfield, events will be sent as a json (I bevlieve 'endCellEdit' and 'startCellEdit' or something like that).
Re: Slow responsiveness with more than 8-10 users logged in [message #1823882 is a reply to message #1823867] Fri, 03 April 2020 08:49 Go to previous messageGo to next message
Eclipse UserFriend
Hi Sebastian

Does it happen with 8 users from different browsers or do you use one browser with 8 tabs?

Scout uses long polling so that the server can inform the browser after an asynchronous task has been completed. This means, the ui creates a request which will stay open until an async task finishes or the timeout (1 minute) is reached. If you open 7 tabs, 7 connections are open, which is normally not a problem, unless you use Chrome and every tab points to the same host.
The reason is, Chrome allows only 6 connections to the same host: https://stackoverflow.com/questions/29206067/understanding-chrome-network-log-stalled-state

This is only a problem if you connect to the same host from the same browser with more than 6 tabs, which is very unlikely in a real life scenario in my opinion.

Kind regards
Claudio
Re: Slow responsiveness with more than 8-10 users logged in [message #1823883 is a reply to message #1823882] Fri, 03 April 2020 08:57 Go to previous message
Eclipse UserFriend
Hi Claudio,

no, the users are connecting from different endpoints/different browsers. I just wanted to test it locally in my machine and thought I would simulate 8 connections by opening 8 tabs. Your hint with chrome is very appricated, though, I'll test with a different browser.

However, the problem I see with 8-10 different users/browsers is similar to the problem I see when connecting with 8 tabs - just clicking on one text field triggers the "please wait" popup.

Do you think, that the setup might be the problem? The UI is hosted on a linux machine, the backend on a different, a windows, machine. They are both in the same network, though. The UI has a nginx between the users and the app server.

Thanks
Sebastian
Previous Topic:Error with Chart Fields
Next Topic:Possible bug in AbstractTable class
Goto Forum:
  


Current Time: Sat Jul 05 14:02:09 EDT 2025

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

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

Back to the top