|
Re: Rapid Ajax requests out of order: msg#00071lang.ruby.rails.spinoffs
I noticed that a queueing mechanism like this has been added to scriptaculous for visual effects. Maybe it could be adapted for Prototype? Ajax.ThrottledRequest Joshua Sierles On 11/12/05, Michael Peters <mpeters-aUYv5hkjw45l57MIdRCFDg@xxxxxxxxxxxxxxxx> wrote: > > > 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 > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@xxxxxxxxxxxxxxxx > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Rapid Ajax requests out of order: 00071, Michael Peters |
|---|---|
| Next by Date: | Re: InPlaceEditor trouble: 00071, R. Saccon |
| Previous by Thread: | Re: Rapid Ajax requests out of orderi: 00071, Michael Peters |
| Next by Thread: | New class: DHTML window: 00071, Martin Scheffler |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |