Questions tagged [multiserver]

49 questions
19
votes
2 answers

Node.js Multi Server Clustering

I'm working on a project with Node.js that involves a server (for the sake of simplicity let's imagine this server as a chat server which have to forward messages from certain clients to other clients). I need for QoS reasons that this server is…
MastErAldo
  • 634
  • 3
  • 12
  • 29
13
votes
5 answers

How to manage a single PHP5 session on multiple apache servers?

Hi I have to retrieve data from several web servers. First I login as a user to my web site. After successfull login I have to fetch data from different web servers and display. How can I share a single session with multiple servers. How can I…
learner
  • 2,099
  • 6
  • 23
  • 32
11
votes
1 answer

Can Jwt-Auth in laravel handle invalidated tokens in a multi server configuration?

I have a laravel REST API that uses tymondesigns/jwt-auth for authentication and want to scale application from single server to multi server configuration with a load balancer in front. The flow uses RefreshToken middleware and essentially a token…
dannysood
  • 1,129
  • 3
  • 18
  • 36
8
votes
2 answers

Execute a rake task on a remote server

The physical architecture of the production environment includes several machines doing different jobs (rake tasks), all of them over the same database. One of the jobs would do a large UPDATE over a table that usually returns a postgres deadlock if…
dcarneiro
  • 7,060
  • 11
  • 51
  • 74
5
votes
2 answers

Writing multi server code

I've been wondering for a while; how does websites like facebook code to be able to have multiple servers? How can the code take in account that several servers will be running the same code and gain from adding more? Or does the webserver perhaps…
Oskar Kjellin
  • 21,280
  • 10
  • 54
  • 93
4
votes
1 answer

ZooKeeper Multi-Server Setup by Example

From the ZooKeeper multi-server config docs they show the following configs that can be placed inside of zoo.cfg (ZK's config file) on each…
smeeb
  • 27,777
  • 57
  • 250
  • 447
4
votes
1 answer

Should I use Amazon VPC in Amazon EC2 when I have multiple servers

I am planning to have a multi server architecture in amazon EC2 where the servers need to talk to each other. These servers need to be located in different amazon regions (different datacenters). Can I just use the internal network of the amazon…
jam
  • 173
  • 2
  • 8
4
votes
3 answers

How to query against multiple linked servers?

After linking some SQL Server 2008 Servers / instances, I would like to do a more generic query against these servers. I know that I must specify the destiny of the query like that: select * from [SRV\INSTANCE].dbname.dbo.foo But, I would run this…
cezarlamann
  • 1,465
  • 2
  • 28
  • 43
3
votes
1 answer

Single CFIDE folder for multiple instance multiserver configuration in ColdFusion

Recently working with ColdFusion enterprise version multiserver installation. I have created three instances 1. cfusion (default) 2. cfserver1 and 3. cfserver2. Basically I want to control one site on two different instances and load sharing…
Pritesh Patel
  • 1,969
  • 1
  • 18
  • 32
3
votes
1 answer

C# .NET Multi Server or Cloud Structure

I have a social network that is growing big, but lots of features are using the 'HttpContex.Current.Cache' class to reutilize the data without the need to go to the data base on every request. I know the 'HttpContext.Current.Cache' is 'static' so I…
rpmlins
  • 135
  • 2
  • 9
2
votes
1 answer

how to change, in CSS files, src attribute for images dynamically at deploy? (ASP.NET Web Forms)

I am creating an ASP.NET Web Forms website and I need to optimze the loading time of the website. One of the methods will be to make images load from dfferent servers. For all images exposed through aspx pages or user controls I use an utility that…
Dorin
  • 2,482
  • 2
  • 22
  • 38
2
votes
2 answers

java multi server chat architecture

I'm currently on the stage to begin developing a chat (actually porting an older single server version ) using multiple servers(machines). I want to use java NIO library. The reason why I'm doing this is because the current implementation is…
Doua Beri
  • 10,612
  • 18
  • 89
  • 138
2
votes
2 answers

How to create multi-server sockets on one client in Python?

How to create multi-server sockets on one client in Python ? I am thinking about create a List of server socket and make the connection with non-blocking socket, but i don't find a good tutorial for that, thats why i came here, to ask for better…
MultiPython
  • 71
  • 3
  • 7
2
votes
1 answer

PHP multi-server sessions

I have a PHP system that i'd like to port to be on more than one server if the need arises. Currently I store the user's current session information just in the default manner PHP does (assuming in memory). Can I get an example of what I need to put…
Jason S
  • 61
  • 6
2
votes
2 answers

PHP with multi server

I would like to make a page for uploading some of my local records to the web server. The Table Structure from local and web server are the same. My question is, how to connect to both server?
Sieryuu
  • 1,510
  • 2
  • 16
  • 41
1
2 3 4