Server Sent Events Explained with Go!

  Рет қаралды 3,267

Core Dump

Core Dump

Күн бұрын

Server-Sent Events are a mechanism by which servers can send real-time messages to a client. This can be used in scenarios like push notifications, real-time text broadcasting, etc. In this video, we go over how Server-Sent Events work and then look at a sample Go implementation.
Contents:
0:00 Introduction
00:49 How does SSE work?
02:13 What are we building
02:58 Go Example Code
13:07 Drawbacks
Thanks to this blog for the code: thoughtbot.com/blog/writing-a...
#go #backend #golang

Пікірлер: 14
@adamrizk6735
@adamrizk6735 Жыл бұрын
I just discovered your channel and your content is awesome. Hope you get more subscribers
@core_dump
@core_dump Жыл бұрын
Thanks!! I am hoping for the same 🤓
@chrismuga
@chrismuga Жыл бұрын
We can feel the passion in your delivery, keep going with the awesome content.
@core_dump
@core_dump Жыл бұрын
Thanks!!
@pseudounknow5559
@pseudounknow5559 Жыл бұрын
I watched the video aboit Discord and now this video. I subscribe, keep making good content !
@core_dump
@core_dump Жыл бұрын
Thankyou! ❤️
@block4671
@block4671 3 ай бұрын
this example is not beginners friendly, thanks.
@core_dump
@core_dump 2 ай бұрын
Sorry for that.
@puszek_997
@puszek_997 8 ай бұрын
@naomigoreng
@naomigoreng 5 ай бұрын
This channel is gold
@core_dump
@core_dump 4 ай бұрын
Thanks!
@ManuelMartinez-dj2gr
@ManuelMartinez-dj2gr Жыл бұрын
When should I use SSE over a websocket ? Or long pulling?
@core_dump
@core_dump Жыл бұрын
So, SSE can be used only when server needs to push and no bidirectional communication is required, like push notification. SSE is quite lightweight. Long Polling is less efficient than SSE because it requires the creation of a new HTTP request for each piece of data, but it may be a good choice for applications that need to support older browsers or that need to work around network restrictions.
@niklaswillecke9794
@niklaswillecke9794 Жыл бұрын
Can you upload the code to github ?
HTMX 1.9 - hx-on Attribute for Responding to Events
16:35
BugBytes
Рет қаралды 12 М.
I Built a Shelter House For myself and Сat🐱📦🏠
00:35
TooTool
Рет қаралды 36 МЛН
⬅️🤔➡️
00:31
Celine Dept
Рет қаралды 38 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:19
CRAZY GREAPA
Рет қаралды 14 МЛН
SSE vs WebSockets vs Long Polling. Martin Chaov. JS Fest 2018
57:49
Geosharding - Manage Location data at Scale
15:36
Core Dump
Рет қаралды 235
What are Keyed Cryptographic Hashes?
2:58
Schellman
Рет қаралды 277
Server-Sent Events Crash Course
29:48
Hussein Nasser
Рет қаралды 86 М.
Is this the end of microservices?
15:37
Core Dump
Рет қаралды 3 М.
The standard library now has all you need for advanced routing in Go.
13:52
Golang Context Explained - How To Use With Timeout
8:22
Melkey
Рет қаралды 16 М.
I Built a Shelter House For myself and Сat🐱📦🏠
00:35
TooTool
Рет қаралды 36 МЛН