load-balancing

Sticky Session for Rest API Calls

…衆ロ難τιáo~ 提交于 2019-12-08 03:36:27
For browser based request with sticky session true load balancer can restrict request to same JVM out of multiple JVMs in a cluster. But in case request is coming from REST client rather any browser, how the load balancer can restrict requests to same JVM even sticky session is set as true? Any Idea please. REST client is made to call REST API and REST APIs should be stateless i.e. complete information about processing of request should be present in request itself, thus request should not dependent on any session data. If your API is dependent on session data then in actual it is not

SSRS 2008 R2, Farm - Load Balanced and HTTP status 401: Unauthorized

佐手、 提交于 2019-12-08 00:27:30
问题 I have SQL Server Reporting services 2008 R2 environment in my Company. 2 servers Windows 2008 R2: PRERPSW01 and PRERPSW02 , in domain DOMAIN_Company NLB name: PRERPS IPs address ( I get by ping command): PRERPSW01 192.168.110.41 prerps 192.168.90.92 hosts file in PRERPSW01 server 192.168.110.41 prerps In PRERPSW01 and PRERPSW02 servers, there is this configuration: Config Report Server: C:\Program Files\Microsoft SQL Server\MSRS10_50.REPORTING\Reporting Services\ReportServer\rsreportserver

How to make a node.js server with rooms scalable

倖福魔咒の 提交于 2019-12-08 00:19:56
问题 I have designed a Node.JS server that allows users to log in, join a room and exchange data with other users in this room using websockets. However I am now looking for a way to make this setup scalable. I spend all afternoon researching various loadbalancers such as nginx and haproxy, but I still can't figure out how to organise my setup. Initally users can login and view the active rooms. No biggie to makes this part scalable. However then they can join a specific room and at that point

Akka ask through a load balancer

萝らか妹 提交于 2019-12-07 17:20:42
问题 I have the following setup: [app-a Containers] <-[load balancer]-> [app-b Containers] The containers are Docker containers and a set of containers are assigned a DNS name like app-a.marathon.mesos and app-b.marathon.mesos . Now when an actor in app-a makes an ask to a remote actor on app-b , the app-b 's sender becomes app-a.marathon.mesos . This is tremendously problemmatic because now, the reply to the asking actor may or may not arrive – it may arrive at any of the app-a containers. What

Clustering in ServiceMix 4

♀尐吖头ヾ 提交于 2019-12-07 09:51:30
问题 I'm trying to configure Apache ServiceMix 4 to provide load balancing feature mentioned in it's documentation (for example here: http://servicemix.apache.org/clustering.html). Although it's mentioned, I couldn't find the exact way how to do it. The idea is to have 2 ServiceMixes (in LAN, for example) with the same OSGi service installed in them. When client tries to use the service, the load balancer takes him to appropriate service instance on one of the ServiceMixes. Is there an easy way to

Extremely uneven cloud service load-balancing with Azure

不想你离开。 提交于 2019-12-07 08:00:41
问题 I'm utilizing Azure for hosting a cloud service, which I recently modified to be scalable across multiple instances, including a session caching worker role. My question is, why would I be seeing extreme load (upwards of 90%) on one instance, but not on other instances (15-20% across all other instances)? Should I be worried? Before I set up load balancing and when my single instance hit upwards of 95% load, it would slow to a crawl --- becoming unusable. Is there any way to ensure that I don

How do you do a rolling deploy with capistrano?

让人想犯罪 __ 提交于 2019-12-07 07:57:14
问题 We have 2 instances behind a load balancer running the same rails app with passenger. When we deploy, the server startup time causes requests to timeout. As a result we have a script that updates each webserver individually by taking one off the LB, deploying with cap, testing a dynamic page load, putting it back on the LB. How can we get capistrano to do this for us with one command? I have been able to set it up to deploy to all instances simultaneously but they all restart at the same time

Load Balancing with Node and Heroku

大兔子大兔子 提交于 2019-12-07 07:34:30
I have a web app that accepts api requests from an ios app. My web app is hosted on Heroku using their free dyno which is able to process 512 mb of data per request. Because node is a single threaded application this will be a problem once we start getting higher levels of traffic from the ios end to the web server. I'm also not the richest person in the world so i'm wondering if it would be smart to create another free heroku app and use a round robin approach to balance the load received from the ios app? I just need to be pointed into the right direction. Vertical scaling is not really an

Can I have sticky sessions with HAProxy and socket.io with authentication?

有些话、适合烂在心里 提交于 2019-12-07 06:54:45
问题 I have several instances of socket.io with authentication running under HAProxy and I need to force that the authentication request and the socket connection go to the same instance. I've set up HAProxy based on this answer to a SO question with some modifications as so: global maxconn 4096 # Total Max Connections. This is dependent on ulimit nbproc 2 defaults mode http frontend all 0.0.0.0:80 timeout client 86400000 default_backend www_backend acl is_websocket hdr(Upgrade) -i WebSocket acl

WCF http service via https load balancer

北城余情 提交于 2019-12-07 05:06:01
问题 I have a WCF webservice that can be accessed via a http endpoint. Now, this service shall be published with a load balancer via https. Clients are created in .Net via svcutil.exe but the WSDL is also needed for a Java client. What I understand is: Internally the webservice is a http service and nothing needs to be changed. The address is http ://myserver.com/example.svc with WSDL ..?wsdl Externally the service has to show up as a https service with address https ://loadbalancer.com/example