I need to download and parse data from other sites, so the whole process could take 15-100 seconds, that's why I'd like to at least show "I'm doing this and this" at the moment :)
On 26 Sie, 12:35, Peter De Berdt <[email protected]> wrote: > On 26 Aug 2009, at 12:14, Paweł K wrote: > > > I'd like to make search form with some kind of "progress bar" - user > > posts input, and AJAX overlay shows current progress (only step is > > needed like 20%) > > > Do you have any suggestions how to achieve this effect? > > On the serverside: background process that can return progress > feedback (you'll need to implement this yourself, and your search > engine will have to be able to return progress too), pass the search > task to the background processor > > On the clientside: > - PeriodicalUpdater/Executer > - Comet > - Juggernaut > - ... > > Unless you are talking about really long request/response cycles for > your searches and you know that the time it takes them to complete is > not caused by bad indexing/optimizing, I really don't see why you > would need this. We handle a fair deal of data and our searches take > fractions of a second, no matter how complex the query might be (most > of the time, Solr handles the searches anyway). > > Best regards > > Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

