Endings

  • Home
  • Log in
  • « Graves: addressing the remaining bugs...
  • eXist query-caching for the Graves project »

eXist query result caching now working

Posted by mholmes on 08 Nov 2016 in Activity log

After some wrestling with scoping issues, I've finally got a discrete module working which performs query result caching in a fairly elegant manner. The payoff is quite significant; subsequent calls to the same search for (e.g.) the next page of results drop from taking 300 milliseconds to 1 millisecond. The strategy for pruning the cached results by using two maps, one keyed by timestamp, works a treat. This will be used in all of our eXist projects going forward.

I have a couple of small bugs to fix now, one where if there are exactly eleven results, you see only ten of them; and one where the large image in a gallery scan page-image doesn't show up.

This entry was posted by Martin and filed under Activity log.

Endings

Concluding, Archiving, and Preserving Digital Projects for Long-Term Usability
A blog for the SSHRC-funded Endings project, 2016-2020
  • Home
  • Recently
  • Archives
  • Categories
  • Latest comments

Search

Categories

  • All
  • Activity log
  • Announcements
  • Tasks

All blogs

  • Academic
  • AdaptiveDB
  • Admin
  • Announcements
  • CanMys
  • Cascade
  • CGWP
  • ColDesp
  • Depts
  • DVPP
  • Endings
  • HCMC Blogs
  • Landscapes
  • LEMDO
  • Linguistics
  • Maint
  • LondonMap
  • Mariage
  • MoM
  • Moses
  • Pro-D
  • Projects
  • ScanCan
  • HumsSites
  • Wendat

This collection ©2025 by admin • Help • b2evolution CMS