28 Feb '17, 3pm

Writing a Server Sent Events server in Go

I based my implementation largely on this example , and my own finalised production code is here . In this article I’ll take you through some of the code to illustrate how elegantly can Go model network concurrency. The patterns described below can be adapted to other problems where a server needs to keep open network connections and broadcast messages to all or some of them. This includes Websockets, chat servers, message brokers and others.

Full article: https://robots.thoughtbot.com/writing-a-server-sent-event...

Tweets

Events - What's on in

Events - What's on in

eventfinda.sg 10 Mar '17, 8am

1 Art-Zoo - i Light Marina Bay 2017 The Float @ Marina Bay , Marina Bay, Singapore Today 5:00pm and more 2 Hypefest – iLig...

Get creative and join us to learn calligraphy with @QuillLondon on Thursday 23 March

Get creative and join us to learn calligraphy w...

ltmuseum.co.uk 06 Mar '17, 1pm

Street. Urban. Public. There are many names for the art forms we find in our in public spaces. So what is street art and h...

Cool article by @scoutapp: Unicorn vs. Puma vs....

blog.scoutapp.com 01 Mar '17, 3pm

is unlikely to be a factor for the vast majority of apps. The execution time of your application code, database queries, a...

Bring Saturday Mornings Back to Life with this Cartoon Server

Bring Saturday Mornings Back to Life with this ...

hackaday.com 23 Feb '17, 7pm

It was an American ritual for over four decades: wake up early on Saturday morning, prepare a bowl of sugar, and occupy th...

Keep your eyes peeled for these beauties this month!

Keep your eyes peeled for these beauties this m...

nature.org 04 Mar '17, 4pm

Sandhill cranes in flight © Carlton Ward, Jr. Spring bird migration is in full swing at Conservancy sites this month. Stor...

OPPO launches its biggest, boldest device yet today – #OPPOR9sPlus @OPPOMalaysia https://t.co/atG2HMT76T

OPPO launches its biggest, boldest device yet t...

vernonchan.com 01 Mar '17, 3pm

Photo enthusiasts are going to delighted with the powerful 16MP IMX398 main shooter, co-developed with Sony. This is coupl...

"Good to go." Welcome back, Rory.

pgatour.com 28 Feb '17, 10pm

MEXICO CITY – Rory McIlroy had lunches with Tiger Woods and USGA executive director Mike Davis last week, and shot 65 at S...

#Passivhaus goes Personal in #Peterborough @Sel...

passivhaustrust.org.uk 02 Mar '17, 4pm

Are you planning a selfbuild project? Have you considered building to Passivhaus? The Passivhaus goes Personal campaign , ...