Archived
This forum has been archived. Please start a new discussion on GitHub.
SharedImplicitContext vs PerThreadImplicitContext
Hi!
Could you describe basic use cases for SharedImplicitContext and PerThreadImplicitContext?
I plan to initialize implicit context at start of the IceGrid service (IceBox.Service.start(...)).
Could you describe basic use cases for SharedImplicitContext and PerThreadImplicitContext?
I plan to initialize implicit context at start of the IceGrid service (IceBox.Service.start(...)).
0
Comments
-
Hi
Most application will use shared implicit context. Per thread implicit context can be useful in very specific use-case where some context associated with each thread needs to be transferred through the context (transaction IDs for example).
See also https://doc.zeroc.com/display/Ice/Implicit+Request+Contexts
Cheers,
Benoit.0 -
Hi, Benoit!
Thanks for answer!0