Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6648017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:36:21+00:00 2026-05-26T00:36:21+00:00

Dalli Client is a little faster gem than standard memcached library. Client may be

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T00:36:22+00:00Added an answer on May 26, 2026 at 12:36 am

    Finally I made a commit to make dalli working with unix sockets. Now it will be possible to do it:

    Dalli::Client.new("/tmp/memcached.sock")
    

    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)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i used ree to test dalli gem, but i got one error: uninitialized constant
IMPORTANT NOTE: I recieved many answers and I thank you all. But all the
I tried a test file which is working but this file isn't. I also
I made an applet that launches a jframe, but then the jframe goes behind
I have to solve a little mpi problem. I have 4 slaves processes and
My Omniauth integration works on local development but fails for google on staging. require
I created this viewmodel: public class PlayerViewModel { PlayerRepository repo = new PlayerRepository(); public
I have a Sinatra application running on Heroku which makes use of Dalli to
I am trying to run test on my server but it fails due to
I have an xml/tei like <p> In trattoria scoprii che c'era <del rend=tratto a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.