libMemcached is an open source C/C++ client library and tools for the memcached server.
Questions tagged [libmemcached]
110 questions
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
Memcache Class still not found
Having a lot of trouble getting Memcache to work on my server.
I have:
Apached 2.4
PHP 5.5.11
Memcache 3.0.8 ts vc11 x86
I have placed the line:
extension=php_memcache.dll
In my php.ini file which is being loaded correctly with no errors:
C:\Web…

imperium2335
- 23,402
- 38
- 111
- 190
0
votes
1 answer
90th percentile latency of memcached
I'm running the memaslap client from libmemcached 1.0.16 to benchmark memcached-1.4.15 and I want to get the 90th percentile latency.
Is there a good way to get it from memaslap?
Or are there other benchmark tools that make it easier to extract…

trauzti
- 219
- 1
- 9
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
1 answer
Can I use memcached selectively?
How does memcached really work?
If I have 5 different Percona MySQL databases d1, d2..d5, each serving a different PHP application a1, a2..a5 respectively, then can I just try to boost d1 with memcached?
I understand that memcached changes a lot…

OC2PS
- 1,037
- 3
- 19
- 34
0
votes
1 answer
Connecting to remote services from multiple threaded requests
I have a boost asio application with many threads, similar to a web server, handling hundreds of concurrent requests. Every request will need to make calls to both memcached and redis (via libmemcached and redispp respectively). Is the best…

Harry
- 863
- 3
- 10
- 26
0
votes
1 answer
How to use consistent hashing in memcached c client?
I am using libmemcached c client for set and get the memcache value.
memcached_server_st *servers = NULL;
memcached_st *memc;
memcached_return rc;
char *key= "keystring";
char *value= "keyvalue";
// memcached_server_st…

Querier
- 185
- 1
- 1
- 10
0
votes
2 answers
ibmemcached Linking Error: undefined reference to `memcached_exist'
I am trying to write a sample code using libmemcached c/c++ client version (0.53)
gcc -o test test.c -I/home/libmemcached/include -L/home/libmemcached/lib -lmemcached -lmemcachedutil
However i get an error
/tmp/ccoaToYP.o: In function main':
…

Antony1
- 3
- 2
0
votes
1 answer
PHP class Libmemcached not found
I am transferring a PHP application 9running on apache) from Centos to Ubuntu. When I deploy the code on Ubuntu I get an error "Class Libmemcached not found".
When I compare phpinfo pages, I can see that the Centos one has "libmemcached" section,…

Vladimir Makhnovsky
- 271
- 2
- 14
0
votes
1 answer
Couldn't store key: SYSTEM ERROR when running c program under cgi-bin
When I run following program from commandline on CentOS 6.4, I get the expected results but when I run it as Apache cgi, I error Couldn't store key: SYSTEM ERROR error. I am running Memcached, Apache and program through the same user.
What could I…

Me Unagi
- 405
- 1
- 8
- 17
0
votes
1 answer
Is consistent hashing implemented consistently the same in c and java memcached clients
I want to set the Memcache value in java and get the same through c client.
Is it possible for multiple memcache environment. Does both use same hashing standards?

Querier
- 185
- 1
- 1
- 10
0
votes
1 answer
When to use libmemcached in non-blocking mode?
I'm starting to integrate libmemcached into my application and reading the documentation, there is a non-blocking mode flag. After a quick google, there seems to be a performance advantage to non blocking mode, but are there any disadvantages to…

Wiz
- 4,595
- 9
- 34
- 51
0
votes
1 answer
Libmemcached make error
I am having a problem with the make command for libmemcached, it throws up all these errors near the end of the command
CXX example/memcached_light.o
example/memcached_light.cc:40:19: error: event.h: No such file or directory
CXX …

boundless08
- 303
- 4
- 17
0
votes
1 answer
Problems building libmemcached on Mac OSX (and Mint, and CentOS)
Downloaded the tarball from https://launchpad.net/libmemcached/+download/libmemcached-1.0.12.tar.gz (linked to from libmemcached.org). Ran the usual ./configure + make protocol, got a number of errors related to implicitly converting 64-bit value…

Chap
- 3,649
- 2
- 46
- 84
0
votes
1 answer
Configuring SASL support in libmemcached
I'm trying to build libmemcached with SASL support on OS X Mountain Lion.
I have built memcached (1.4.15) with SASL support:
$ memcached -S -vv
Initialized SASL.
slab class 1: chunk size 96 perslab 10922
...
slab class…

John Keyes
- 5,479
- 1
- 29
- 48