Membase + Memcached on Debian
Hi guys,
I have memcached installed and working on my Debian machine on Lighttpd and nginx .
If I install Membase, will memcached continue working on default port 11211?
Thanks for this great products.
Zvonko
Hi perry,
thanks for the answer.
If I choose option 2, then membase and memcached will live on the same port? How will I save data to one or the other from my application?
Can I basically use membase as cache engine i.e. if I put a duration when saving data, will it expire? This way I couls use only membase for both persistent and non-persistent data.
Sorry for lot of questions.
Zvonko
Zvonko, if you go with option 2, you would actually have 2 different buckets created within the Membase cluster...one as just memcached and one as Membase. Each one would live on a different port (as defined by you).
Within your application, you would specify which port to save which data on. Make sense?
I think you can DEFINITELY use Membase as a cache engine. We fully support the memcached TTLs and will periodically sweep the database to remove any already expired data (since we don't "evict" data like memcached does).
No worries on your questions, I'm happy to help and glad to see your interest growing.
Thanks, take care.
Perry
Hey Zvonko, thanks for your inquiry.
I "think" you're asking whether you can run Membase and the standard memcached on the same system. Unfortunately this will not be possible since they both need to bind to port 11211.
You have a few options:
-You could install Membase and then have the standard memcached live on a different port (other than 11211, 11210, 8091, 4369)
-You could install Membase and create a memcached bucket within our software which can live on port 11211 (or any port you wish)
Depending on what you want to do, I think the second option would be best since you will get all the benefits of our clustering and management which the standard memcached does not provide.
let me know if you have any other questions.
Perry
Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!