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 8914293
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T04:40:51+00:00 2026-06-15T04:40:51+00:00

Our lead developer claims that memcached owns some local caching buffer. So he is

  • 0

Our lead developer claims that memcached owns some local caching buffer.
So he is doing some actions in code, that would lead to hundreds-thousands of calls to memcached with almost everytime the same keys.
It would definetly lead to many memory allocations, but would it require network overhead?

I did try to read the source code of php-memcached, but it just calls libmemcached’s function (I don’t remember its name) and I couldn’t figure out where can I find its definition.

  • 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-06-15T04:40:55+00:00Added an answer on June 15, 2026 at 4:40 am

    How exactly your lead developer managed to extract that information would have been useful. From the list of constants, this particular option sticks out:

    Memcached::OPT_BUFFER_WRITES
    

    It’s used to buffer writes to Memcached to reduce network overheads; however, it also states that a read operation immediately flushes that buffer to the server.

    Web searches so far didn’t provide any information to either substantiate or contradict the statement, though if there was such a feature there should be an option to switch off that behaviour; the absence of which leads me to believe that it’s not there.

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

Sidebar

Related Questions

I just had a conversation with my lead developer who disagreed that unit tests
first I'd like to explain the situation/requirements that lead to the question: In our
Currently we are facing some problems with our Team Lead regarding work assignment hierarchy
One of our clients has two very similar websites that we are performing lead
I've been working on some C++ code that some of the other developers I
We are a lead generating company and have developed one application where our customers
Our Sample Code EditText txtData = (EditText) findViewById(R.id.txtData); Button btnReadSDFile = (Button) findViewById(R.id.btnReadSDFile); btnReadSDFile.setOnClickListener(new
Our application is a Java-GWT application that uses Guice-Persist and Guice-Servlet extensively. We have
We're implementing a new solution in our classic ASP environment that's using COM interop
Many people talk about namespace as a way to change the URL that lead

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.