Ruby on Rails
Friday, June 26, 2015
On Fri, Jun 26, 2015 at 1:20 PM, Colin Law <clanlaw@gmail.com> 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.
Thanks,
Ganesh
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CALFmRoHO6rrLpDi0AzVBHSkU9v_AV0MSrStzOPuespq2OC%3DBhg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment