grails services :: multiple projects
Posted
by
naveen
on Stack Overflow
See other posts from Stack Overflow
or by naveen
Published on 2013-06-30T05:49:58Z
Indexed on
2013/07/01
4:21 UTC
Read the original article
Hit count: 118
PROBLEM :
I have multiple grails projects (lets say appA, appB and appC) : services to be precise
I want to run them in a single grails-app.. probably a war deployment, how can i do this?
REQUIREMENTS :
I want this to be a single app since i am deploying it on cloud and i don't have enough memory to hold all these service instances individually.
The reason for multiple grails project is scalability. So that if later on i want to run 10 instance of appA, 3 instance of appB, and 1 instance of aapC; i should be able to do that.
EDIT : Can i use something like 0mq, will that be helpful in keeping the services separated from each other. How will i package my service? And reading the docs of 0mq seems that it can work with both inprocess and external process. Will async grails requests on HTTP work with 0mq in process/ external mq calls. Haven't used 0mq, but from the initial doc it seems to work. Need some experience calls in this scenario.
Are there any other alternatives or mq alternatives?
© Stack Overflow or respective owner