Re: Storing data on web server with Clojure

2014-01-02 Thread Sean Johnson
Keep in mind that the Heroku file system is a little "funky". Writing things there is not like you're used to with your local system or with a VPS or dedicated server. It's ephemeral and those files will disappear during certain events. I agree with the other Sean, that if the data is small and

Re: Storing data on web server with Clojure

2014-01-01 Thread Sean Corfield
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 p

Storing data on web server with Clojure

2014-01-01 Thread curiousGuy
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 u