HN user

inaworld

-1 karma
Posts0
Comments5
View on HN
No posts found.

I once heard about a very large scale multiprocessor configuration with shared cached virtual memory and or disk storage. I don't know the specific terminology, but a cluster of DEC Alphas sharing a vast mapped memory space, not pure disk caching but something more like object caching. As an analogy imagine running all of Facebook across multiple servers with shared storage, and the cached objects are elements of Facebook pages, such as you and I sharing the same photos and simultaneously updating/tagging them. It is critical that we always retrieve consistent states, but it is not critical that my tagging happens strictly before your tagging.

Locks were not available, so it was simply not an option. So they instead chose a lockless "ethernet with memory space collisions" analog to normal "ethernet with wire timing collisions"

The implementation was to allow concurrent overlapping readers and writers into shared memory, but reading was done backward through memory, and writing was done forward. Readers could thus tell (checksum) if their read got corrupted by an overlapping write, and they could cancel and reinitiate. As long as there are not a large number of collisions, it's a very fast system with no waiting. Again, imagine the intensity and criticality of Facebook object sharing; on a human scale there might be a lot of concurrency and benefit to caching, but at processor speed there will not be much read/write contention.

There was more to the scheme which I don't exactly remember. For example, you can see that a writer can also tell if the write was corrupted by a concurrent write by following with a reread, but that's not what they did. I think there were two pools of shared storage, memory chunks and tables of handles to chunks, and the writers coordinated their lockless shared writes via the table of handles to the chunks using the same forward/backward contention (or really corruption) detection.

half the point of bitcoin was to provide an alternative to so-called fiat currencies whose value is under the influence of govt policies. The idea was to be an electronic version of a return to the gold standard.

the other half was the flip side of that bitcoin.

successful democracies have so many protections built in for open debates and protection of minority viewpoints, as well as labor law to protect people's jobs... it just seems so creepy to me the current trend toward squelching disagreement by attacking people's jobs when you disagree with them or if they hold an unpopular opinion.

"be the market" is the advice that comes out of portfolio theory. To say that it applies to one type of investor but not to venture investors is to basically announce that you have absolutely no understanding of portfolio theory.