I think you are not getting a lot of replies because a question about 
generic "services" leaves the design space way too large.  The choice of 
webserver and especially the database are going to depend strongly on the 
required throughput, latency, access patterns, lots of other things I'm not 
thinking of...

I *would* look into pedestal and datomic, but just because they are nice 
pieces of software with interesting design decisions.  I *would not* recommend 
building your first service with them (unless you look at them and decide 
they are exactly what you need).

My 2 cents on writing your first service (possibly throwaway):

Webserver: Use plain ring + compojure + whatever servlet container you have 
now and know how to manage (Tomcat & Jetty work fine)
Database: Whatever database you have now and know how to manage and is 
pleasant for your type of data (clients exist for JDBC and almost all noSQL 
stores)

The above is fine if "REST" in your case translates to "CRUD + some 
querying."  If you want to design a more thorough and careful REST 
architecture, Liberator will probably be of interest.

If you know your service will need work queues and distributed caches and 
such, you might want to use Immutant as a platform to prototype, as it 
wraps all that up with a nice bow for you.

And again, if you narrow the design space somewhat, many people way more 
informed than me will probably chime in.

Hope that helps,
Leif


On Thursday, April 10, 2014 10:13:19 AM UTC-4, Kashyap CK wrote:
>
> Hi,
> I have the opportunity to build a set of services from scratch. I plan to 
> use clojure for this.
> I'd like to experiment with options available out there - options such as 
> - what webserver, what database etc. I'd like it very much if you could 
> share some of your experiences in this and possibly some pitfalls to avoid.
> Regards,
> Kashyap
>

-- 
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/d/optout.

Reply via email to