Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #10342 (closed)

Opened 11 years ago

Closed 11 years ago

Web re-use RenderingEngine

Reported by: wmoore Owned by: wmoore
Priority: major Milestone: 5.0.0-beta1
Component: Web Version: n.a.
Keywords: FS Cc: fs@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: FS Demo 2

Description

As a proof of principle, let's see if we can re-use existing RenderingEngines? between http requests by using the service factory to see if there are any existing rendering engines, creating these on the client side and seeing if they have the right pixels loaded.

This code could look like this (without the print statements!):
https://github.com/will-moore/openmicroscopy/commit/6f03eb19f9a05e3978dacdbaf41f9035f1f729f5

This would also need more handling of dirty rendering engines that may be retrieved, as well as some way for the client to close any rendering engines that have a specific pixelsId (E.g. when image viewer window closes).

Change History (3)

comment:1 Changed 11 years ago by wmoore

  • Status changed from new to accepted

comment:2 Changed 11 years ago by wmoore

Since we only close all REs when the image-viewer window closes, we should probably only keep REs open if requesting them from the image-viewer. This would need an extra query parameter to indicate this.

comment:3 Changed 11 years ago by wmoore

  • Resolution set to wontfix
  • Status changed from accepted to closed

Decided not to try and fix this issue in web at the moment. Needs more support in the server.

See PR for discussion: https://github.com/openmicroscopy/openmicroscopy/pull/718

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.67164 sec.)

We're Hiring!