Atomic SOA Patterns Transport Layers Logosworld SOA City
















- Slides: 16
Atomic SOA Patterns Transport Layers Logosworld SOA City
Transport Layers Axel Angeli, Lynton Grice Logosworld. com Email: axel-SOAcity@logosworld. de v © Logosworld 2009 2 Logosworld SOA City Architecture Education Coaching Monday, January 17, 2022 Audit Realignment Angeli/Grice Logosworld. com Rescue
SOA Application Layer Model (non-OSI) • Canonical Content representation Content Envelope • HTML, XML, JSON, ASCII Transport • HTTP, FTP, Web. DAV, Steganographie Delivery Data Linkage Logosworld SOA City • TCP, UDP, IPX • IP Network • Ethernet, Token-Ring Physical • WLAN, Cable, Sound, File-System
Data Transport in Envelopes Physical Format Transport protocol HTTP, File. Sys Logosworld SOA City Transport Envelope Protocol specific Canonical Format HTML, JSON, Text Internal container format
Conversion in Adapters Physical Format • Adapter Transport envelope • Adapter Canonical Format • Data ready for program Adapter • Transport • Physical Format In Logosworld SOA City Envelope Adapter Program • Canonical Format
Communication Categories Request and Response Request & Reply ü HTTP, FTP Fire and Forget ü Maildrop, Triggers, SMTP Asynchronous Broadcast ü MQ, Database, website Synchronous/Asynchronous Logosworld SOA City Fire & Forget • Broad-cast Synchronous
A request and response scenario expects a synchronous reply to a request. Request and Response Request Client Response Server • Common protocols: HTTP, FTP, RFC, DCOM, CORBA • Every sub-routine call is request&reply Logosworld SOA City
Request and Response In a request and response scenario the Synchronous message processing sender waits for the receiver to send back a Request Response dedicated response. The sender Client cannot see how the message is 1 processed in a server but it will appear as a synchronous action to them. 5 Server Logosworld SOA City
In a simple version of a request & reply scenario the requesting client will only expect an acknoweldgement that the message has been received. Other than in a request & response scenario the acknowledgement confirms delivery of a message only but does not respond to the message content. Request and Acknowledge Request Acknowledge Client 1 2 Server Logosworld SOA City
In cases where processing on server side may take a long time, the sender would ask the server to send the answer back in a callback request as soon as it is ready. Technically we have a series of two independent request & reply steps that relate via their content to each others. Request and Callback Request Acknowledge Client 1 4 2 3 Server Logosworld SOA City
A more sophisticated version of the callback scenario would not send the answer back but only trigger an event that tells the client that the answer is now ready to pickup. The client would then initiate a fetch request to get the data. This is used to avoid flooding the client with large responses or when the cleint indicates that the result is only needed in exceptional cases. Logosworld SOA City Request and Pickup Request Trigger Acknowledge Response Fetch-Request Client 1 4 2 3 5 Server
A fire and forget scenario is the most simple communication strategy. A message is sent out while no direct reply is expected. A typical example is the sending of an email. Fire and Forget • Sender does not accept a response • Mail drop; Message Queue • SMTP • Infrastructure can supervise the delivery Fire & Forget Sender Logosworld SOA City Server
Broadcast • One sender; unknown number of receivers • Website • Message Queue, Database • Event Triggers • Sender would not know who is listening Publish Sender Logosworld SOA City List ene rs
Fire & Forget Request Client 1 Server Send the message and forget Logosworld SOA City
It is not the technology that causes the evil, but the people who abuse her. Jacques-Yves Cousteau Logosworld SOA City
Logosworld says “Thank You. ” Axel Angeli, Lynton Grice Logosworld. com Email: axel-Gartner. Summit@logosworld. de v Design for high performance and highly distributed IT v Product/vendor selection workshops (“shoot-outs”) v Transformation coaching and project realignment 1 6 Logosworld SOA City Architecture Education Coaching Monday, January 17, 2022 Audit Realignment Angeli/Grice Logosworld. com Rescue