load-balancing

How does a JMS Topic Subscriber in a clustered application server recieve messages?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-22 22:49:43
问题 Suppose I created a JMS Topic (PropertiesTopic) with one subscriber (PropertiesSubscriber). PropertiesSubscriber is running in a load balanced application server cluster as shown in the picture below. alt text http://www.freeimagehosting.net/uploads/be28c03781.png When a message is delivered to PropertiesTopic, do all the instances of PropertiesSubscriber running on different app servers get that message or does the message get delivered to only one PropertiesSubscriber instance running on an

Load Balancing, AJAX, and You

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-22 14:57:30
问题 If you were an asynchronous javascript call in an Asp.Net MVC environment, and you had to work with a round-robin style of load balancer, would you be able to find your way home? edit: adding clarification ..using in-memory session state. 回答1: I'd configure my load balancer with stickey sessions to avoid this problem. With sticky sessions, you'll be directed to the same server over and over again during the session. 回答2: If your application is stateless, it shouldn't matter. Whether a

Running multiple ECS tasks based on same task definitions in one host, using different ports

血红的双手。 提交于 2019-12-22 10:56:59
问题 I have one ecs task definition. Can multiple tasks of the above task definition can run on one EC2 instance on several ports ? I have already have running several tasks running on several ec2 instances. I want to reduce the consumption of resources. As one EC2 instance has more than enough resources to run several tasks. Is it possible to run same task several times on different ports on one EC2 instance ? 回答1: Yes, ECS has very good support for this since 2016. You can leave the host port

Google cloud load balancer port 80, to VM instances serving port 9000

被刻印的时光 ゝ 提交于 2019-12-22 09:36:45
问题 I'm new in GCE, and I am confused about setting up the load balancer. If I have two instances, serving on Port 9000, I want to setup a balancer that accepts on port 80, then route requests to my instances in port 9000.. a diagram like this.. LB:port:80 -> VM:port:9000 I have other load balancers from other providers which has a settings like pointing to VM's port. but in GCE, I cant seem to find it, or I am missing something.. I hope I am making a sense, here. thank you in advance 回答1: It isn

WCF Service hosted in IIS6 gets 404 in Production

此生再无相见时 提交于 2019-12-22 05:25:18
问题 I have built a simple WCF Service and deployed it to IIS6, and I'm noticing that it works in my Dev and Staging environments, but not Production. Every time I try to hit the service metadata link, I get a 404 page. I've checked IIS config everywhere I can think of and they're identical, so the only difference I can think of is that the Production environment is load balanced. Does anyone know of any issues with running a WCF service behind a load balancer, and how can I get around that? Am I

What is the best solution for storing ASP.NET session variables? StateServer or SQLServer?

一个人想着一个人 提交于 2019-12-22 04:13:25
问题 StateServer or SQLServer? What is the best solution for storing ASP.NET session variables? What are the pros and cons of each? Are one better then other in any particular situation? 回答1: Here's some thoughts about pro's/con's. I've also added Microsoft Velocity Distributed Caching solution. Pros for InProc Fastest optional available (it's all in memory/ram) Easy to setup (nothing new required in the .config file .. i think this is the default behavior). Most people I believe use this. Cons

Sticky session not working with multiple apache vhosts and multiple JBoss 7.2 server-groups

五迷三道 提交于 2019-12-22 01:29:16
问题 Having a specific cluster architecture with the following details: Load balancer ( 10.10.0.1 ) using Apache's mod_cluster 1.2.0 without advertising using multicast 2 JBoss AS 7.2 servers ( jboss-instance-1, jboss-instance-1 ) in domain mode (host and slave), i'm using proxy-list instead of multicast In domain.xml i have the following settings (only important snippets): ... <subsystem xmlns="urn:jboss:domain:modcluster:1.1"> <mod-cluster-config advertise-socket="modcluster" connector="ajp"

Sticky Session in apache doesn't work

喜你入骨 提交于 2019-12-21 23:17:57
问题 This is currently my environment setup. Apache Tomcat: Apache-Tomacat-7.0.21 Apache HTTP Server: c. Apache HTTP Server 2.2.19 Tomcat Connector JK 1.2.32 for Apache HTTP Server 2, mod_jk I'm trying to implement sticky session but i still can't get it to work. I'm able to load balance between 2 machines in a cluster. Please advise what else i have missed out! Following is my workers.properties file # Define 2 real workers using ajp13 & 1 balancer worker.list=balancer # worker.balancer.type=lb

How glimpse persists debugging information?

♀尐吖头ヾ 提交于 2019-12-21 22:10:14
问题 How does Glimpse persist collected data? Is it all saved in memory? Is there a way to persist the data in a database? I ask this because if I have a website installed on multiple machines (load balancing) can I use glimpse for debugging, or is the data collected from one server not accessible from other servers? 回答1: IPersistenceStore is the interface to implement. Glimpse ships out of the box with an in memory store called ApplicationPersistenceStore, but your implementation could write the

How Can I use Apache to load balance Marklogic Cluster

耗尽温柔 提交于 2019-12-21 16:21:35
问题 Hi I am new to Marklogic and Apache. I have been provided task to use apache as loadbalancer for our Marklogic cluster of 3 machines. Marklogic cluster is currently running on Linux servers. How can we achieve this? Any information regarding this would be helpful. 回答1: You could use mod_proxy_balancer. How you configure it depends what MarkLogic client you would like to use. If you would like to use the Java Client API, please follow the second example here to allow apache to generate