ColdBox CacheBox and AWS ElastiCache

Greetings,

It’s been over a year since any topics floated up about AWS ElastiCache. My initial Googling pass didn’t turn up anything so I thought I’d post here.

Is anyone using ElastiCache with CacheBox, specifically from within a ColdBox application? I’ve tried a couple different things but nothing is panning out.

I’m running the application in Elastic Beanstalk on Railo 4.2, so I tried both the RedisCache and Membase Railo extensions, however I wound up with some interesting Java exceptions trying to get that to work (posted that in the Railo group). If someone has a good suggestion for something that’s out there, please let me know. I could use a hint.

While I’m not opposed to firing up some CouchBase servers and going with the CouchBase provider, I’d like to use straight up ElastiCache in this use case…

Many Thanks,
Adam Bellas

Hi Adam,

I know Aaron Greenlee has something for ElasticCache. I know it uses the memcached protocol so our Couchbase Extension will actually work with it as well as Couchbase supports the Memcached binary protocol out of the box.

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

We use the memcacheD extension with Railo without issue. Works like a charm - we use cacheBox too:

template = {
provider = “coldbox.system.cache.providers.RailoColdBoxProvider”,
properties = {
cacheName=“mymemcachedstore”
}
},

signature0.jpg

By the way, you need to enable the beta extension provider in Railo I think: http://preview.getrailo.org/ExtensionProvider.cfc

The memcacheD extension is still in beta technically.

Also, we use ElasticBeanstalk too - so I know it will work…

signature0.jpg

Tom,

Are you using the Membase extension?

Or is there a different extension out there for Memcached? I’d love to go this route and keep this layer of abstraction in Railo itself. Feels more clean to me.

Thanks,
Adam

We have a trial for the Couchbase Extension Adam, you can try it out.

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

Aha! Thanks, Tom, I didn’t think to look for it in there.

Luis, I’ll give both a shot. :slight_smile: Thanks for the responses, both of you. Feels good to have somewhere to go for things like this.

  • Adam

signature0.jpg