tokyo-tyrant in memory database like redis or can it grow larger then memory and retrieve from harddrive

StackOverflow https://stackoverflow.com/questions/4385034

  •  10-10-2019
  •  | 
  •  

Pergunta

Tokyo-tyrant in memory database like redis(allthough redis has VM?) or can it grow larger then memory and retrieve from harddrive. If so how does it achieve that?

Foi útil?

Solução

Tokyo Tyrant is just a network interface to Tokyo Cabinet, not an actual database server. Tokyo Cabinet has support for both in-memory and on-file storages. When you start Tokyo Tyrant's ttserver the database name you specify is the type of storage that will be used. For instance, if you start up ttserver with:

ttserver "*" -- in-memory hash
ttserver "+" -- in-memory tree
ttserver /var/ttserver/casket.tch -- on-disk hash
ttserver /var/ttserver/casket.tcb -- on-disk b-tree
ttserver /var/ttserver/casket.tct -- on-disk fixed-length
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top