Micro-services with auto discovery, observability and load balancing. | Rethink Connectivity Ep 9

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 มี.ค. 2023
  • In this episode, Jeremy walks through the how to build micro-services using the new Service API in NATS and how much easier it is to build services that are discoverable, observable and automatically load balanced.
    NATS is a connective technology powering modern distributed systems, unifying Cloud, On-Premise, Edge, and IoT.
    Join the NATS Community on Slack: slack.nats.io
    Learn More about NATS at docs.nats.io/
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @mileshill4804
    @mileshill4804 ปีที่แล้ว +4

    I've watched this 4 times now. About to push this pattern into our future rollouts. Edge microservices!

  • @enochabassey2786
    @enochabassey2786 ปีที่แล้ว +2

    Very very awesome approach here.

  • @rafaelgaia8677
    @rafaelgaia8677 2 หลายเดือนก่อน +1

    great content!! Thank you!

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

    this is incredible!

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

    This product is amazing !

  • @marvinlnnx
    @marvinlnnx 3 หลายเดือนก่อน +1

    Hi, Thanks for the video, it is really informative, it's look like in the current version SCHEMA is deprecated or maybe replaced by something else , not sure , because I need to scan the request to a particular struct in golang and also make sure the response will be scanned into an appropriate struct so the caller can scan it and utilize it , json.Unmarshal does not return error in my case when the request does not look like the struct ! I wish nats micro could have come with this feature to guarantee the req and resp struct

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

      We removed the schema field present in the prerelease versions if micro in favor of our more generic `metadata` struct for endpoints and services. You can add a `schema` field to that and essentially get the same benefit

  • @JohnMcclaned
    @JohnMcclaned ปีที่แล้ว +7

    If this took a vercel like approach and really focused on the developer experience with an observability + admin dashboard (basically a nats-cli dashboard), it would be so much easier to get started and see the benefits.

    • @SynadiaCommunications
      @SynadiaCommunications  ปีที่แล้ว +7

      Agreed. We are working on an experience like that at Synadia :)

    • @JohnMcclaned
      @JohnMcclaned ปีที่แล้ว +4

      @@SynadiaCommunications Exciting, I will be following the progress :)

  • @ahmedadly
    @ahmedadly ปีที่แล้ว +2

    super cool way to handle microservices

  • @peterpetersky2152
    @peterpetersky2152 ปีที่แล้ว +1

    Is this nvim that you're using? Looks awesome. Greets from an Emacser!

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

    Thank you for all the videos, I would some more practical/tutorial based videos.

  • @MrOohBattman
    @MrOohBattman ปีที่แล้ว +5

    Great video. I'm missing the 'micro' option in my cli tool though. I've updated 'nats-tools' and 'nats' on mac, is there a nightly or another version I'm missing?

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

      This has finally been released in the CLI as of v0.1.0.

  • @pablovicentico
    @pablovicentico ปีที่แล้ว +3

    This awesome. It would be good for example code to be shared in the description so we can experiment and get familiar faster 😊

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

      There are two examples up on NATS by Example for Go and JavaScript: natsbyexample.com/examples/micro/intro/go

    • @baselrabia
      @baselrabia 8 หลายเดือนก่อน +1

      why it's not working /examples/micro/intro/go 404: NOT_FOUND
      @@SynadiaCommunications

    • @Cbon-xh3ry
      @Cbon-xh3ry 6 หลายเดือนก่อน

      Why is it in a different repo ? it should be part of nats

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

    Looking great.
    How nats micro related to jetstream?

  • @michaelaidoo5448
    @michaelaidoo5448 ปีที่แล้ว

    hello greate video can you make one configuring with helm making jetstreams with helm infact using helm to do clusters and everything

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

    I liked what you can achieve with NATS. It really feels like an upgrade of messaging systems. I have one question though, can this microservice be accessible to external / third party service, or maybe web browsers running react? If its possible with authorization, its really awesome...

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

      Absolutely! Web browsers can connect via websockets using the nats.ws library. It uses all the same mechanisms for auth

  • @sonuselva
    @sonuselva 18 วันที่ผ่านมา

    where can i find the reference code given in this video?

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

    What type of NATS server is applicable for this pattern ? I am using NATS JetStream with 3 servers, can I can also use it for service implementation and communication ?
    By the Schema is deprecated and no longer exist, I wish you could have provide a more practical and generic example (whereas service can make a call as well in your example you are using NATS cli to make a call) in the updated video which everyone is expecting it.
    and Thank you so much for connectivity pattern to NATS. it is really amazing.

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

      This implementation works with any NATS server, as all of the functionality is handled by the clients themselves

  • @aleyrizvi
    @aleyrizvi 2 หลายเดือนก่อน +1

    Tell us about your vim config :)

  • @michaelkobaly2378
    @michaelkobaly2378 ปีที่แล้ว +3

    Am I missing something. The current Nats CLI (0.0.35) does not have the micro command.

    • @SynadiaCommunications
      @SynadiaCommunications  ปีที่แล้ว

      Yes, we will be releasing it very soon alongside a new version of NATS, but you can install from the main branch to get access to the micro command today

  • @scottamolinari
    @scottamolinari 7 หลายเดือนก่อน +1

    Hey Jeremy. The schema stuff in micro have been deprecated and replaced by "metadata". Can you do a video on how to use this in a similar way as was possible with the schema API please?

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

      Hey Scott. You would essentially use it the same way. Add a schema field to your metadata and look that field up to get the schema

  • @Cbon-xh3ry
    @Cbon-xh3ry 6 หลายเดือนก่อน

    What are Q and Q Lang ?

  • @pss_crs
    @pss_crs ปีที่แล้ว +1

    can you mention that plugin auto fills structs

    • @SynadiaCommunications
      @SynadiaCommunications  ปีที่แล้ว +1

      Just the golang LSP, using codeactions

    • @pss_crs
      @pss_crs ปีที่แล้ว

      @@SynadiaCommunications You helped me a lot dear, thanks 😊

  • @shadowfaxenator
    @shadowfaxenator ปีที่แล้ว +2

    Is nats The only transport supported now ? No way to support http ?

    • @SynadiaCommunications
      @SynadiaCommunications  ปีที่แล้ว

      Currently it’s only for NATS, but it wouldn’t be too difficult to build a process that could forward NATS traffic to an http service

  • @tomask6
    @tomask6 ปีที่แล้ว +1

    Which kind of IDE is that? Looks like a full pimped vim environment.

    • @SynadiaCommunications
      @SynadiaCommunications  ปีที่แล้ว

      Yes! It’s Neovim and kitty for the terminal

    • @Esteban-ou5yn
      @Esteban-ou5yn ปีที่แล้ว +1

      @@SynadiaCommunications any chance you'll share your neovim rc somewhere? :) your dev environment is awesome

  • @ds-ns1jj
    @ds-ns1jj ปีที่แล้ว +1

    Does nats python also support Micro?

    • @SynadiaCommunications
      @SynadiaCommunications  ปีที่แล้ว +2

      Not yet, but we do want to support it

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

      @@SynadiaCommunications Is there a roadmap document or something for the nats-py lib? This seems like an extremely useful feature and would love to see status updates for it.

  • @michaelaidoo5448
    @michaelaidoo5448 ปีที่แล้ว

    hello greate video can you make one configuring with helm making jetstreams with helm infact using helm to do clusters and everything