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"

User Story #10178 (new)

Opened 11 years ago

Last modified 11 years ago

FS/Web stateful service interaction — at Initial Version

Reported by: jamoore Owned by: wmoore
Priority: blocker Milestone: OMERO-4.5
Component: Web Keywords: n.a.
Cc: web-team@…, fs@… Story Points: n.a.
Sprint: n.a. Importance: n.a.
Total Remaining Time: n.a. Estimated Remaining Time: n.a.

Description

In 4.4, web methods were all converted to use a

   svc = openStatefulService()
   try:
      svc.doWork();
   finally:
      svc.close()

idiom. In other words, no stateful service lives longer than a single web gateway method call. With Bio-Formats now backing many of the services (renderingengine, rawpixelsservice, etc), this means that each method call (getPlane(), renderJpeg()) is performing a full setIdinvocation. For some formats, this can take several seconds.

Melissa is working on reducing setId times, and eventually the Bio-Formats state can be cached server-side in order to further speed up the individual lookups, but there may still be the need for properly handling state from the web client.

A first step is likely to evaluate the user impact of the slow down (especially when several users are accessing the web simultaneously).

Change History (0)

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.75880 sec.)

We're Hiring!