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

Swift Micro Services in Production

Avatar for Ralph Küpper Ralph Küpper
September 13, 2018

Swift Micro Services in Production

What are micro services, who is using them and why should you be thinking about using them?

Avatar for Ralph Küpper

Ralph Küpper

September 13, 2018

Other Decks in Programming

Transcript

  1. Content • Background • Currently Trending Solutions • An alternative

    Approach • Micro Services and their Architecture • Use Cases & Examples • How to start? • Q&A
  2. Background - Started programming at 8 yo - Started Skelpo

    with 14, incorporated with 17 - Weird mix between business and programming - German / Likes well engineered products - Built 5+ social networks Ralph Küpper Online: proggeramlug / amlug [email protected]
  3. What are the most common issues with these systems? •

    Plugin “Dependency Hell” • Scripting Attacks • Monolithic Complexity • Constant „important“ Updates • Overall slow
  4. A big application with many small pieces • Obvious Benefits:

    • Individual care for each service (different frameworks, languages, tools) • Separate teams & responsibilities • Individual approaches for each service (different databases, server setups)
  5. Disadvantages to a Micro Service Architecture • No „quick &

    easy fix” setup. • Many moving parts, debugging can be quite painful. • Can require more developers than available. • Often more time-consuming and expensive.
  6. Why Swift is particularly well suited for Micro Services •

    Easy language that is fun • Modern language with modern features • Frameworks that were built with specifically micro services in mind • Native Apps, fast performance • Strong Community
  7. Ditching the off-the-shelf industry • Most projects start out with

    small requirements ... that grow bigger and bigger. • To a point where the original off-the-shelf solution often gets so customized with plugins ... • ... and themes .. • .. that it really is not off-the-shelf anymore.
  8. Reinvent the wheel • Instead of using (your choice of

    off-the-shelf software) and modifying it to fit your needs .. • … build your own custom solution! • Use templates and ready-to-go services • Customize. • No plugins need. • Updates on demand.
  9. Who is using a Micro Service Architecture? • Enterprise has

    been using micro services for years. Lufthansa, UPS etc. • Smaller companies and startups start to embrace it.
  10. Fuelish Feature: News & Stories Micro Services: 1. User Manager

    2. Content Manager 3. Group Service 4. Media Service 5. Comments & Likes Service
  11. Fuelish Feature: Drive & Tours Users can create Tours Users

    can follow & participate Tours can be recorded through GPS
  12. Fuelish Feature: Drive & Tours Micro Services: 1. User Manager

    2. Group Service 3. Media Service 4. Comments & Likes Service
  13. ReviewSender: Review Management • One Micro Service is containing reviews

    • One Micro Service is aggregating reviews • One Micro Service is analyzing reviews • Different configs for all 3 services
  14. Skelpo Micro Services • User Service • Content Service (Blog

    posts, news, static content) • Product Service (Products & Service Offerings Management) • Comments Service (Customer Response) • Order Service (Billing) • and some more: https://github.com/skelpo/micro-services