Dalli Client is a little faster gem than standard memcached library.
Client may be initialized by: dc = Dalli::Client.new('localhost:11211')
But now I’m in need to create client using unix socket, for example file “tmp/memcached.sock” (this is good speed up). After reading documentation, code and examples I don’t know how to create client based on socket. Any help would be appreciated
Finally I made a commit to make dalli working with unix sockets. Now it will be possible to do it:
Edit:
to people searching for answers why unix socket does not work – it has been removed in 2.x (if you want to use UNIXSocket, please use latest 1.x, refer to https://github.com/mperham/dalli/issues/273)