FAQ Database Discussion Community


Is it possible to load balance several services using the same HTTP load balancer in GCE?

load-balancing,google-compute-engine,google-cloud-platform
I have one website and one api server on different instances: Is it possible to serve both of them through the same HTTP load balancer? Is there a down side to doing this vs. 2 load balancers? I went over these: https://cloud.google.com/compute/docs/load-balancing/http/ https://cloud.google.com/compute/docs/load-balancing/http/cross-region-example ...

Reason why load balancers usually implemented in high-availability pairs?

load-balancing,mod-proxy-balancer
Currently , I am doing some research about the load balancer . On Wikipedia , refer to this link http://en.wikipedia.org/wiki/Load_balancing_(computing). It says : "Usually load balancers are implemented in high-availability pairs which may also replicate session persistence data if required by the specific application." Besides , I have also used...

How do I configure SSL with Laravel 5 behind a load balancer (ssl_termination)?

php,laravel,ssl,laravel-5,load-balancing
I have a laravel 5 project deployed to AWS EC2 web instances, behind an ELB with ssl termination. For things like assets, Laravel by default uses whatever scheme is currently used. However, I've noticed since the https traffic is decrypted by the ELB and forwarded to the EC2 nodes via...

Is it possible to use mysql proxy for query processing in front of microsoft sql server?

database,load-balancing,mysql-proxy
I want to use mysql proxy for processing queries trying to execute. I want to make this process available for all databases like mysql, ms sql server, oracle and ... is it possible to use mysql proxy as base engine and connect these database from that? if no, is it...

Can I run multiple private docker registry behind load balancer?

load,load-balancing,private,multiple-instances,docker-registry
I was wondering if it's possible to run multiple docker registry hosts under an ELB or (any load balancer for that matter). I am planning to run the private docker registry inside a docker container. Has anyone tried that? Any ideas for how to have Docker registry containers autoheal without...

Invalid postback or callback argument when using loadbalancer and webgate

iis,server,load-balancing
Hi I have developed an asp.net website which is deployed on two server. This site is working fine when I access the site using IP address of servers in URL like https://123.123.123.12/Pagename.aspx. When I access site using loadbalancer DNS name (https://DNSName/Pagename.aspx) and webgate some of the pages are throwing following...

Weblogic load balancing and request re-routing to another server

weblogic,load-balancing
I'm totally new to clustering and load balancing. What I'm trying to do is "Deploy Application on a Cluster which contains 2 managed servers. Now, If one of the managed server goes down, request should be redirected to another server which is Up." For Example: I've 2 managed servers (M1:7021...

Unable to manually configure apache httpd 2.4.12 on ubuntu 13.10

apache,load-balancing,httpd.conf,ubuntu-13.10
I need to manually install apache httpd 2.4.12 on ubuntu 13.10. For some reasons I cannot use apt-get install. Having gone through the instructions provided for httpd installation, I execute the following commands in order Unzip the installation that was downloaded Navigate to the folder where the installation is present...

Is there any way to divide server resources between users of Java application?

java,tomcat,docker,load-balancing
I wonder if there is any possibility to split the users of Java application running under Tomcat by server resources? Problem description We have an application written in Java and running under the control of Tomcat server. Sometimes users could possibly do some actions leading to 100% charge of server...

Azure load-balanced set preserves client IP

azure,load-balancing,azure-virtual-machine
From experimenting with Azure load-balancing set, it seems that x-forwarded-for header is not used (as it would be expected in regular load-balancer), rather they preserve the original client IP. E.g.: app.get('/my-ip', function(req, res) { winston.log('/my-ip', 'x-forwarded', req.headers['x-forwarded-for'] || 'none', 'remoteAddress', req.connection.remoteAddress || 'none'); res.end(); }); With the result: /my-ip x-forwarded...

AWS EC2 Load Balancing: point to specific AMI

amazon-web-services,amazon-ec2,load-balancing
I'm using the EC2 load balancer. Since I'm implementing my own autoscaling policy, I will not use to auto scaling EC2 service that I imagine is well integrated with the Load Balancer. Basically I will scale out istances all from the same AMI. I notice that the load balancer ask...

Load Balancer with Healt Check for JBoss 7.1 or Apache

java,apache,jboss7.x,load-balancing,high-availability
I need to set up a high availability solution for 2 servers JBoss 7.1 or Apache, I read the documentation and I find mod_cluster and ajp but they don't have health check. Need to assemble a solution with 2 servers JBoss and 2 load balancers. Which solution for Load Balancer...

Network Load Balance

load-balancing,windows-server-2012-r2,nlb
I'm having an issue while accessing an NLB cluster from node that is part of the cluster. Here is the scenario. I have created a NLB clusters on IP 10.10.10.110\255.0.0.0 [Protocol: both with filtering Single Host] in unicast mode having three nodes 10.10.10.109\255.0.0.0 -> Priority 2 10.10.10.134\255.0.0.0 -> Priority 1...

reverse domain name row key, automatic splitting, and load balancing

hbase,load-balancing,sharding,primary-key-design
I'm designing an HBase schema with a row key that starts with the domain name reversed. E.g., com.example.www. Although there are many more domains that end in .com than say .org or .edu, I assume that I don't have to manage splitting myself, and I can rely on HBase's automatic...

Relationship between HTTPS Healthchecks and an HTTPS connection to a GCE Instance

