Better HN
topnewbestaskshowjobs
Log inSign up

AlexTDiaconu

187 karma · joined Jun 11, 2020 (6y ago) · 6 submissions

Submissions

comment 4y ago · link · parent

Big question! It deserves its own blog post haha.

CRDTs can be the answer. We actually wrote about them recently (https://ably.com/blog/crdts-distributed-data-consistency-cha...), and there is more coming soon as our Chief Of Scientist and his team are researching CRDTs and building demos!

comment 4y ago · link · parent

Hey Aparsons, thanks for your feedback. As mentioned in the post, the Handbook is not finished and we'll continue to evolve, adding more chapters, meat to the current chapters, and we have other ideas like exercises.

It's good that you are interested in Scaling WebSockets, because that is the chapter I am writing now! I hope to get it live in a couple of weeks, once it is I can send you the new version.

comment 4y ago · link · parent

As with REST APIs, you'd want to be able to authenticate to a websocket-based API using either basic auth, or a bearer token-based auth scheme. Unfortunately, the browser websocket API doesn't allow you to specify arbitrary headers in the websocket request, so it's typical instead to have credentials supplied via a query param (such as "accessToken" for a bearer token) in the wss request.

comment 4y ago · link · parent

Hi HN! I'm Alex, and I've been researching and writing about WebSockets for a while now. I'm the author of the recently released WebSocket Handbook. AMA about the WebSocket tech, the realtime web, Ably or anything related to Liverpool FC.

5.

The WebSocket Handbook(ably.com ↗)

303 points · by AlexTDiaconu · 4y ago · 119 comments

6.

Navigating the 8 fallacies of distributed computing(ably.com ↗)

2 points · by AlexTDiaconu · 5y ago · discuss