I'm familiar with developing desktop apps in Clojure (written a multithreaded interactive visualization system). However, I'm fairly new to Web development using Clojure.
我熟悉在Clojure开发桌面应用程序(编写了一个多线程交互可视化系统)。然而,我对使用Clojure进行Web开发相当陌生。
I plan to use Clojure on the server for handling logic; and ClojureScript for handing client side work. However, I don't know what to use for my database server. Should I use something like Monogodb? or Hadoop? Or .... ?
我计划在服务器上使用Clojure来处理逻辑;以及处理客户端工作的ClojureScript。但是,我不知道我的数据库服务器应该使用什么。我应该使用Monogodb吗?或Hadoop吗?或....吗?
The app is something very simple; a basic forum. Total number of concurrent users will be < 100 at a given time. One thing that is important to me is the ability to easily backup / data consistency -- it's very very important to me that I can easily make daily backups (and not lose all the data.)
这个应用程序非常简单;一个基本的论坛。在给定的时间内,并发用户的总数将小于100。对我来说,重要的一点是能够轻松备份/数据一致性——对我来说非常重要的一点是,我可以轻松地进行每日备份(而不会丢失所有数据)。
Thanks!
谢谢!
2 个解决方案
#1
5
You can use many databases; if the database has an API for Java, you should be good to go. MySQL, MongoDB, Postgres, Hadoop… and more.
你可以使用许多数据库;如果数据库有用于Java的API,那么您应该很好。MySQL, MongoDB, Postgres, Hadoop等等。
For a nice overview of the webstack in Clojure, check out brehaut's article on the matter.
关于Clojure中webstack的一个很好的概述,请查看brehaut关于这个问题的文章。
For getting up and running quickly with Clojure and ClojureScript, try ClojureScriptOne.
要想用Clojure和ClojureScript快速起床和跑步,可以试试clojuscriptone。
There are many ways to write what you want to write; if you're already familiar with Clojure, it shouldn't be too hard to get going.
写你想写的东西有很多种方式;如果你已经熟悉了Clojure,那就不难开始了。
#2
4
Haven't used it myself, but Datomic ( http://datomic.com/ ) looks great for anyone coming from Clojure.
我自己还没有使用它,但是Datomic (http://datomic.com/)对于Clojure的人来说看起来很不错。
#1
5
You can use many databases; if the database has an API for Java, you should be good to go. MySQL, MongoDB, Postgres, Hadoop… and more.
你可以使用许多数据库;如果数据库有用于Java的API,那么您应该很好。MySQL, MongoDB, Postgres, Hadoop等等。
For a nice overview of the webstack in Clojure, check out brehaut's article on the matter.
关于Clojure中webstack的一个很好的概述,请查看brehaut关于这个问题的文章。
For getting up and running quickly with Clojure and ClojureScript, try ClojureScriptOne.
要想用Clojure和ClojureScript快速起床和跑步,可以试试clojuscriptone。
There are many ways to write what you want to write; if you're already familiar with Clojure, it shouldn't be too hard to get going.
写你想写的东西有很多种方式;如果你已经熟悉了Clojure,那就不难开始了。
#2
4
Haven't used it myself, but Datomic ( http://datomic.com/ ) looks great for anyone coming from Clojure.
我自己还没有使用它,但是Datomic (http://datomic.com/)对于Clojure的人来说看起来很不错。