Service Oriented Architecture (SOA)

Service Oriented Architecture (SOA)

How it works

1980s - CORBA
  1. The caller calls a local procedure implemented by the stub;
  2. The stub validates the call and creates a request message that passes to the ORB;
  3. The client ORB sends the message over the network to the server and blocks the current execution thread;
  4. The server ORB receives the request message and instantiates the skeleton;
  5. The skeleton executes the procedure on the called object;
  6. The called object performs a computation and returns the result;
  7. The skeleton packs the output arguments into a response message and passes it to the ORB;
  8. The ORB sends the message over the network back to the client;
  9. The client ORB receives the response message, unpacks it and delivers it to the stub;
  10. The stub passes output arguments to the caller, releases execution thread and the caller continues in execution.

Pros

Cons

Web Services

2000s - SOA

Pros

Cons

Message Queue

1995s - Message Queue

Pros

Cons

Enterprise Service Bus (ESB)

esb-2
federated_esb

Pros

Cons

Microservices

2010 - Microservices

Pros

Cons

Anti-Pattern: Ravioli Architecture

ravioli

Conclusion

soa

Sources

Comments

Popular posts from this blog

A Tailwind CSS Preset for Laravel 5.5

Short and safe array iteration

PHPStorm's performance