Archives

MemCached CustomSerializingTranscoder Serialized Object

Was getting this error when I was trying to set a custom object: memCachedClient.set(“customerObj”, 3600, new Customer(“John”, “Doe”)); This occurs because the memcached client is loaded using a classloader and the serialized object class is loaded using another classloader. To fix this you must pass to the memcahed client connector factory a custom transcoder.

Rate this:

Read More

Heroku MemCached Junit Test

Heroku Memcached Cloud Junit Test

Rate this:

Read More

Setup Memcached on Heroku

Add memcachedcloud to your project: heroku addons:add memcachedcloud 1. Setup Memcached Configuration 2. Setup Memcached Service 1. Setup Memcached Configuration 2. Setup Memcached Service

Rate this:

Read More