On Sep 27, 3:23 am, Donn <[EMAIL PROTECTED]> wrote:
> The thing about them is I see a lot of db hits happening. Each letter (or two)
> pulls another query on the back end. Ouch. ( I think)

It depends.  In the most basic model, yes, but if the underlying data
isn't changing rapidly, you can set up a cache of results to alleviate
the pain on the DB.  Caching results from the first three letters
typed is only ~17K entries (~46K if you include 0-9).  Depending on
the size of the underlying table, that's not too bad, since all users
will hit the same cache.

-Aaron
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to