1,235 karma · joined Nov 10, 2012 (14y ago) · 359 submissions
comment 3y ago · link · parent
> 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
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
> 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
comment 3y ago · link · parent
comment 4y ago · link · parent
Coordinated Omission is subtle but deserves more color: https://groups.google.com/g/mechanical-sympathy/c/icNZJejUHf...
comment 4y ago · link · parent
comment 4y ago · link · parent
> 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
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
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
25.
Famous outages along with deep postmortems?
24 points · by fizwhiz · 4y ago · 12 comments
comment 5y ago · link · parent
https://www.usenix.org/system/files/conference/hotos15/hotos...
comment 5y ago · link · parent