Coin163

首页 > spring单例和多例详解。如何在单例中调用多例对象

spring单例和多例详解。如何在单例中调用多例对象

相关标签: spring prototype

2020腾讯云双十一活动,全年最低!!!(领取3500元代金券),
地址https://cloud.tencent.com/act/cps/redirect?redirect=1073

2020阿里云双十一最低价产品入口,含代金券(新老用户有优惠),
入口地址https://www.aliyun.com/minisite/goods

up vote 3 down vote favorite 1

Do rolling updates control (honor the wait time between the push to instances) minor updates to application like "Changing a header field of a jsp page".

I have set up the rolling update time to 1 hour and i have four instances. I am using eclipse IDE. I make a minor change on header/title bar and then click "Run on Server" in AWS EC2 APACHE TOMCAT7 (US-EAST-1). Beanstalk goes and updates all 4 instances at once. I was expecting it to wait for 1 hour each and all instances updated after 3 hours.. But it happens instantaneously..

amazon-web-services amazon-ec2 elastic-beanstalk beanstalk share | improve this question asked Dec 2 '13 at 20:06 user3006942 100 11      If you want zero downtime during deployments, you should follow the instructions here: Deploying Versions with Zero Downtime –  alfredaday Feb 5 '14 at 8:49 add a comment  | 

2 Answers 2

active oldest votes up vote 3 down vote accepted

Rolling updates are not supported in beanstalk for app version changes.. They are supported for only env changes.. See the blogs below.. As on today web deployments or version updates cause a brief downtime because beanstalk updates all servers at once..

You can do something like this: https://forums.aws.amazon.com/message.jspa?messageID=258782

share | improve this answer edited Jun 24 '14 at 13:37 jmar777 20.5k 3 41 45 answered Dec 3 '13 at 1:53 user3006942 100 11 add a comment  |  up vote -1 down vote

Amazon Elastic Beanstalk now provides rolling deploys for your purposes. http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.rolling-version-deploy.html

As opposed to rolling updates http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.rollingupdates.html

Deploys are for software changes while updates are for configuration changes. Elastic beanstalk now has a few different options for deploys so that you avoid downtime and also deploying an unhealthy software to production.

share | improve this answer edited Jun 11 '16 at 21:50 answered Jun 10 '16 at 0:10 mmislam101 1 2 add a comment  | 

Your Answer

  draft saved draft discarded

Sign up or log in

Sign up using Google

Sign up using Facebook

Sign up using Email and Password

Post as a guest

Name Email

Post as a guest

Name Email discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged amazon-web-services amazon-ec2 elastic-beanstalk beanstalk or ask your own question.

原文

up vote 3 down vote favorite 1 Do rolling updates control (honor the wait time between the push to instances) minor updates to application like "Changing a header field of a jsp pa

------分隔线----------------------------
相关推荐