I am trying to evaluate functionality of Request Batching in DirectJNgine, but I am not finding any example about this. So, I am not getting any clear idea about Request Batching in DirectJNgine. If any body provides any such link, it will be very helpful for me.
There is nothing you have to do with DJN to use batching, it works out of the box.
All you have to do is configure ExtJs itself adequately: check the RemotingProvider.enableBuffer documentation. Set it right, and it will work.
Now, DJN provides an optimization no other provider has, as far as I know: you can execute several batched request in separate threads for better performance (nice in a 4-core/8-thread machine). Read the DJN documentation for more info.
I tried sending 61 requests to the server with a sleep of 20 secs. All requests are getting batched even without implementing enablebuffer.
And if I set buffer value to 10 secs and timeout value to 15 sec. then too the requests are getting batched, which should ideally get a timeout as there was a sleep of 20 secs.
There does not seem any difference between the two cases mentioned above.
But does that guarantee that the requests will always get batched even if I do not implement enablebuffer??
Plzzz plzzz help. If anyone has implemented enablebuffer, plzz provide a sample.