We need to talk about Microservices... (And how NATS.io can simplify things)

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 53

  • @wayneeseguin
    @wayneeseguin 7 месяцев назад +4

    This is absolutely fantastic. I am looking forward to the next episodes. ❤

  • @oyx-sm4bc
    @oyx-sm4bc 6 месяцев назад +1

    awesome series! I am a new of nats。As a student from China,nats is my first messages system I come across。I feel fortunate to be able to learn and use this technology.

    • @oyx-sm4bc
      @oyx-sm4bc 6 месяцев назад

      Looking forward to your continued updates

    • @SynadiaCommunications
      @SynadiaCommunications  5 месяцев назад

      We will keep posting more content

  • @crownstupid
    @crownstupid 7 месяцев назад +11

    I'd like to see an example of users being registered and using jwts from the web browser. Like a chat room maybe. Similar to your tutorial on the sketch board but with authentication.

    • @SynadiaCommunications
      @SynadiaCommunications  7 месяцев назад +1

      Now that we have something like docs.nats.io/running-a-nats-service/configuration/securing_nats/auth_callout I can see that being a really great video

  • @JasonMcCallister84
    @JasonMcCallister84 7 месяцев назад +2

    This is great, the logging example got me thinking about a better way to handle logs in our system and I passed a Jetstream as io.Writer to the slog and it worked awesome!

    • @dandogamer
      @dandogamer 7 месяцев назад +1

      Gotta love the beauty of the io.Writer interface

    • @gedw99
      @gedw99 7 месяцев назад

      true. Piping like Unix style@@dandogamer

    • @SynadiaCommunications
      @SynadiaCommunications  7 месяцев назад

      You aren't the first! We've had a couple Synadians write a slog interface for NATS :)

  • @lldadb664
    @lldadb664 2 месяца назад

    Another great overview. Thanks!

  • @GabrielPozo
    @GabrielPozo 6 месяцев назад +1

    Great video! Thanks for teaching with this video series!

  • @gedw99
    @gedw99 7 месяцев назад

    looking forward to NEX !!!! Seems to be part of the Derek masterplan :)

    • @SynadiaCommunications
      @SynadiaCommunications  7 месяцев назад

      First we rethink connectivity, then data, and workloads are the last bit of the triad :)

  • @deltagamma1442
    @deltagamma1442 2 месяца назад

    I don't understand this. I thought it was a message broker running in-memory. Where did the services part come in? Does nats have some 'nats functions' that run inside of nats core? Or can we use everything you said with nats js?
    I'm using nest js currently for my monorepo. I'm curious to know if i can integrate everything you described here.

  • @JulienBis
    @JulienBis 7 месяцев назад

    The part "Deployment with NEX" is definitely super interesting, especially with canary release. I would love to see how much work is required to achieve that :D

    • @JulienBis
      @JulienBis 7 месяцев назад

      Great overview by the way, much appreciated.

    • @SynadiaCommunications
      @SynadiaCommunications  7 месяцев назад +1

      NEX is still in prerelease and in active development. I've played with it though and the general concept is pretty easy to get up and running. Simply run a node, have it connect to a NATS server and now you can start deploying apps to it via the CLI.
      When it's a bit more mature I'll start covering it in more videos

  • @MarkusK-zi6dr
    @MarkusK-zi6dr 7 месяцев назад

    Thanks for that. I love it.

    • @SynadiaCommunications
      @SynadiaCommunications  7 месяцев назад

      It's pretty cool stuff. Now if we can convince everyone to ditch their complicated setups....

  • @stevexuereb
    @stevexuereb 7 месяцев назад

    Thank you for this amazing content!
    What presentation tool do you use?

  • @tikiatua
    @tikiatua 7 месяцев назад +1

    Thank you for another awesome video. Do you have any recommendations on how to handle input validation if one is to use nats as the API-gateway? Do you colocate validation and further processing in a micro service or would you first validate the input, then publish another message wit the validated input?

    • @SynadiaCommunications
      @SynadiaCommunications  7 месяцев назад

      So that's definitely one way to do it. You can also have a service that can forward a message and it's reply subject to execute some form of validation.
      When the validation service successfully validates the request, it can send a new message to the destination service, and set the REPLY subject to the original reply subject of the request. That way the requestor doesn't need to have knowledge of the validation service and the request/reply functionality works as it always has

  • @EKwisnek
    @EKwisnek 7 месяцев назад

    Nice one, Jeremy!

  • @uwontlikeit
    @uwontlikeit 2 дня назад

    i didn't get a clear understanding of how request to such microservice would work on NATS. What's the request-response logic?

  • @MarkusK-zi6dr
    @MarkusK-zi6dr 6 месяцев назад

    Could you elaborate on implementing an API Gateway using exclusively a NATS cluster, including how authentication and authorization are handled? Additionally, how would you recommend setting up the NATS cluster to interact securely as an isolated cluster with a separate microservices cluster?

    • @SynadiaCommunications
      @SynadiaCommunications  5 месяцев назад +1

      Authn and authz are definitely their own video topics that I’ll cover more in the future.
      For your second question. Look at NATS leaf nodes

  • @selvaKumaresra
    @selvaKumaresra 4 месяца назад

    is it fully opensource or has strings attched to Synadia cloud? those that only works with Synadia?

    • @SynadiaCommunications
      @SynadiaCommunications  4 месяца назад

      NATS is fully open source, not open core. Synadia cloud is a hosted version of NATS with some extra tooling around monitoring and management. So no strings attached here

  • @mzck5y-totoro
    @mzck5y-totoro 7 месяцев назад

    Great presentation. I love NATS, we use it as event broker in of our architectures. one question is this microservices framework implemented in the C# NATS client?

    • @SynadiaCommunications
      @SynadiaCommunications  7 месяцев назад

      It sure is!: github.com/nats-io/nats.net/tree/main/src/NATS.Client/Service

  • @ritsaerthornstra7929
    @ritsaerthornstra7929 7 месяцев назад

    Is the code you demoed in this episode available online? I'd love to browse through the code for ideas. 😁

    • @SynadiaCommunications
      @SynadiaCommunications  7 месяцев назад +1

      I got you! github.com/synadia-io/rethink_connectivity/tree/main/17-microservices-architectures

  • @suikast420
    @suikast420 7 месяцев назад

    33:59 a session about subject mapping coul be very cool- Espacially how can I do deterministic partitioning programatically with jeststream configuration ?

    • @SynadiaCommunications
      @SynadiaCommunications  7 месяцев назад +1

      Already planning on doing a full subject mapping video soon. Including all the new goodies in jetstream and subject mapping

    • @suikast420
      @suikast420 7 месяцев назад

      @@SynadiaCommunications I really appreciate it

  • @khanakia
    @khanakia 7 месяцев назад +1

    It was helpful

  • @suikast420
    @suikast420 7 месяцев назад

    I am usiig nats more and more and replace kafka with it. But one feature i am missing. The transactional write and avoid the consumers read uncommited messages what kafka have. this can significantly improve the performacne, The akternative is push events sync one by one.

    • @hendrikmartina3552
      @hendrikmartina3552 7 месяцев назад

      I think they have that feature with Jetstream

    • @SynadiaCommunications
      @SynadiaCommunications  7 месяцев назад +2

      Yeah this is something we are considering

    • @suikast420
      @suikast420 7 месяцев назад

      @@hendrikmartina3552 Nope. They have not

    • @suikast420
      @suikast420 7 месяцев назад

      @@SynadiaCommunications Is that scheduled for a release or only in draft ?

  • @appology9102
    @appology9102 6 месяцев назад +1

    When IPO? 😅

  • @meyou118
    @meyou118 7 месяцев назад

    pwning the backend... ;)

  • @glebbondarenko67
    @glebbondarenko67 4 месяца назад

    How reliable is NATS? looks like a single point of failure

    • @BZValoche
      @BZValoche 3 месяца назад

      If setup correctly, it's not. If you're talking about bugs, well, make sure to use the latest version .