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

  Рет қаралды 10,258

Synadia

Synadia

Күн бұрын

Пікірлер: 54
@wayneeseguin
@wayneeseguin 9 ай бұрын
This is absolutely fantastic. I am looking forward to the next episodes. ❤
@SynadiaCommunications
@SynadiaCommunications 9 ай бұрын
More to come! Thanks for watching as always @wayne
@JasonMcCallister84
@JasonMcCallister84 9 ай бұрын
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 9 ай бұрын
Gotta love the beauty of the io.Writer interface
@gedw99
@gedw99 9 ай бұрын
true. Piping like Unix style@@dandogamer
@SynadiaCommunications
@SynadiaCommunications 9 ай бұрын
You aren't the first! We've had a couple Synadians write a slog interface for NATS :)
@crownstupid
@crownstupid 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 9 ай бұрын
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 8 ай бұрын
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 8 ай бұрын
Looking forward to your continued updates
@SynadiaCommunications
@SynadiaCommunications 8 ай бұрын
We will keep posting more content
@GabrielPozo
@GabrielPozo 8 ай бұрын
Great video! Thanks for teaching with this video series!
@SynadiaCommunications
@SynadiaCommunications 8 ай бұрын
Glad it was helpful!
@lldadb664
@lldadb664 5 ай бұрын
Another great overview. Thanks!
@gedw99
@gedw99 9 ай бұрын
looking forward to NEX !!!! Seems to be part of the Derek masterplan :)
@SynadiaCommunications
@SynadiaCommunications 9 ай бұрын
First we rethink connectivity, then data, and workloads are the last bit of the triad :)
@suikast420
@suikast420 9 ай бұрын
33:59 a session about subject mapping coul be very cool- Espacially how can I do deterministic partitioning programatically with jeststream configuration ?
@SynadiaCommunications
@SynadiaCommunications 9 ай бұрын
Already planning on doing a full subject mapping video soon. Including all the new goodies in jetstream and subject mapping
@suikast420
@suikast420 9 ай бұрын
@@SynadiaCommunications I really appreciate it
@deltagamma1442
@deltagamma1442 4 ай бұрын
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 9 ай бұрын
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 9 ай бұрын
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
@suikast420
@suikast420 9 ай бұрын
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 9 ай бұрын
I think they have that feature with Jetstream
@SynadiaCommunications
@SynadiaCommunications 9 ай бұрын
Yeah this is something we are considering
@suikast420
@suikast420 9 ай бұрын
@@hendrikmartina3552 Nope. They have not
@suikast420
@suikast420 9 ай бұрын
@@SynadiaCommunications Is that scheduled for a release or only in draft ?
@EKwisnek
@EKwisnek 9 ай бұрын
Nice one, Jeremy!
@SynadiaCommunications
@SynadiaCommunications 9 ай бұрын
Thanks!
@JulienBis
@JulienBis 9 ай бұрын
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 9 ай бұрын
Great overview by the way, much appreciated.
@SynadiaCommunications
@SynadiaCommunications 9 ай бұрын
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 9 ай бұрын
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 8 ай бұрын
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
@MarkusK-zi6dr
@MarkusK-zi6dr 9 ай бұрын
Thanks for that. I love it.
@SynadiaCommunications
@SynadiaCommunications 9 ай бұрын
It's pretty cool stuff. Now if we can convince everyone to ditch their complicated setups....
@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?
@stevexuereb
@stevexuereb 9 ай бұрын
Thank you for this amazing content! What presentation tool do you use?
@SynadiaCommunications
@SynadiaCommunications 9 ай бұрын
I use Excalidraw for all the drawings
@selvaKumaresra
@selvaKumaresra 6 ай бұрын
is it fully opensource or has strings attched to Synadia cloud? those that only works with Synadia?
@SynadiaCommunications
@SynadiaCommunications 6 ай бұрын
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 9 ай бұрын
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 9 ай бұрын
It sure is!: github.com/nats-io/nats.net/tree/main/src/NATS.Client/Service
@ritsaerthornstra7929
@ritsaerthornstra7929 9 ай бұрын
Is the code you demoed in this episode available online? I'd love to browse through the code for ideas. 😁
@SynadiaCommunications
@SynadiaCommunications 9 ай бұрын
I got you! github.com/synadia-io/rethink_connectivity/tree/main/17-microservices-architectures
@ensi.creator
@ensi.creator 29 күн бұрын
too good to be true tbh
@appology9102
@appology9102 8 ай бұрын
When IPO? 😅
@khanakia
@khanakia 9 ай бұрын
It was helpful
@SynadiaCommunications
@SynadiaCommunications 9 ай бұрын
Thanks for watching!
@glebbondarenko67
@glebbondarenko67 6 ай бұрын
How reliable is NATS? looks like a single point of failure
@BZValoche
@BZValoche 5 ай бұрын
If setup correctly, it's not. If you're talking about bugs, well, make sure to use the latest version .
@meyou118
@meyou118 9 ай бұрын
pwning the backend... ;)
@SynadiaCommunications
@SynadiaCommunications 9 ай бұрын
You know it!
Stream processing: the easy way (with NATS and Benthos)
37:17
JetStream KV: A fascinating alternative to Redis...
35:13
Synadia
Рет қаралды 14 М.
Caleb Pressley Shows TSA How It’s Done
0:28
Barstool Sports
Рет қаралды 60 МЛН
«Жат бауыр» телехикаясы І 26-бөлім
52:18
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 434 М.
Self Managed Network - Part 4
43:24
TechYes Public Learning Channel
Рет қаралды 2
The Thing No One Tells You About Microservices
13:40
Continuous Delivery
Рет қаралды 65 М.
Microservices Gone Wrong at DoorDash
17:22
NeetCodeIO
Рет қаралды 170 М.
The Death of Microservices?
24:20
Cloud Computing Insider
Рет қаралды 70 М.
NATS.io: Beyond hello world - David Gee - July Gophers 2023
28:47
LondonGophers
Рет қаралды 7 М.
Caleb Pressley Shows TSA How It’s Done
0:28
Barstool Sports
Рет қаралды 60 МЛН