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

Micro services as architectural concept

Micro services as architectural concept

What are micro services, some history and how we use it in Aimeos

Aimeos

May 09, 2016
Tweet

More Decks by Aimeos

Other Decks in Programming

Transcript

  1. Object 1 - Data - Methods Object 1 - Data

    - Methods Object ... - Data - Methods Application
  2. Layer 1.3 Layer 1.2 Layer 1.1 Layer 2.2 Layer 2.1

    Layer 3.4 Layer 3.4 Layer 3.1 Layer 3.2 Domain 1 Domain 3 Domain 3
  3. Best case • Work independently from each other • Extendable

    by different teams • Exchangeable • Scalable
  4. Worst case • Erros are even harder to find •

    Increased total complexity • Performance suffers • Cascading outages
  5. Config Data access JQAdm JQuery Frontend client List ... Basket

    Admin controller Frontend controller PHP I18n Config Database View Logger Session Bandend application Frontend application ExtAdm JsonAdm ExtJS JSON API
  6. Frontend client List ... Basket Frontend controller Data access By

    use case Config JQuery JQAdm ExtAdm JsonAdm Cntl Cntl Cntl Data Data Data ExtJS JSON API
  7. Frontend client List ... Basket Frontend controller Data access With

    shared kernel JQuery JQAdm ExtAdm JsonAdm Admin Controller ExtJS JSON API
  8. As Composer packages • Aimeos core (shared kernel) • HTML

    client (frontend) • JQAdm (JQuery admin) • ExtAdm (ExtJS admin) • JsonAdm (JSON admin API) • Jobs (cronjob controller)