Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Divide and Conquer: Send Forth the Microservices

Jennifer Reif
January 23, 2023
3

Divide and Conquer: Send Forth the Microservices

Jennifer Reif

January 23, 2023
Tweet

Transcript

  1. Divide and Conquer: Send Forth the Microservices Jennifer Reif Email:

    [email protected] Twitter: @JMHReif LinkedIn: linkedin.com/in/jmhreif Github: github.com/JMHReif Website: jmhreif.com
  2. Who Am I? • Developer + Advocate • Continuous learner

    • Technical content writer • Conference speaker Jennifer Reif Email: [email protected] Twitter: @JMHReif LinkedIn: linkedin.com/in/jmhreif Github: github.com/JMHReif Website: jmhreif.com
  3. Monolith What is it? • Functionality in single app •

    Intentional or morphed over time • Pros: • One-and-done • Less communication • Cons: • Find/reuse code, Implement fi xes • Resource consumption, Handle failures Photo from Google Images
  4. Microservices What are they? • Small applications for limited/single function

    • Only necessary communication • Pros: • Independent, Small footprint • Reliable, Scalable • Cons: • Testing, communication coordination • Additional layers/operations Photo from Google Images
  5. Note! Monolith vs microservices • Neither solution is a silver

    bullet • Simplicity and complexity exist in both! • ALSO, classi fi cation of micro services varies • Scope of functionality • Async vs sync communication • Level of automation
  6. Layer3 - client Layer2 - data API Layer1 - backend

    Docker-compose Demo architecture - end Backend Frontend Con fi g service Neo4j - Book reviews
  7. Resources Code and learning more… • Today’s code: github.com/JMHReif/3-stages-of-microservices •

    All Code (levels 1-10): github.com/JMHReif/microservices-java • Blog: jmhreif.com/blog • Neo4j graph database: dev.neo4j.com/aura-java Jennifer Reif Email: [email protected] Twitter: @JMHReif LinkedIn: linkedin.com/in/jmhreif Github: github.com/JMHReif Website: jmhreif.com