Skip to content
Discussion options

You must be logged in to vote

Hey @DenSpirit, you probably don't need to worry too much about performance in your case if you don't see a noticeable overhead in the server.

In particular, after reading the code I can see that plan caching service object is instantiated for every child container, and it's then subscribed to parent's plan caching service. It could mean that the "one-off child" method for requests is going to be way less efficient, denying caching benefits.

Yeah, that's right. Propagating request related values in a RequestContext param could be a way to avoid this. The main issue I see is you're probably creating lots of objects in each request. As said, maybe this is not an issue at all if it's not c…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DenSpirit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants