/explore
|
You are here |
danielms.site | ||
| | | | |
www.memorysafety.org
ISRG's Prossimo is committed to moving the Internet's security-sensitive software to memory safe code and to encouraging people to prioritize memory safety. |
|
| | | | | ||
| | | | |
www.scottsmitelli.com
An exploration of the Network Time Protocol (NTP) message format, the interpretation of each of its data fields, and the underlying variables that time servers track to keep their clocks accurate. |
|
| | | | | ||
| | | | |
nurkiewicz.com
Clocks are important to computers. Computers need to order events in a way understandable to humans. Every computer has a bunch of internal counters, like CPU ticks. But they only work within one machine. We need a way to have a reliable, global clock, that is synchronized between many computers. Why, exactly? Well, imagine you are selling tickets to The Rolling Stones concert. They sometimes sell within a few seconds. First come, first served. But who was first, if selling happens asynchronously in mult... |
|
| | | | | ||
| | | | |
shortdiv.com
One of the hardest problems in local-first software is sync. In previous posts, I talked about OTs/CRDTs, the role of the cloud relative to the client, and general conflict resolution. But I never quite landed on the core theme behind those ideas; sync is the bread and butter of data reconciliation in local-first software. Briefly, a sync engine is responsible for collecting changes, resolving conflicts and propagating these changes across all clients. Considering that every client operates on their own copy of the data, and can go offline for long, unknown stretches of time, a good sync engine must be designed for availability, partition tolerance, and eventual consistency the classic trifecta of trade-offs in distributed systems. |
|
| | | |||