Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Transformers occasionally locking up in pub serve #887

Closed
blois opened this issue Apr 10, 2014 · 1 comment
Closed

Transformers occasionally locking up in pub serve #887

blois opened this issue Apr 10, 2014 · 1 comment

Comments

@blois
Copy link

blois commented Apr 10, 2014

The angular transformers are sharing a cached resolver state to have faster build times, but this cached resolver is locked while it's updating for async IO.

In pub serve, there are cases where a transformer in a later phase is being invoked before one in an earlier phase. This causes the IO for the first transformer to block waiting on the other transformer, but the second transformer cannot proceed because the first one has the resolver cache locked.

Avoiding the resolver cache completely increases total transformer time by 4x for pub build and 160x for pub serve incremental updates.

I'm investigating a couple of approaches which hopefully will not impact build or update times.

@blois
Copy link
Author

blois commented Apr 11, 2014

Fixed with #889

@blois blois closed this as completed Apr 11, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant