On 26 June 2015 at 15:57, Ganesh Ranganathan <[email protected]> wrote: > > On Fri, Jun 26, 2015 at 1:20 PM, Colin Law <[email protected]> wrote: >> >> >> That way will involve a server request for every character typed, >> since that could easily be several seconds and maybe a lot more this >> will introduce intolerable delays for the user. >> > > I implemented this with a three character minimum input and the delay was > minimum - Barely a fraction of a second. The server based approach works > very well with an indexed column on the DB for even 10K records.
Was that across the internet? If so you must have a good internet connection and a good server. Try it on a weak mobile connection with a slow server the other side of the world. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLszfOX-XofU%3Db4eD%2BKi9uKZFuXaidOV7LgP8Q2KME0M0w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

