-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Many zkcomet ajax queries... sometimes too much makes Chrome page to freeze...
.
Any clue why that ? See the number of queries based on the Network tool of the browser... each of them same size and also under 100ms each requests....
In my application I do use some Executions.schedule, but I believe that if multiple of these occurs.... they should sends only if first there are really UI changes otherwise should make sure not to send the data... And also if there are multiple schedule (due to servlet 3) it should be able to gather the multiple requests and respond only in 1 ajax request....
Not sure what to think... anyone have any insights ?
Hello,
Here is what I have found so far ...
Everytime I am calling the following (part of my creation of objects ...
EventQueue qe = EventQueues.lookup(queueName, type, create);
qe.subscribe(myEventListener);
It create a zkcomet query to happend (not su sure why it does create 18 of them if i do 18 times the qe.subscribe)....
Anyone have any idea why EventQueue subscribe cause a zkcomet query ?
If i leave it like this and i have 100 users connection, that would create 100 * 18 queries to happen on the server... pretty heavy.... Also in the post of the zkcomet function there is actually nothing, its blank so I am not sure why that call is required or maybe i have a configuraiton file somewhere that is missing something ?
Asked: 2012-12-21 02:18:25 +0800
Seen: 67 times
Last updated: Nov 18 '13