Dear Supporter,

I have been trying to deploy cloudsuite benchmark (web-serving use case) in a 
distributed environment using docker swarm mode ( the new swarm which is added 
in docker 1.12).


The way for deploying the benchmark that is explained in documentation, is by 
using docker run. For instance, for deploying the web server this command is 
used:

$ docker run -dt --net=host --name=web_server cloudsuite/web-serving:web_server 
\
  /etc/bootstrap.sh ${DATABASE_SERVER_IP} ${MEMCACHED_SERVER_IP} 
${MAX_PM_CHILDREN}


As you can see, it has custom entry point and also some additional parameters. 
it is the same for other components. I have three questions regarding these 
situation:

1- First of all, is it reasonable and possible to deploy this benchmark in a 
distributed environment, especially in swarm mode?

2- Can I use services in swarm mode to deploy these containers? How am I 
supposed to give the entry point and parameters in the command for creating the 
service?

3- As I have understood so far, the services are for containers that provide 
long term services, like nginx or mysql server. but my last component, faban 
client, is not a long term thing. it just starts and sends some requests to 
other components and gather some results. And also I need to get those results 
out of this container too. Can it be also a service?


Thank you for your support,

Kind regards,

Alireza Amiri

Reply via email to