load-balancing,google-compute-engine
I'm setting up HTTPS Load Balancing (LB) on Google Compute Engine (GCE). Key components are outlined in the Overview Diagram. After successfully creating a HTTP Backend Service where 1 of 1 (GCE) instance is healthy, I decided to do the same for HTTPS. I'm using the Developer Console UI to...

Database query load balancing

sql,sql-server,algorithm,load-balancing
I have several instances of an application running the same query against several SQL Server databases. There is a manual load balancing mechanism in place: each instance uses an algorithm to asimmetrically decide which server to query at a given time. The processing time of the query, and thus the...

How does CoreOS load balancing work out there in the wild on a cloud service?

cloud,cluster-computing,load-balancing,coreos
Say I have a CoreOS cluster deployed on some cloud service somewhere. Now I have, say, 4 machines running a node.js app which follows all the 12-factor tenets and one machine with Couchbase. How does load balancing work in this scenario? Wouldn't ONE ip eventually run out of juice as...

load balancing elasticsearch nodes for document / index writes and updates?

elasticsearch,load-balancing
I am architecting a medium sized elasticsearch cluster (~20 nodes) with the three distinct node types Elasticsearch allows (master, data, and client) I am working on setting up load balancers to receive new documents and document updates for the Elasticsearch cluster. I have found Elasticsearch documentation on routing a document...

Barracuda 340 Load Balancer Won't Port Forward

networking,load-balancing
We have Barracuda 340 that we are trying to set up for load balancing across multiple servers, each with multiple applications running. If I set up a service with the specific port we are sending UDP packets to, and one IP per Real Server (with the same port as the...

How does Amazon Auto scaling work in a DDos attack

amazon-web-services,amazon-ec2,load-balancing,autoscaling
I have setup my auto scaling group to add a new EC2 instance when Elastic Beanstalk CPU usage above 60% for 5 mins. I get that but what happen if adding 1 instance is not enough and CPU usage is still above 60%, does auto scaling group add more EC2...

Load balancing with nginx using hash method

node.js,nginx,load-balancing
I want to use nginx as a load balancer in front of several node.js application nodes. round-robin and ip_hash methods are unbelievably easy to implement but in my use case, they're not the best fit. I need nginx to serve clients to backend nodes in respect to their session id's...

How can I set up a load balancer for multiple virtual hosts (apache)

apache,xampp,load-balancing,virtual-hosts
I am trying to set up a load balancer for a couple of virtual hosts on my apache server. These virtual hosts are added by adding the following lines for the file "C:\Windows\System32\drivers\etc\hosts": 127.0.0.1 localhost 127.0.0.1 vhosta 127.0.0.1 vhostb 127.0.0.1 vhostc 127.0.0.1 load-balancer ::1 localhost Then I've added the following...

Google HTTP load balancing enforce HTTPS

load-balancing,google-cloud-platform,gcloud
I have a HTTP and HTTPS load balancer on Goole Cloud. Is it possible to set it up to enforce (redirect) all connections to HTTPS?

How to scale horizontally Amazon RDS instance?

amazon-web-services,amazon-ec2,load-balancing,amazon-rds,autoscaling
How to scale horizontally amazon RDS instance? EC2 and load balancer+autoscaling is extremly easy to implement, but if I want scaling amazon RDS? I can ugrade my RDS instance with more powerfull instance or I can create a read replica and I can direct SELECT queries to it. But in...

How to implement new load balancing algorithm in nginx?

nginx,load-balancing
can i implement new load balancing algorithm in Nginx for test? i wanna try to implement one method for load balancing using content-based algorithm but i don't know how to use this implementation in my cluster

Azure linux load balance with neo4j

azure,neo4j,load-balancing
I have 3 machines running Linux. I set the load balance, but only the first set of machine availability responds to requests. When we turn off the first machine, the other two do not respond to external requests. I do not have configured iptables on Linux and no restrictive. Does...

which logic sould be followed using custom partitioner in map reduce to solve this

java,hadoop,mapreduce,load-balancing,hadoop-partitioning
If in a file key distribution is like 99% of the words start with 'A' and 1% start with 'B' to 'Z' and you have to count the number of words starting with each letter, how would you distribute your keys efficiently?

How to access the nodes behind the amazon load balancer directly

amazon-web-services,load-balancing,elastic-beanstalk
I have an application running on elastic beanstalk. The application is load balanced, and the SSL is handled by the load balancer. How do I securely access the individual nodes in the cluster? I want to do this so that I can connect via JMX and interrogate the individual nodes...

Global Variables not updated due to load balancing

java,load-balancing,haproxy
There are two servers running a web service and the servers are load balanced using HAProxy. Web Service does a post and updates a global variable with a certain value and another application running on the same servers will read this global value and does some processing. My issues is...

Bluemix Load Balancer Algorithm

load-balancing,bluemix,autoscaling
What algorithm is used to balance HTTP load among several instances running on Bluemix? It seems I can use auto-scaling service to scale horizontally, and want to know what algorithm is used when balancing the load.

“Channel shutdown: connection error”

amazon-ec2,rabbitmq,load-balancing,spring-amqp
I've set up on AWS a RabbitMQ cluster with two nodes, and enabled HA as described here. Then, I set up an Elastic Load Balancer mapping 5672 to the instances' 5672 port, with a periodic health check to the instances' 15672 port (the HTTP management port). Then, I started two...