dont query the database then! :) there are many possible solutions:
- enable caching (2nd level cache, hibernate) if the same data is read - precalculate the data and store them in a singleton service - or just read the whole data and keep it in memory as long as it is not to big (and static) ..... just some ideas:) g, rkis Stephan Windmüller <stephan.windmuel...@cs.tu-dortmund.de> 10.02.2010 13:54 Bitte antworten an "Tapestry users" <users@tapestry.apache.org> An Tapestry users <users@tapestry.apache.org> Kopie Thema Speeding up Autocomplete mixin Hello! I just experimented with the autocomplete AJAX mixin. The values are generated correctly, but the response is very slow. This is caused by the database lookup which takes very long to retain all objects and retrieving the label for them. Is it possible to cache the list of Strings somehow for this mixin to speed things up? Regards Stephan --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org