Skip to content

Instantly share code, notes, and snippets.

@antirez
Last active April 7, 2017 09:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antirez/34ed544fd73d74c208ff830ba91e9a45 to your computer and use it in GitHub Desktop.
Save antirez/34ed544fd73d74c208ff830ba91e9a45 to your computer and use it in GitHub Desktop.
  • Overview delle strutture dati.
  • Persistenza: fork() e copy on write.
  • Implementazione di EXPIRE con sampling a approssimazione dell'algoritmo LRU.
  • Indici secondari usando i sorted set (inclusi i comandi LEX).
  • Geoindexing rappresentato da sorted set.
  • Mass import di dati tramite redis-cli.
  • Protocollo REPL.
  • Lua scripting.
  • Implementazione low level delle strutture dati: 1) Implementazione dual-ported dei sorted set (hash table + skiplist). 2) Hash table con rehashing incementale. 3) Quicklists: ovvero le liste di Redis sono implementate come delle liste linkate di mega-blob che contengono N oggetti.
  • Maxmemory e policy di eviction al raggiungimento della memoria. LRU e LFU.
  • Transazioni MULTI/EXEC.
  • Redis Sentinel.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment