Skip to content

Details

Real-time updates with Websockets and Server-Sent Events, A [Virtual] Talk

This event will be held through Zoom and Slack.

What are Websockets and SSE?

The web is nice and all, requesting data, then receiving that data.
What if you wanted to send data - that wasn't even asked for!

"Why would anyone ever want to do that?" you might ask.
Well you are probably doing that now in your every day life.
When you use slack, someone sends a gif of a cat vibing with Shaq⁽¹⁾ ? You get that gif sent straight to your phone and you didn't ask for it, and there it is anyway.

Or what if you wanted to create an multiplayer game where actions of one player are seen by the other players in near real time?

This is where websockets and server-sent events come in the picture.

Websockets (or wss) allow persistent two-way communication between clients and servers, think chat rooms like AOL Instant Messenger.

Server-Sent Events (or SSE) allows your site to push event-driven data to any connected clients (one way communication), think of how your clients poll for new data every 5 seconds to get updates... except WAY better!

  1. ^ https://i.giphy.com/media/W80Y9y1XwiL84/giphy.webp

About the Presenter, Jon Borgonia

Jon is a Sr. Software Engineer at Webmocha currently working as a DevOps engineer with a major Bay-Area-based NPO news station, with a secondary focus on information security.

He's built several applications that leverage websockets and SSE, including a few video game hackathon projects.

Find him on slack and twitter: @theRemix

About Seattle JS Hackers

We organize coding sessions at venues in Seattle each week. Our sessions encourage peer ideation, knowledge sharing, new champions for causes and projects, and a heightened sense of community. If you have a cool project, work on it with us!

What if I'm a novice?

Don't be afraid to ask tons of questions, we are here for you even if we don't have every answer, someone else in the audience might!

What if I know more about persistent client-server communication than you?

Sweet! We welcome "know-it-alls" to make sure we are providing less-biased, less-dogmatic, honest advice based on real world applications in production. We like bringing together the best minds to share and challenge ideas.

Code of Conduct

Seattle JS Hackers is a space for judgement-free learning and collaboration. We seek to support and encourage our members in a positive way; even negative feedback should be offered constructively and with respectful words.

Please feel free to share your experiences with others (e.g., product, company, passion, recruitment opportunity) if asked, but save your sales pitches for other events.

Remember, we are here to grow, learn, hack, and help each other!

Do you want to present some Javascript tools or techniques?

Contact @theRemix @Justin Oliver Lee or @joshua on our slack channel to get scheduled.

Not in our slack channel yet?

Join the Seattle JS Hackers Slack Group to keep the discussions going!
https://join.slack.com/t/seattlejshackers/shared_invite/enQtMzYzMDcwNzQ3Nzk0LTcxZDI5NjA1MjIwYzdkYjQ5ZDhhYjVlNzg1MjljZTg5NjU1YTRlYzhjMjNiZTQ0Y2NkMGRkOTQ2N2Q2N2VjYzU

You may also like