Bug #5803

Listening fixes and optimizations for subscription item labeling

Added by Tuukka Lehtonen over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:2015-04-25
Priority:4Due date:2015-04-25
Assignee:Tuukka Lehtonen% Done:

100%

Category:-Spent time:10.00 hours
Target version:1.18.1
Release notes:Performance optimization and listening fixes for subscription item labeling in Model Browser.
Tags: perf, subscription, variable
Story points-
Velocity based estimate-
ReleaseSimantics 1.18.1Release relationshipAuto

Description

I found out the hard way that at times when DB requests are recomputed as a result of a write transaction, the ReadGraph provided to the request for recomputation can be set to either synchronous or asynchronous mode without any determinism.

Some requests, if computed in asynchronous mode, result in appalling performance due to pending-result thrashing. In those cases the request code should make sure it sets the ReadGraph into the proper mode.

Associated revisions

Revision 31212
Added by Tuukka Lehtonen over 2 years ago

Added explicit ReadGraph.setSynchronous(true) statements to selected listened DB requests.

Otherwise pending result thrashing can cause appalling performance in request recomputation after writes.

refs #5803

Revision 31213
Added by Tuukka Lehtonen over 2 years ago

Merged trunk@31212 to branches/simantics-1.18 on 2015-04-25 for 1.18.1 release.

refs #5803

Revision 31215
Added by Tuukka Lehtonen over 2 years ago

Fixed SubscriptionItemLabel to compile with JDK 7 also.

refs #5803

Revision 31216
Added by Tuukka Lehtonen over 2 years ago

Merged trunk@31215 to branches/simantics-1.18 on 2015-04-26 for 1.18.1 release.

refs #5803

History

#1 Updated by Tuukka Lehtonen over 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

#2 Updated by Tuukka Lehtonen over 2 years ago

  • Tags changed from variable, subscription to variable, subscription, perf
  • Release notes set to Performance optimization and listening fixes for subscription item labeling in Model Browser.

Also available in: Atom PDF