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

GO And Monolith to Microservice

GO And Monolith to Microservice

Avatar for Murat Mirgün ERCAN

Murat Mirgün ERCAN

September 26, 2026

More Decks by Murat Mirgün ERCAN

Other Decks in Technology

Transcript

  1. Software Engineer & Consultant Backend Development Lead at Tourist-App Supabase

    Golang Maintainer Mef University GDSC Workshop Lead Go Turkey Moderator
  2. Why Go? Go is the new general-use programming language. Works

    with compiler It is a static type. Developed on concurrency. Simple
  3. Understanding Go with Errors Go: * Understand what you are

    trying to do * Learn how it is done * Implement using go stdlib * If there is an error, read the message, look at the source code
  4. Monolith Backends Single deployment Single runtime Single codebase •*interaction between

    classes is most often Synchronous Most often every layer is in a separate package
  5. Microservice Backends Many small modules with specific functionality More than

    one codebase Every microservice is a separate deployment Every microservices has its own DB Communication with web-services/protobuf/thrift/…
  6. Downsides Monolith "spaghetti", "big ball of mud" You need a

    full redeploy Programmers often violate the layer boundaries Classes often "leak" their implementation Hard to work with multiple teams Hard to manage
  7. Downsides Microservices Modelled around the business domain Deployment automation culture

    Hides implementation details Decentralization Option to use multiple languages Separate deployment, separate monitoring isolating problems