Better HN
topnewbestaskshowjobs
Log inSign up

fizwhiz

1,235 karma · joined Nov 10, 2012 (14y ago) · 359 submissions

Submissions

comment 3y ago · link · parent

I'm sorry but this was easily the most pretentious book I've read all year.

comment 3y ago · link · parent

Why hasn't their stock plummeted like Google's?

comment 3y ago · link · parent

FWIW they mention this at the bottom of their document

> Just like BlazingMQ’s other subsystems, its leader election implementation (and general replicated state machinery) is tested with unit and integration tests. In addition, we periodically run chaos testing on BlazingMQ using our Jepsen chaos testing suite, which we will be publishing soon as open source. We have also tested our implementation with a TLA+ specification for BlazingMQ’s elector state machine.

comment 3y ago · link · parent

> This section explains the leader election algorithm at a high level. It is by no means exhaustive and deliberately avoids any formal specification or proof. Readers looking for an exhaustive explanation should refer to the Raft paper, which acts as a strong inspiration for BlazingMQ’s leader election algorithm.

So their own homegrown leader election algorithm?

> BlazingMQ’s leader election and state machine replication differs from that of Raft in one way: in Rafts leader election, only the node having the most up-to-date log can become the leader. If a follower receives an election proposal from a node with stale view of the log, it will not support it. This ensures that the elected leader has up-to-date messages in the replicated stream, and simply needs to sync up any followers which are not up to date. A good thing about this choice is that messages always flow from leader to follower nodes.

> BlazingMQ’s elector implementation relaxes this requirement. Any node in the cluster can become a leader, irrespective of its position in the log. This adds additional complexity in that a new leader needs to synchronize its state with the followers and that a follower node may need to send messages to the new leader if the latter is not up to date. However, this deviation from Raft and the custom synchronization protocol comes in handy because it allows BlazingMQ to avoid flushing (fsync) every message to disk. Readers familiar with Apache Kafka internals will see similarities between the two systems here.

"a new leader needs to synchronize its state with the followers and that a follower node may need to send messages to the new leader if the latter is not up to date". I thought a hallmark of HA systems was fast failover? If I come to your house and knock on the door, but it takes you 10mins to get off the couch to open the door, it's perfectly acceptable for me to claim you were "unavailable". Pedants will argue the opposite.

comment 3y ago · link · parent

Lots of haters on the part1 segment of this article wondering "wtf does this VP even do?!"

> I have friends who are line managers at larger companies who take home more than I do in my current role

I wonder if this is the "liquid" portion of Emily's comp. If it's the "total" comp then that tells me a VP Eng at a Series D startup makes < $400k all in??

comment 3y ago · link · parent

What's min-maxing?

comment 3y ago · link · parent

Obligatory: https://danluu.com/sounds-easy/

comment 3y ago · link · parent

These roles likely comprise less than 5% of all engineers at big tech companies so I would be pretty surprised if such a book exists.

comment 3y ago · link · parent

nit: Cockroach was founded by a Xoogler but there's no public evidence that they were on the Spanner team at any point.

comment 3y ago · link · parent

With idempotence, you shift the problem from "deliver X exactly once" to "make it seem like X was delivered exactly once". In most systems, exactly-once is really "effectively exactly once".

comment 3y ago · link · parent

Exactly Once = At least once + Idempotence

comment 3y ago · link · parent

How do you reconcile this with the importance of crosstalk and contention as espoused by the USL? https://wso2.com/blog/research/scalability-modeling-using-un...

comment 4y ago · link · parent

OT: Sorry to hear what happened to you at Twitter (:

comment 4y ago · link · parent

> It’s also important that the loader generates those requests at a constant rate, best done asynchronously, so that response processing doesn’t get in the way of sending out new requests.

Coordinated Omission is subtle but deserves more color: https://groups.google.com/g/mechanical-sympathy/c/icNZJejUHf...

comment 4y ago · link · parent

Damn dude what did you do? Sell Ads to teens?

comment 4y ago · link · parent

Obligatory memcache scaling paper mention: https://www.usenix.org/system/files/conference/nsdi13/nsdi13...

comment 4y ago · link · parent

Can you walk me through how waiting some amount of time actually improves their guarantee? It's not like they're using Google's TrueTime api that provides bounds on time. How is "unnecessary lag" avoided between Producers & Consumers?

comment 4y ago · link · parent

https://news.ycombinator.com/item?id=31743182#31743198 :)

comment 4y ago · link · parent

From earlier in the article:

> Clock skew across different sensors: Sensors might be located across different datacenters, computers, and networks, so their clocks might not be synchronized to the millisecond.

And later on in their final solution

> Implementation4 cons: Producers and consumers must have synchronized clocks (up to a certain resolution)

How do they reconcile this skew in their final solution?

comment 4y ago · link · parent

> In the US and Europe, RSUs are difficult to get wrong because of share withholding

I believe the withholding is 22% by default. If you're living in CA and have a large RSU vest, then your actual tax liability is much higher. Friends at Coinbase had an initial $75k (yearly) grant vest at $750k. They didn't sell, and that grant is currently worth $150k. Their 2021 W-2 claims they made much more money though.

comment 4y ago · link · parent

TIL Edgar Codd went by Ted.

comment 4y ago · link · parent

> both pictures of white male talking to white female.

white passing *

comment 4y ago · link · parent

I'm not convinced that issues requests from the multiple clients for the same key actually matters. My speculation is that they map a key to their backend via some type of (consistent/rendezvous) hash and then ensure that all requests for said key lands on the same process/server* that contains the state for the key.

This means that for a specific key, you end up on 1 specific process. If you can ensure this, you basically get monotonic reads/writes along with RYW and Writes-Follow-Reads. All this maps to causal consistency so it is believable.

* The request could probably be sent to a read-only replica first but it could then forward it to the leader replica handling writes by examining some logical timestamp.

comment 4y ago · link · parent

What a ridiculous marketing term. This is a RYW (Read your writes) level of consistency which is a far cry from Strong consistency (see https://jepsen.io/consistency). Seems like eventual consistency with some affinity bolted on.

25.

Famous outages along with deep postmortems?

24 points · by fizwhiz · 4y ago · 12 comments

comment 4y ago · link · parent

Fond memories of watching that show.

comment 4y ago · link · parent

> buy a third bay area house

In palo alto / atherton no less.

comment 5y ago · link · parent

Would you mind describing your stack in more detail? Did you use gRPC with Go?

comment 5y ago · link · parent

I'm guessing they were referring to "Scalability! But at what COST?"

https://www.usenix.org/system/files/conference/hotos15/hotos...

comment 5y ago · link · parent

This reminds me of https://en.wikipedia.org/wiki/Thundering_herd_problem
12345
12