Elisabitao / honeycrm

Automatically exported from code.google.com/p/honeycrm
0 stars 0 forks source link

cache type ahead search results heavily on client side to avoid round trips to serve while typing #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. the search starts when the user entered >=3 characters
2. if he enters a 10 letter word this will create 10-3-1=8  (more or less 
concurrent) requests to the server
3. this creates very high load on the server

What is the expected output? What do you see instead?
give the user some time to complete his input (like 100ms). assume that he 
completed writing and start search after this threshold instead of starting a 
new search every time a button is pressed.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by ingo.jae...@gmail.com on 17 Jun 2010 at 2:15

GoogleCodeExporter commented 9 years ago
setting milestone to 0.5 since user experience is just not good enough until 
this is implemented.

Original comment by ingo.jae...@gmail.com on 21 Jun 2010 at 8:14

GoogleCodeExporter commented 9 years ago
fixed in r105 by starting search deferred by 300 ms. additionally search 
results are cached locally. 

Original comment by ingo.jae...@gmail.com on 2 Jul 2010 at 6:07