1 / 17

Version consistency implementation

Version consistency implementation. Contents. Apache Tuscany VcContainer Domain manager VcContainer communication. Apache Tuscany. Tuscany is an open source implementation of SCA (Service Component Architecture) Provide a model for creating composite component

nitesh
Download Presentation

Version consistency implementation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Version consistency implementation

  2. Contents • Apache Tuscany • VcContainer • Domain manager • VcContainer communication

  3. Apache Tuscany • Tuscany is an open source implementation of SCA (Service Component Architecture) • Provide a model for creating composite component • service: represents an addressable interface of the implementation • reference: servics that the impl required which is provided by another component • property: allow for the configuration of an implementation

  4. Apache Tuscany • Example

  5. Apache Tuscany • Runtime Proc component • Tuscany components communicate via endpoint • service endpoint: the service a components expose • reference endpoint • Interceptor handles messages passing through it • transaction, security, …

  6. Apache Tuscany • A composite component is running on Tuscany runtime

  7. VC Container • We define a VC-container to manage version consistency

  8. VC Container • When root transaction T0 is initiated on Portal, sub-transactions, i.e., T1, T2, T3, T4, on other components need to know their root transaction

  9. VC Container • Define a trace interceptor for business component • Trace reference interceptor • add root transaction id to the message that is passing through it • Trace service interceptor • resolve the message passing through it, get the root transaction id • map current sub-transaction and root transaction

  10. VC Container • Data model • future/past arcs entering/leaving a component • transactions executing on current component

  11. VC Container • VC algorithm logic knows • when to create/update/remove a future/past arc • when to notify a parent/sub component • components need to be notified

  12. VC Container • Communication component • how to notify parent/sub components

  13. VC Container • Component lifecycle management • Activate/deactivate a component for update

  14. VC Container • All these components or modules are wrapped in a VcContainer as a single node

  15. Domain Manager • In order to allocate unique transaction IDs and global configuration management, we define a domain manager • TransactionIDService • allocate and destroy transaction ID • FreenessService • judge whether components are freeness

  16. VcContainer Communications • Proc component invokes Verify service

  17. VcContainer Communications

More Related