Closed karanrk closed 5 years ago
We are updating the web page using REST calls for News, and Weather every 30 mins. We plan to give user an option to select the update interval on UI in future. Stocks are updated every epoch using web socket communication. Because of the volatile and urgent nature of stock prices, we used web sockets. We are working on the service discovery part. Looking into both Docker swarm and zookeeper. We were able to dockerize all our artifacts, but Java artifacts (Weather and DB microservice). Yes, you can push a commit on the CI/CD branch or manually trigger the build.
Manually triggered the build and tested out the pipeline, works fine.
I had a question - suppose If you were to push/edit a single line of code to any one microservice, with your current configuration it would build all the microservices and re-deploy all the microservices again which might impact the downtime for the whole application. You could build each microservice separately and deploy them separately. In this way you could keep the application live and only redeploy individual microservice.
We were earlier building it in a single jenkinsfile. Thanks for the suggestion, we updated jenkinsfile to build and deploy each microservice separately.