load-balancing

Orchard CMS on Load Balanced web servers

余生长醉 提交于 2019-12-21 12:12:42
问题 I'm considering running Orchard CMS on load balanced servers. (Two web servers with hardware load balancers, and a SAN file share) I've been unable to find any info on this. I'm wondering if there will be update and cacheing issues - if pages are cached, will updates be propagated to the other server? I'm also wondering if there are likely to be any install pitfalls? Does anyone have any info or experience on this? Many thanks.... 回答1: You will need to define a machine key: http:/

Catching disconnects with Apache Load Balancer and node/io.socket backend

♀尐吖头ヾ 提交于 2019-12-21 12:09:20
问题 NOTE: I have solved most of the problem, but am still encountering an issue with catching the disconnects as noted towards the bottom of this post in the Update section. NOTE 2: As requested I have posted a more complete view of my setup. See the heading at the bottom of this post. I am trying to set up a load balancer in Apache but it is not working for socket.io. My Apache code looks like this: <VirtualHost *:80> ServerAdmin webmaster@example.com ServerName jpl.example.com ProxyRequests off

Hashtable insert failed. Load factor too high. - asp.NET 4.0 MVC3

自古美人都是妖i 提交于 2019-12-21 12:01:47
问题 We have an ASP.NET 4.0 MVC3 application running on F5 load balanced servers. We received the exception below. We do not do multi-threading in our web application, but don't know if the F5 load balancing servers could be factoring into the equation. We see where the exception occurs on earlier versions of .NET (Most of the other posts deal with .NET 2.0 and 3.5). Has anyone experienced this issue with .NET 4.0? The exception rendered the application unusable because upon login no page could be

AWS autoscale ELB status checks grace period

。_饼干妹妹 提交于 2019-12-21 08:53:27
问题 I'm running servers in a AWS auto scale group. The running servers are behind a load balancer. I'm using the ELB to mange the auto scaling groups healthchecks. When servers are been started and join the auto scale group they are currently immediately join to the load balancer. How much time (i.e. the healthcheck grace period) do I need to wait until I let them join to the load balancer? Should it be only after the servers are in a state of running? Should it be only after the servers passed

AWS autoscale ELB status checks grace period

社会主义新天地 提交于 2019-12-21 08:51:46
问题 I'm running servers in a AWS auto scale group. The running servers are behind a load balancer. I'm using the ELB to mange the auto scaling groups healthchecks. When servers are been started and join the auto scale group they are currently immediately join to the load balancer. How much time (i.e. the healthcheck grace period) do I need to wait until I let them join to the load balancer? Should it be only after the servers are in a state of running? Should it be only after the servers passed

Is it legitimate to use dropbox as file storage for my site?

两盒软妹~` 提交于 2019-12-21 07:20:12
问题 I am approaching the limits of my hosting plan. I doubled it once from 2 to 4 GB and my site (a popular woodworking community in Hebrew) is getting close to using the disk space available for the images people are uploading. I was wondering if it were a legitimate use of DropBox (or any of the other free cloud hosts), to serve the files of it as public files... i.e. whenever someone uploads a file to my server it will be instead uploaded using the DropBox API to the DropBox servers, and the

MongoDB load balancing and failover of query routers

百般思念 提交于 2019-12-21 06:37:31
问题 I'm wondering how load balacing and failover between client and query routers work in MongoDB. I haven't found any matching documentation so far. Everyone says it's not relevant and I don't think so. Every piece of software / hardware can die and there'll be always a reason why you can't bring it up immediately again. The situation is very simple. Assuming a usual setup with sharded replicat sets, a client connects to a query router and performs operations. What happens if the query router

AWS load balancer and maintenance page

时间秒杀一切 提交于 2019-12-21 03:38:19
问题 I'm using AWS Load Balancer with 3 EC2 servers, and I'm trying to serve a Maintenance page when site is under maintenance. This page need to return 503 HTTP code, because it is a proper code for a maintenance mode and will prevent possible problems with SEO. When I return 503 code from any of my servers, Load Balancer makes it "Not In Service", and when all servers return 503, website returns a blank page (because all servers are disconnected). My questions are: 1) Is there any way to serve a

Clustered EJBs not being balanced in JBoss AS 7

牧云@^-^@ 提交于 2019-12-21 02:39:07
问题 I've successfully setup a cluster of 2 JBoss AS 7 instances, and deployed the following SLSB: @Stateless @Remote(TestEJBRemote.class) @Clustered public class TestEJB implements TestEJBRemote { private static final long serialVersionUID = 1L; private static final Logger logger = Logger.getLogger(...); @Override public void test() { String nodeName = System.getProperty("jboss.node.name"); logger.info(nodeName); } } From the log files I can see that the bean is correctly deployed on the cluster.

How to deploy and update app on multiply ec2 instances in Amazon Auto-scaling group?

谁都会走 提交于 2019-12-21 02:00:09
问题 Could you suggest in which ways I can deploy code changes from SVN to all ec2 instances running behind Amazon load balancer in auto-scaling group? I also need to update code to latest version when a new ec2 instance launching automatically in auto-scaling group. I suppose to use 'user-data' to run 'svn up' on new machines. And probably I could use cron to run 'svn up' periodically on all machines. Could you suggest better solutions? 回答1: In my opinion, you shouldn't be updating code on the