user115422
user115422

Reputation: 4710

Use memcache on another IP

OK, here's my problem, I have 1 main server with a measly 128M of RAM. I also have a few other servers but they cannot support certain things making them not usable for a web server (not ideal for development (technical reason)). But the thing is that these servers have 4GB of ram. I want to put them to some good use and allow them to be used as memcached buckets?

Is this possible?

Of course you will think I am crazy for not using the 4GB server but I am not able to as the service provider disallows certain ports (25 is the one causing me issues as my web application requires mail).

I am using PHP. Please tell me, if this can work then what I need to install if I am not using the memcached server on my web server.

Also what ports will I have to forward?

Thanks in advance.

Upvotes: 0

Views: 95

Answers (1)

Brad
Brad

Reputation: 163293

If your application needs memory, run it on those servers anyway! Use your server that has full access to the internet as nothing more than a gateway to those servers.

You can do this a variety of ways, from simple routing, NAT, proxying, or even just mapping some ports over.

Upvotes: 2

Related Questions