Questions tagged [memcachedb]

MemcacheDB is a distributed key-value storage system designed for persistent. It uses Berkeley DB as a storing backend,so features as transaction and replication are supported.

37 questions
1
vote
1 answer

Memcache vs Buffer Pool in MySQL

What's the difference between memcache and buffer pool in MySQL? It seems to me that both use memory as buffer/cache so as to reduce disk I/O. Thanks!
dykw
  • 1,199
  • 3
  • 13
  • 17
1
vote
1 answer

Couchbase as a memcached + repcached replacement?

I've got a group of servers that currently use both memcached and repcached side by side (listening on different ports). The memcached service is used to store local data that doesn't need to be shared. The repcached instance is used to allow…
Jeremy
  • 214
  • 2
  • 8
1
vote
1 answer

How do i check whether a particular memcache key exists using unix command

I am new to memcache. Memcache has been used for some queries. There is some problem with cache, and it seems memcache is not working properly. I need to check whether a particular memcache key is there in dump. My project is in php. can someone…
Dora
  • 292
  • 3
  • 15
1
vote
4 answers

Fast, scalable hash lookup database? (Berkeley'ish)

I use and love Berkeley but it seems to bog down once you get near a million or so entries, especially on the inserts. I've tried memcachedb which works but it's not being maintained so I'm worried of using it in production. Does anyone have any…
Ryan Detzel
  • 5,519
  • 9
  • 37
  • 49
0
votes
2 answers

MySQL Memory Table, Memcached or anything else?

A dataset growing currently >1 million which requires constant lookup / updation of user specific data. looking for fastest and scalable option with high TPS. Memcache/memcacheddb vs mysql memory tables are a big confusion for implementation and…
axe
  • 11
  • 2
0
votes
2 answers

Does adding Memcached/APC require writing codes again?

I'm planing to add APC or MEMCACHED to my PHP code ! my question is does it require to rewrite all the code ? as i looked in to PHP Manual and there i got this ! function get_foo(foo_id) foo = memcached_get("foo:" . foo_id) return foo if defined…
Sourav
  • 17,065
  • 35
  • 101
  • 159
0
votes
2 answers

Grab html from memcached if found, if not render and save to memcached

For a specific controller's action, how would I first check to see HTML is in memcached, and yes then render from cache. If not found, render the view page's html, then take that html and store it in memcached for future requests. I actually want to…
Blankman
  • 259,732
  • 324
  • 769
  • 1,199
0
votes
1 answer

Memcached "stats cachedump" command was not show all keys

I encountered a weird question today .I found have three items in a slab by run command "stats items" , but when i run command "stats cachedump 1 0" for view item infomation this slab , only show two items , this slab number is 1. The output…
Shaun
  • 480
  • 7
  • 18
0
votes
1 answer

Enabling SASL auth on memcacheD server using Couchbase/spymemcache client

We need to enable SASL auth on memcached running instances. I wanted to know what are the changes required to enable auth using spymemcache client. I assume it will as simple as passing some connection factory instance with credentials. Also once…
User5817351
  • 989
  • 2
  • 16
  • 36
0
votes
1 answer

Nested memcache lookups in Python, o(n) good/bad?

Is something like this bad with memcache? 1. GET LIST OF KEYS 2. FOR EACH KEY IN LIST OF KEYS - GET DATA I'm expecting the list of keys to be around ~1000 long. If this is bad, I'm wondering if there is a better way to do this? I figured…
ensnare
  • 40,069
  • 64
  • 158
  • 224
0
votes
1 answer

How to connect to memcachedb and use API

I have installed memcachedb according to the Memcachedb: The complete guide, and I am able to set and get the key,values using telnet as explained in the guide. What I really want to do is to set and get the key, value pairs from a python script. I…
Wajahat
  • 1,593
  • 3
  • 20
  • 47
0
votes
1 answer

Serving static images thru Lighttpd

I am trying to build library application. Converting the PDF documents to PNG images. (each page is one PNG file) So there will be several millions of PNG's going to be there in the server. Number of hits per second will be more than 500 and i have…
Soft
  • 1,796
  • 5
  • 19
  • 30
0
votes
1 answer

Unable to connect to memcachedb using libmemcached

I'm writing a small C++ application that is able to connect to a memcachedb instance using the libmemcached C++ API. The memcachedb instance was created using the following command: memcachedb -m 64 -p 21201 -A 4096 -u memcachedb -l 127.0.0.1 -H…
Andres Felipe
  • 625
  • 7
  • 24
0
votes
2 answers

is memcache relative to database

I have been browsing through a lot of websites. I need experts advice on this one. can anyone please explain me what exactly is memcache ? From what I understand that it is a distributed memory caching system used for dynamic web apps but my main…
skyrocker
  • 199
  • 2
  • 8
  • 20
0
votes
1 answer

Php Memcached delete not working

I am using PHP Memcached & when I delete a key, I can still retrieve the key. What could I be doing wrong? function __construct() { $this->_cache = array(); // if we have memcache support, load it from CACHE_POOL // if…
user2158382
  • 4,430
  • 12
  • 55
  • 97