• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

Ticket #1051 (closed task: fixed)

Opened 4 months ago

Last modified 3 months ago

Improve Thumbnail Performance

Reported by: callan Owned by: callan
Priority: critical Milestone: 3.0-Beta3.1
Component: Bin-Services Version:
Keywords: Cc: jburel, jmoore

Description

The thumbnail performance in milestone:3.0-Beta3.0 is quite degraded; partially due to #1047 but mainly because of non-intelligent database querying.

Change History

Changed 4 months ago by callan

  • status changed from new to assigned

Changed 4 months ago by callan

  • cc jmoore added

#2662 implements the following improvements:

  • Shallow retrieval throughout to reduce database overhead for cached thumbnails
  • Bulk retrieval for bulk thumbnail methods (getThumbnailSet() and getThumbnailByLongestSideSet())
  • Deferred renderer creation
  • Cleanups to data retrieval hierarchy
  • Moved certain log messages into DEBUG
  • Cached enumeration retrieval (single set of enumeration retrievals per thumbnail bean instance)

Changed 4 months ago by callan

Sorry r2662.

Changed 4 months ago by jmoore

See r2678 for a possible solution to the flushing issue in getThumbnailSet. If iupdate.commit() interferes with other logic in the other methods, then probably the only solution is to use SessionFactory directly and manage the session yourself (barring the Executor).

Changed 3 months ago by callan

r2789 should now make this about as fast as we're going to get it without a lot more work.

Changed 3 months ago by callan

  • status changed from assigned to closed
  • resolution set to fixed

All the multi-100ms problems have now been resolved. Difficult tasks still remain that could increase performance:

  • Server-side in memory caching
  • Thumbnail state cache that is database ignorant
  • Various I/O pooling techniques
  • etc.

Closing until a time at which it's deemed we need to take this to the next level.

Note: See TracTickets for help on using tickets.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/