aleixmorgadas’s avataraleixmorgadas’s Twitter Archive—№ 1,036

                          1. Understanding everything about microservices is hard, and we all made the same mistakes when we started. That's why I started this repository to share 👉 Why Sync Req/Res should be avoided 👉 Why Pub/Sub makes your system more reliable github.com/aleixmorgadas/reactive-microservices-workshop
                        1. …in reply to @aleixmorgadas
                          I aim to create a project to help people make workshops within their organizations about Event-Driven Architecture and Resilient Microservices. Named as Reactive Microservices because @kanekotic used it in a super cool presentation he did 😄
                      1. …in reply to @aleixmorgadas
                        The workshop will have a simple model. Posts -> Comments Instead of focusing on the model itself, I will focus on Architecture and why some patterns are less resilient than others.
                        oh my god twitter doesn’t include alt text from images in their API
                    1. …in reply to @aleixmorgadas
                      The idea is to create a workshop that kinda follows the natural evolution when you start with Microservices You start with two services, two databases, and then one talking to the other Commonly, you don't find any problem when you don't have any traffic It just works fine...
                      oh my god twitter doesn’t include alt text from images in their API
                  1. …in reply to @aleixmorgadas
                    for some time. When you start having some problems, you might start with some Monitoring tools. Here, I will preconfigure all the tooling so you can focus on understanding why things happen instead of monitoring tooling configuration
                    oh my god twitter doesn’t include alt text from images in their API
                1. …in reply to @aleixmorgadas
                  Yet, we need to emulate some problematics that's when Comments Service comes into play. It will have a way to emulate problems like 👉 Timeouts 👉 Slow responses 👉 Transactionality problems
              1. …in reply to @aleixmorgadas
                That emulation will help us to see how patterns like 👉 Circuit Breaker 👉 RateLimiter 👉 Retry And their limits. Experimenting with the patterns meanwhile visualizing the behavior on the monitoring system.
            1. …in reply to @aleixmorgadas
              Then, we will play with bad scenarios. 👉 What happens if Comments System is down? 👉 Data lost? 👉 Data consistency?
          1. …in reply to @aleixmorgadas
            Introducing Kafka Moving to Request/Response to Pub/Sub Messaging. Here we will see the benefits of Message/Event-Driven Architecture. We will reply the same issues we had and see how the EDA helped us
            oh my god twitter doesn’t include alt text from images in their API
        1. …in reply to @aleixmorgadas
          Then, we will introduce zipkin as distributed tracing system. I think it's important to know more tooling that can give you insights about why things happen the way they happen, and how to debug distributed systems. zipkin.io/
      1. …in reply to @aleixmorgadas
        The tools I use for this workshop are: 👉 @micronautfw 👉 @Docker 👉 @grafana 👉 @PrometheusIO 👉 @zipkinproject 👉 @apachekafka
    1. …in reply to @aleixmorgadas
      Did you miss anything you would like to see in this workshop? 🤔
  1. …in reply to @aleixmorgadas
    Maybe service discovery with Consul? consul.io/
    1. …in reply to @aleixmorgadas
      The amount of stuff I need to start in order to do a workshop about Reactive Microservices is absurd. And I think I still miss Grafana Loki for logs and Consul 🤦 How the hell a person starting in this profession can even handle all this cognitive load?
      oh my god twitter doesn’t include alt text from images in their API
      1. …in reply to @aleixmorgadas
        An screenshot of Comments Service 😄
        oh my god twitter doesn’t include alt text from images in their API
        1. …in reply to @aleixmorgadas
          Here an example of how to configure Comments Service to behave to experiment with it 👏