Libmemcache is the C API for memcached, a high-performance, distributed memory object caching system.
Questions tagged [libmemcache]
63 questions
0
votes
1 answer
Unable to send UDP get request to memcached server with libmemcached module
I'm writing a Memcached UDP client with libmemcached/memcached.h to send some arbitrary loads on Memcached server. I can send set requests in UDP but I'm unable to send get requests, here is the snippet I wrote for this!
#include
#include…

Alireza Sanaee
- 465
- 1
- 7
- 21
0
votes
1 answer
How many requests per second does libmemcached can handle?
I hava a linux server which has 2G memory/ Intel Core 2 Duo 2.4 GHz cpu, I am developing a networking system. I use
libmemcached/memcache to store and access packet info, I want to know how many requests does
libmemcached can handle in a plain…

why
- 23,923
- 29
- 97
- 142
0
votes
3 answers
libmemcached problem
when i run the libmemcached example code on my ubuntu, it gave me the error "undefined reference to `memcached_create'", anyone can help ? thanks
#include
int main(int argc, char **argv) {
//memcached_servers_parse…

why
- 23,923
- 29
- 97
- 142
0
votes
2 answers
PHP Memcached CAS (check and set) issue
Hey all, here are the version of my current setup
Memcached (1.2.2)
Pecl Memcached Client 1.0.2 (using libmemcached 0.43)
Issue: I cant get a cas token returned during a get request
Here is the code in question!
27 public function action_test()…

Shawn
- 313
- 1
- 6
- 16
0
votes
0 answers
Apache2 serves outdated and even deleted files
I need help, my apache2 serves old versions of my files. What is stranger is even if I would delete the file the old file from the server-root but apache would still serve its old ramnant.
I realize am having a caching problem but I cant figure out…

Walker
- 323
- 1
- 12
0
votes
0 answers
Can we Implement Memcached in windows, if not why
I have Trying to use MemCached but its showing "class not Found error"
$Memcached = new Memcached();
$Memcached->addServer('127.0.0.1', 11211);
But when i Use Memcache everything works Fine :-
$memcache = new…

Aman jaura
- 201
- 3
- 15
0
votes
1 answer
How to install memcache on Mavericks? (MAMP)
I have MAMP on my machine, and I would like to install memcache for php, because one of my project throws errors like Fatal error: Class 'Memcache' not found.
I installed X-Code from appstore, and libevent, memcached, libmemcached with…

user3630024
- 111
- 1
- 8
0
votes
0 answers
Using setOption function with memcache in php
I am using memcache extension for connecting and playing around with the Memcache server.
But now, I want to use a function that is not present in this library but present in Memcached called Memcached::setOption
Its really difficult for me to move…

Manu
- 901
- 1
- 8
- 28
0
votes
1 answer
Working with memcache and mysql using memcache_functions_mysql UDFs
I have installed the following packages --
libevent-2.0.21
memcached-1.4.17
libmemcached-0.34
memcached_functions_mysql_1.1
All of the above have been installed successfully.
The output of the ldconfig -v command (the part where it shows that…

Ravi
- 2,472
- 3
- 20
- 26
0
votes
0 answers
$_SESSION doesn't work well with memcache
To improve performance I changed my session.save_handler to memcache the problem is that $_sessions doesn't work.
in php
session_start();
$_SESSION['admin_referrer'] = $_SERVER['REQUEST_URI'];
... different page
session_start();
echo…

user2783132
- 225
- 1
- 3
- 16
0
votes
2 answers
Class for memcache and function for reusing same object
I installed the memcache (without the D) extension for PHP. This is the function i'm using to create the memcache object just once, and then reuse it.
# Memcache handler
class mem {
var $id;
var $expire;
public static $mem;
#…

Andres SK
- 10,779
- 25
- 90
- 152
0
votes
2 answers
Couldn't retrieve all the memcache keys via telnet client
I want to list all the keys stored in the memcached server.
I googled for the same, I got some python/php scripts that can list the same. I tested it but all went failed and none gave me full keys. I can see thousands of keys using telnet…

JohnG
- 807
- 1
- 12
- 20
0
votes
0 answers
memcached 1.6 make failure
Trying to build memcached 1.6, but fails with below error.
How to solve the problem?
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I./include -I./libevent -I./engines/default_engine -I./include -I./libevent -fvisibility=hidden -pthread -g…

s.s
- 138
- 8
0
votes
1 answer
Asynchronous libmemcached usage
I want to use the method memcached_mget_execute() to retrieve values from a memcached server.
But I get the following error message:
"ACTION NOT SUPPORTED, ASCII protocol is not supported for memcached_mget_execute_by_key() ->…

sourabh0612
- 93
- 1
- 11
0
votes
1 answer
"sudo make" returns error memcache setup
As per this post.
I was able to ./configure after installing libmemcache-devel, but now when I move to the next setup and run sudo make I get the following:
Making all in src
make[1]: Entering directory…

Hayden
- 361
- 4
- 18