If we use one machine for jenkins then the moment we run multiple jobs it may burden the machine/vm which can lead to system crash To reduce burden on jenkins server/vm we can go with master - Slave configuration which could be used to reduce the burden on jenkins server/vm by distributing tasks/load. Jenkins Master vs Jenkins Slave The machine/server where jenkins tools is installed can be referred as master machine which is used to create jobs, schedule the jobs and mange the jobs It will also distribute jobs executions into slave machines/servers Note : We can Run/execute jobs on jenkins Master machine too however it's not recommended Jenkins Slave: It's a machine which is connected to jenkins master machine and execute the job/task assigned by master machine/server. Slave server/machine will receive tasks from master machine for the job execution.
Control Flow of SpringBootMVC ============================ 1. Programmer deploys SpringMVC/SpringBootMVC application in webserver or webapps 2. Deployment activities takes place which involves IOC container creation,DispatcherServlet registration with ServletContainer Pre-Instantiation of Singleton scope spring beans like Controller class,handlermapping,viewResolvers,Service class,DAO class etc. In the mean time necessary dependancy injection also takes place 3. Browser gives request to deployed springmvc application 4. The frontcontroller(DispatcherServlet) traps the request and applies the common system services on the request like logging,auditing,tracking etc,... 5. DispatcherServlet hands over the request to HandlerMapping component to map incoming request with handler method of handler/controller class and gets RequestMapping object from HandlerMapping component having Controller class bean id and HandlerMethod signature(it uses lot of reflection api code internally) 6. Dis...
Load Balancers When all components are in same applications, all request comes to same servers then burden will increase on the same server. More the requests to the server, then the performance at the server side will be slow so the response time is high for clients. Eg: Youtube, Myntra, Flipkart,.......(lakhs of users will send the request still the response time will be uniform for client) When burden increased on server it will process the request slowly and some times the server might crash also. To reduce the bu...
Comments
Post a Comment