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

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ส.ค. 2024

ความคิดเห็น • 52

  • @lldadb664
    @lldadb664 21 วันที่ผ่านมา

    Another great overview. Thanks!

  • @wayneeseguin
    @wayneeseguin 5 หลายเดือนก่อน +4

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

    • @SynadiaCommunications
      @SynadiaCommunications  5 หลายเดือนก่อน

      More to come! Thanks for watching as always @wayne

  • @crownstupid
    @crownstupid 5 หลายเดือนก่อน +9

    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  5 หลายเดือนก่อน +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

  • @oyx-sm4bc
    @oyx-sm4bc 4 หลายเดือนก่อน +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 4 หลายเดือนก่อน

      Looking forward to your continued updates

    • @SynadiaCommunications
      @SynadiaCommunications  3 หลายเดือนก่อน

      We will keep posting more content

  • @JasonMcCallister84
    @JasonMcCallister84 5 หลายเดือนก่อน +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 5 หลายเดือนก่อน

      Gotta love the beauty of the io.Writer interface

    • @gedw99
      @gedw99 5 หลายเดือนก่อน

      true. Piping like Unix style@@dandogamer

    • @SynadiaCommunications
      @SynadiaCommunications  5 หลายเดือนก่อน

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

  • @GabrielPozo
    @GabrielPozo 4 หลายเดือนก่อน +1

    Great video! Thanks for teaching with this video series!

  • @gedw99
    @gedw99 5 หลายเดือนก่อน

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

    • @SynadiaCommunications
      @SynadiaCommunications  5 หลายเดือนก่อน

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

  • @JulienBis
    @JulienBis 5 หลายเดือนก่อน

    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 5 หลายเดือนก่อน

      Great overview by the way, much appreciated.

    • @SynadiaCommunications
      @SynadiaCommunications  5 หลายเดือนก่อน +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

  • @deltagamma1442
    @deltagamma1442 3 วันที่ผ่านมา

    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.

  • @tikiatua
    @tikiatua 5 หลายเดือนก่อน +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  5 หลายเดือนก่อน

      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

  • @MarkusK-zi6dr
    @MarkusK-zi6dr 5 หลายเดือนก่อน

    Thanks for that. I love it.

    • @SynadiaCommunications
      @SynadiaCommunications  5 หลายเดือนก่อน

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

  • @EKwisnek
    @EKwisnek 5 หลายเดือนก่อน

    Nice one, Jeremy!

  • @MarkusK-zi6dr
    @MarkusK-zi6dr 4 หลายเดือนก่อน

    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  3 หลายเดือนก่อน +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

  • @stevexuereb
    @stevexuereb 5 หลายเดือนก่อน

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

  • @selvaKumaresra
    @selvaKumaresra 2 หลายเดือนก่อน

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

    • @SynadiaCommunications
      @SynadiaCommunications  2 หลายเดือนก่อน

      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 5 หลายเดือนก่อน

    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  5 หลายเดือนก่อน

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

  • @suikast420
    @suikast420 5 หลายเดือนก่อน

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

    • @SynadiaCommunications
      @SynadiaCommunications  5 หลายเดือนก่อน +1

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

    • @suikast420
      @suikast420 4 หลายเดือนก่อน

      @@SynadiaCommunications I really appreciate it

  • @appology9102
    @appology9102 4 หลายเดือนก่อน +1

    When IPO? 😅

  • @khanakia
    @khanakia 5 หลายเดือนก่อน +1

    It was helpful

  • @suikast420
    @suikast420 5 หลายเดือนก่อน

    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 5 หลายเดือนก่อน

      I think they have that feature with Jetstream

    • @SynadiaCommunications
      @SynadiaCommunications  5 หลายเดือนก่อน +2

      Yeah this is something we are considering

    • @suikast420
      @suikast420 4 หลายเดือนก่อน

      @@hendrikmartina3552 Nope. They have not

    • @suikast420
      @suikast420 4 หลายเดือนก่อน

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

  • @ritsaerthornstra7929
    @ritsaerthornstra7929 5 หลายเดือนก่อน

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

    • @SynadiaCommunications
      @SynadiaCommunications  5 หลายเดือนก่อน +1

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

  • @meyou118
    @meyou118 5 หลายเดือนก่อน

    pwning the backend... ;)

  • @glebbondarenko67
    @glebbondarenko67 หลายเดือนก่อน

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

    • @BZValoche
      @BZValoche หลายเดือนก่อน

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