Re: Redis-Clojure: NoRouteToHostException

2010-01-14 Thread mudphone
Timothy, Thanks for the suggestion. Creating a million keys within the same with-server is possible, without seeing the NoRouteToHostException. So, hitting with-server so many times in so short a time period is definitely a bad idea (duh). So, I think there is a problem with how my larger progra

Re: Redis-Clojure: NoRouteToHostException

2010-01-13 Thread Timothy Pratley
2010/1/14 mudphone : > I believe it has to do with opening too many sockets on the Redis > server, rather than the total number of members in the set. Sounds possible. It would be worthwhile seeing if (redis/with-server REDIS-SPEC (dotimes [i 10] (redis/sadd "large-set" (random-value i w

Redis-Clojure: NoRouteToHostException

2010-01-13 Thread mudphone
This is a problem I'm having with the Redis-Clojure library, which is not strictly a Clojure issue. But, I know there are a lot of folks using it in the community, so I thought this might be a good shot for getting help. Sorry for the cross-post. After adding about 16328 members to a set, the st