Why use the Ruby DBM library

Does anyone know about the practical (real) use of Ruby DBM lib? Is this an alternative to the more "widespread" persistent key stores like Redis?

+4
source share
2 answers
  • DBM is a very old "standard" (there are several versions, see post .)
  • DBM read / write software is much broader than the much newer Redis.

If you need compatibility with any other software that uses or creates DBM, use it.

Otherwise, you are probably right to explore new technologies, including Redis. But don't stop at Redis - you should also explore other NoSQL solutions. FindTheBest

+2
source

I have never used it, but the obvious answer is that it is part of the standard library and is thus available anywhere in Ruby. This potentially makes it very useful in a very narrow set of circumstances, that is, when you need a repository with a key, but the end user is in an environment where more reliable solutions are not available, for example, Redis cannot be installed or started, or there is no Internet connection for loading gem.

+3
source

All Articles