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

Reply via email to