A key-value server

In programming, one of the most traditional data structures is the hash table. It exists in almost every programming language, a one-dimensional mapping of a key (usually a string) to a value. In Go, these are called maps, in Python they are dictionaries, in JavaScript they are objects.

In distributed systems, distributed hash tables are used - shared, one-dimensional data structures that many programs can use. One program on one machine can set a key-value pair, and another program on another network can access it, and modify it.

 

This page is a preview of Reliable Webservers with Go

No discussions yet