memcached on a shared host

10 views
Skip to first unread message

ehsmeng

unread,
Nov 17, 2010, 6:46:05 AM11/17/10
to memcached
Assume that I have a webhost. I offer databases to my users and they
torture them with expensive queries.

What I'd want is a memcached instance @ 8MB (or whatever) per user but
this is not really doable with stock memcached for obvious reasons.

Second best is having a big mama server, connected via a really fast
internal network to the web host machines. This big mama server (BMS)
has one memcached instance per user, listening to 127.0.0.1 and each
on their own port.

BMS also has an intermediate software that listens to the LAN network.
This intermediate software acts like memcached but username_password_
is prepended to all keys. Intermediate software unpacks username/
password, checks for access rights and if user has access right, defer
the operation to the corresponding memcached instance.

Is there any software out there that is doing this, more or less?

How does shared hosts solve this memcached problem? It's not strictly
a cost for them as they both get a reduced load on the databases and
has another selling point.

Thanks,
Marcus

Dustin

unread,
Nov 17, 2010, 3:11:37 PM11/17/10
to memcached

On Nov 17, 3:46 am, ehsmeng <ehsm...@gmail.com> wrote:
> How does shared hosts solve this memcached problem? It's not strictly
> a cost for them as they both get a reduced load on the databases and
> has another selling point.

We run memcached on heroku under a build from the engine branch and
the bucket engine:

https://github.com/membase/bucket_engine
Reply all
Reply to author
Forward
0 new messages