logo       

Re: Rapid Ajax requests out of order: msg#00070

lang.ruby.rails.spinoffs

Subject: Re: Rapid Ajax requests out of order



Joshua Sierles wrote:
> That's a possibility, but that would require a delay on the server
> side where I buffer X number of connections and make sure they are
> ordered correctly before those messages are saved to the db, or sent
> off to another user. So, if there has to be a buffer, where?

It would also require that the server processes talk to each other,
which may be a little on the complicated side.

I would suggest that each time you want to send a request to the server
you instead put that information into an array and have something
monitor the array and send each request in the order that it happens.

--
Michael Peters
Developer
Plus Three, LP


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise