Become a member
Sign in
BonHome
BonHome

BonHome

65 Following
4 Followers
  • Profile
  • Claps
  • Highlights
  • Responses

Highlighted by BonHome

See more

From How to Scale WebSockets by Hendrik Swanepoel

When you need to scale out a pub/sub architecture over sockets, you will need to find a good pub/sub technology to have at the core of your solution.

From How to Scale WebSockets by Hendrik Swanepoel

On the other hand, WebSockets differ from HTTP requests in the sense that they are persistent. The WebSocket client opens up a connection to the server and reuses it. On this long running connection, both the server and client can publish and respond to events. This concept is called a duplex connection. A connection can be opened through a load balancer, but once the connection is opened, it stays with the same server until it’s closed or interrupted.

From Node.js Server & Authentication Basics: Express, Sessions, Passport, and cURL by Evan Gow

… our /client folder called ‘cookie-file.txt’. You should see this text file appear in your project. Now we can call curl again, but this time calling cookie-file.txt with the ‘-b’ flag which tells cURL to send our session id in our header data. Let’s also add the ‘-v’ flag to see this.

Claps from BonHome

See more

Hi Chad, thanks for writing.

Vadim Samokhin

I've been trying to figure it out for about 2 hours but not sure yet how a curry function should…

Glenn Dwiyatcita

Yeah, you’re right.

Mark Caron