Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Moved to https://slidr.io/azzazzel/liferay-7-microservices-for-the-enterprise

4,277 views

Published on

This slide deck will be removed from here in the future. It has been moved to : https://slidr.io/azzazzel/liferay-7-microservices-for-the-enterprise

Published in: Software

Moved to https://slidr.io/azzazzel/liferay-7-microservices-for-the-enterprise

  1. 1. Milen Dyankov @milendyankov Liferay Portal 7 (micro)services for the enterprise
  2. 2. Componentization via Services Organized around Business Capabilities Products not Projects Smart endpoints and dumb pipes Decentralized Governance Decentralized Data Management Infrastructure Automation Design for failure Evolutionary Design Microservices characteristics!
  3. 3. ...
  4. 4. ...
  5. 5. ...
  6. 6. ... or
  7. 7. ... or ...∞
  8. 8. ... or ...∞ ...
  9. 9. ... or ... Reduced complexity !!! ∞ ...
  10. 10. . . . then all you are doing is shifting complexity from inside a component to the connections between components. . . . it moves it to a place that's less explicit and harder to control.
  11. 11. . . . The Deployment Model is a Detail. . . . there is no such thing as a micro-service architecture. Micro-services are a deployment option . . .
  12. 12. Componentization via Services Organized around Business Capabilities Products not Projects Smart endpoints and dumb pipes Decentralized Governance Decentralized Data Management Infrastructure Automation Design for failure Evolutionary Design 50% not strictly software but rather operations related!
  13. 13. Componentization via Services Smart endpoints and dumb pipes Decentralized Data Management Design for failure Let's focus on software related ones
  14. 14. OSGi services manifestmanifestmanifest manifest OSGi service registry Interface Service 1 . . . Service N
  15. 15. OSGi services manifestmanifestmanifest OSGi service registry REGISTER REGISTER USE manifest Interface Service 1 . . . Service N
  16. 16. OSGi services manifestmanifest OSGi service registry SERVLET SERVLET GET GET REGISTER REGISTER HTTPServiceImpl HTTP Service HTTPServiceImpl REGISTER
  17. 17. OSGi services manifestmanifest OSGi service registry HTTP Servlet REGISTER SERVLET SERVLET GET (when needed) HTTPServiceImpl Servlet1 (path=”/1”) Servlet2 (path=”/2”) REGISTER applying White Board Pattern
  18. 18. ● Componentization via Services manifestmanifest OSGi service registry HTTP Servlet REGISTER SERVLET SERVLET GET (when needed) HTTPServiceImpl Servlet1 (path=”/1”) Servlet2 (path=”/2”) REGISTER
  19. 19. Smart endpoints and dumb pipes manifestmanifest OSGi service registry HTTP Servlet REGISTER SERVLET SERVLET GET (when needed) HTTPServiceImpl Servlet1 (path=”/1”) Servlet2 (path=”/2”) REGISTER no
  20. 20. Decentralized Data Management manifestmanifest OSGi service registry HTTP Servlet REGISTER SERVLET SERVLET GET (when needed) HTTPServiceImpl Servlet1 (path=”/1”) Servlet2 (path=”/2”) REGISTER Everything
  21. 21. Design for failure manifestmanifest OSGi service registry HTTP Servlet REGISTER SERVLET SERVLET GET (when needed) Servlet1 (path=”/1”) Servlet2 (path=”/2”) REGISTER HTTPServiceImpl
  22. 22. Remote services OSGi service registry Interface Service 1 Service 1 (remote) OSGi service registry Interface Service 1
  23. 23. DEMO
  24. 24. milen.dyankov@liferay.com http://www.liferay.com/web/milen.dyankov/ @milendyankov @LiferayPL http://www.liferay.com @Liferay http://www.facebook.com/Liferay

×