Home Help Center

SharedImplicitContext vs PerThreadImplicitContext

voronkovvoronkov Member Sergey VoronkovOrganization: AigrindProject: Game
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(...)).

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    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.
  • voronkovvoronkov Member Sergey VoronkovOrganization: AigrindProject: Game
    Hi, Benoit!
    Thanks for answer!
Sign In or Register to comment.