I'd say it's really about how you want to interact with the data. If your pattern of interaction suits a database, use one. If you just want to store / load data structures and do everything in memory, do that instead.
I use MySQL and MongoDB extensively via Clojure for a complex Internet dating platform so I'm pretty comfortable using databases with Clojure. Disclosure: I maintain Clojure's java.jdbc contrib library and I'm the primary committer on CongoMongo, a Clojure wrapper for MongoDB, so I'm probably more inclined toward those solutions than other Clojurians might be :) Sean On Wed, Jan 1, 2014 at 1:07 AM, curiousGuy <andrew...@gmail.com> wrote: > I recently got started with Heroku and Clojure. They provide an optional SQL > database for handling data, but it is not enabled by default. I'm wondering > how much sense it makes to use SQL on a Clojure environment, vs just using > sequence types within the language to store data and backing them up as > writes out to a file, then reading them back in when necessary? I suppose > for very large data stores, this is not ideal as you'd have a lot of data in > memory. > > I'm coming from a PHP/MySQL background and am quite new to Clojure so I > don't want to shoot myself in the foot by quickly adopting old habits rather > than embracing more idiomatic approaches. Any advice, or anyone actively > using data in the cloud with Clojure care to comment? > > -- > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > 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 clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ "Perfection is the enemy of the good." -- Gustave Flaubert, French realist novelist (1821-1880) -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com 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 clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.