Is it possible to do some sort of batch processing with the carmine library ?


So far I'm doing the following.


(defn test-data [s n]
 (map (fn [i] (reverse (conj '(taoensso.carmine/set) (str i "|color") "blue"))) 
(range s n)))

(def data (map (fn[i] (conj (test-data i (+ i 2000)) 
'server.nosql.redis/server1-conn 'taoensso.carmine/wcar))
 (range 0 50000 2000)))

(defn do-alot []
 (doseq [request data]
      (eval request)))


Are there any better solutions for the given task ?

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to