Libmemcache is the C API for memcached, a high-performance, distributed memory object caching system.
Questions tagged [libmemcache]
63 questions
1
vote
1 answer
memcache append/prepend with google protocol buffers
SOLVED: I tried appending a single SerialKey to the list. When I now append a SerialKeyList with one key, it works as it should be.
I am using memcached with libmemcached and the google protocol buffers to save a list in the cache which consists of…

devjat
- 138
- 1
- 6
1
vote
1 answer
PHP Memcached Hanging on getDelayed()
I am having a problem on my local machine when I am doing testing. I have a pool of memcached servers that my PHP code is trying to access. Thing is, these are private IPs so my local box's code doesn't have access to them.
The problem I'm having is…

Brad Dwyer
- 6,305
- 8
- 48
- 68
1
vote
2 answers
gem install memcached is failed on Lion
I want to use memcached gem (http://fauna.github.com/fauna/memcached/) on Mac OS X Lion (10.7.2).
The Xcode 4.2 was installed already.
I have installed memcached, and libmemcached by Homebrew.
$ brew list -v
libmemcached 0.50
memcached 1.4.10
And…

inohiro
- 285
- 1
- 3
- 17
1
vote
1 answer
Memcached scaling: key "grouping"
As it is best practice to group related keys that are frequently retrieved together (using multiGet) on a single server for optimum performance, I have a couple questions regarding the implicit mechanics employed by the client functions built for…

Adam
- 11
- 2
1
vote
1 answer
Issue with libmemcached version upgrade
I am trying to upgrade Libmemcached on my amazon linux2 server. Even after installing the latest version, I am still facing error as:
Got error 'PHP message: PHP Warning: Unknown: using touch command with binary protocol is not recommended with…

Vraj
- 21
- 2
1
vote
1 answer
Installing memcached php extension
i have followed countless tutorials and visted dozens of forums on installing the memcached php extension.
I am using the following commands.
$ pecl download memcached
$ tar zxvf memcached-1.0.2.tgz
$ cd memcached-1.0.0
$ phpize
$ ./configure
$…

Nbrochu
- 31
- 1
- 3
1
vote
0 answers
PHP Memcache call in constructor
Im in the process of updating some object models to cache their data to memcache and then fall back to the regular old sql query if no cache key is found. Originally, the constructors look something like this, though simplified of course.
function…

DeaconDesperado
- 9,977
- 9
- 47
- 77
1
vote
0 answers
Facing issues with installation of memcache php, centos 6
I am following below link to install memcache
https://www.liquidweb.com/kb/how-to-install-the-memcached-php-extension-on-centos-7/
When I run
yum -y install php-pecl-memcache
got error
Transaction Check Error: file /usr/bin/php from install of
…

Muhamma Waqas
- 11
- 3
1
vote
1 answer
slab classes and memory allocation in memcached
I recently started going through memcached source code and i came across this structure. Based on my understanding, there are approximately 64 slabs and and each slab represents a unique chunk size. If we took the first slab class ( size 80 , say )…

arkham knight
- 373
- 7
- 18
1
vote
1 answer
When and how do you update a changed item in Memcached?
I'm using PHP's PECL/Memcached for the first time and I can't figure out when or how I should be updating changed items in Memcached.
I've tried using both Memcached::add and Memcached::set and neither yields the results I expect.
Memcached::set…

Josh Smith
- 14,674
- 18
- 72
- 118
1
vote
1 answer
question with memcached_get() in libmemcached
memcached_get (memcached_st *ptr,
const char *key, size_t key_length,
size_t *value_length,
uint32_t *flags,
memcached_return_t *error);
Why need to pass the params "size_t key_length" and…

why
- 23,923
- 29
- 97
- 142
1
vote
1 answer
libmemcached : SERVER HAS FAILED AND DISABLED UNTIL TIMED RETRY
I am using libmemcached C API for interacting with memcached. Occasionally memcached_set fails with SERVER HAS FAILED AND DISABLED UNTIL TIMED RETRY. What can be a general approach to handle this issue.
This error only occurs on production servers,…

g-217
- 2,069
- 18
- 33
1
vote
0 answers
How to install memcache in MAMP
I'm trying to install memcache in my MAMP installation, using various ressources on the web.
I'm on Mac OS 10.10.3
MAMP 3.4
PHP 5.6.10
xCode installed
I installed memcache.so following https://github.com/majksner/php-memcached-mamp
I installed…

Matthieu
- 563
- 1
- 7
- 25
1
vote
1 answer
InnoDB Memcached Plugin in earlier version of MySQL 5.6
Can we use InnoDB Memcached Plugin in an earlier version of MySQL 5.6, such as 5.1 or 5.5? I searched on the web but could not find anything about this.
I tried to do this, as follows. I downloaded MySQL-server-5.6.22-1.el7.x86_64.rpm and then run…

Khosro
- 707
- 1
- 7
- 16
1
vote
1 answer
Performance overhead of short timeouts in Memcached
I am wondering whether having short timeouts (60 seconds) in memcached would have any negative effect on performance, VS longer timeouts, but ignoring the returned value (if it was stored more than 60 seconds ago).
Would having lots of cache misses…

Sina
- 607
- 7
- 22