We're using GWT 2.6.1 and SmartClient Version: v9.1p_2014-06-04/PowerEdition Deployment (built 2014-06-04) and Eclipse Kepler SR2..
I got Real-Time messages working on a test basis within our (very large) SmartGWT application, with some help from this forum. (thanks!) You can refer to that post if you want to see code.
I set it up so the server pushes a message out using a Timer, every 3 seconds (after waiting a while to let everything get started). It also adds a serial number to every message.
I found that not every message is received. Specifically:
When I say "a message is dropped", I mean that messages 28, 29, 30 and 32 are received, but there is no sign of message 31 on the client. It just vanishes without a trace. The server log shows that it is sent.
This happens with the LocalMessageDispatcher.
Surprisingly, it's the same when running hosted in Eclipse, or when deployed to a decent-sized Linux server and running in Firefox. When running using Classic Dev Mode, it loses about 15% of the messages, which is fine for Dev mode.
I got Real-Time messages working on a test basis within our (very large) SmartGWT application, with some help from this forum. (thanks!) You can refer to that post if you want to see code.
I set it up so the server pushes a message out using a Timer, every 3 seconds (after waiting a while to let everything get started). It also adds a serial number to every message.
I found that not every message is received. Specifically:
- If the UI is busy building or tearing down a window for more than a second or 2, it will often drop a message, or even 2 messages.
- Even when the UI is not busy, almost every time I let a test run for 1,000 messages, one is dropped, usually between 400-600.
When I say "a message is dropped", I mean that messages 28, 29, 30 and 32 are received, but there is no sign of message 31 on the client. It just vanishes without a trace. The server log shows that it is sent.
This happens with the LocalMessageDispatcher.
Surprisingly, it's the same when running hosted in Eclipse, or when deployed to a decent-sized Linux server and running in Firefox. When running using Classic Dev Mode, it loses about 15% of the messages, which is fine for Dev mode.
Comment