thomasbacklund

Joined 13 years ago

Karma
307
Submissions
51
Member since
Feb 12
https://twitter.com/Bashlund
View on Hacker News

Recent submissions

Comment · 4 years ago
I am still curious.

As a FB software engineer you can probably work at any company you want to, so one must assume you want to work at Meta. And why is this?

Serious question here, please respond.

Comment · 4 years ago
Comment · 5 years ago
I made this nice little client/server socket lib which has the same interface both for TCP sockets and WebSockets. Free to use, MIT licensed.

You all know that browsers require WebSockets but when doing server to server communication regular TCP sockets are leaner and faster.

With pocket-sockets you can switch the underlying sockets as you need but use the same interface for both TCP and WebSockets.

Small, neat and few dependencies. Written in TypeScript with a bunch of tests to it :)

It also supports SSL/TLS encryption.

Happy SYN/ACK day!

Comment · 5 years ago
Comment · 5 years ago
Comment · 5 years ago
Indeed, the goal has to keep the number of moving parts down as much as possible so it can be easy to understand the full cluster and how to troubleshoot it. But of course, it still requires knowledge about the architecture to do so.
Comment · 5 years ago
Thanks,

We use haproxy pods for inbound traffic, they perform TLS termination and simply pass the traffic over to a local proxy pod.

The haproxy pod (and all other pods) communicate with each other over this local proxy service which is running on each host.

We have a very simplified and robust overall architecture, were each pod allocates a specific virtual port and the proxy will try each host for that pod (and remember status), meaning we don't need to keep track of global routing tables and update each host's ip tables (shivering) when pods come and go. We don't use iptables.

If some instance of a pod is unavailable the proxy will seamlessly try another instance of the pod.

Initially we tried to config haproxy to do all this proxying for us, but it was asking too much.

Good to know is that Simplenetes is still in beta.

Comment · 5 years ago
Comment · 5 years ago
Comment · 5 years ago
Comment · 5 years ago
Comment · 5 years ago
Thanks for sharing, I'll have a peek :) Heroku is ACE

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton