redis cache

83 views
Skip to first unread message

Andrea Campolonghi

unread,
May 23, 2012, 12:12:41 PM5/23/12
to ra...@googlegroups.com
I have published a cache extension for Redis.
Incredibly fast.

Someone is using redis in any project ???

Andrea Campolonghi



Michael Offner

unread,
May 23, 2012, 12:33:49 PM5/23/12
to ra...@googlegroups.com
I will check, perhaps a candidate for the core.

/micha

Vo mim iPhone gschickt

Josh Nathanson

unread,
May 23, 2012, 12:51:08 PM5/23/12
to ra...@googlegroups.com
We've been playing around with Redis and we were using Jedis...looks like this will make things cleaner.  Thanks Andrea!

-- Josh

Andrea Campolonghi

unread,
May 24, 2012, 3:34:23 AM5/24/12
to ra...@googlegroups.com
I am glad this can be useful.
Please let me have your feedbacks.

I think Redis is amazing.

Andrea
Andrea Campolonghi



nolandubeau

unread,
Aug 14, 2013, 3:37:47 PM8/14/13
to ra...@googlegroups.com
Hi Andrea,

As a proof of concept I am trying to use your RedisCache provider to connect to a RedisCache that I created on www.nodejitsu.com.  
I'm trying to see if it is possible for a remote CF app connect to the Redis instance that is tied to an external Node.JS app.

I installed the extension and used my nodejitsu connection string when setting up the cache.  No errors are thrown when I verify the connection.  I also set the Redis cache to be the default Object cache.

I then tried to do a simple test by calling cacheClear() in my app and I receive this error:

java.lang.NullPointerException
	at railo.extension.io.cache.redis.RedisCache.keys(Unknown Source):-1
	at railo.extension.io.cache.redis.RedisCache.keys(Unknown Source):-1
	at railo.extension.io.cache.redis.RedisCache.remove(Unknown Source):-1
	at railo.runtime.functions.cache.CacheClear.call(CacheClear.java:31):31
	at railo.runtime.functions.cache.CacheClear.call(CacheClear.java:19):19


I am at a loss to determine what i'm doing wrong as this is the first time I have used the built in Railo caching.  Have you ever tried connecting to an external Redis cache such as Nodejitsu?

Thanks for your help.

Nolan

Andrea Campolonghi

unread,
Aug 23, 2013, 6:28:10 AM8/23/13
to ra...@googlegroups.com
Hi,

this normally says that you are acting on a null instance.
From the stack looks like you are trying to remove a key that does not exists in cache.

Andrea

--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/3dbba6fd-c2d5-461d-bd40-1c5ff971ab84%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Andrea Campolonghi



Reply all
Reply to author
Forward
0 new messages