Questions tagged [scaling]

142 questions
8
votes
3 answers

Postgres vs MySQL: Which one is more difficult to scale out?

From your experience, which database serve is more difficult to scale? MySQL or Postgres? I know MySQL has several out-of-the-box scaling/clustering features, but with Postgres there is none that comes out-of-the-box. CMIIW. EDIT: Sorry for the…
Joshua Partogi
  • 455
  • 6
  • 17
7
votes
2 answers

HAProxy not balancing server load fairly

HAProxy doesn't seem to keep the connections to the servers balanced. Keep this in mind: using HAProxy v1.3.26 5 equally balanced server specs algorithm is round robin, but no weights are applied for each server global max connections set in…
Mark
  • 71
  • 1
  • 3
7
votes
1 answer

How to horizontally scale SSL termination behind HAProxy load balancing?

I've been looking around and no one seems to be trying to scale SSL termination the way I am and I'm curious as to why my approach seems so uncommon. Here's what I want to do followed by why: 10.0.1.1 10.0.1.2 -…
BrionS
  • 181
  • 1
  • 5
7
votes
4 answers

Load balanced Drupal servers: a good way to share data among the servers?

I'm trying to get an overview of how i would go about creating a load balanced web server setup. Setting up the actual load balancer and adding two or more web servers seems fair enough. However, I can't decide what the best setup for files would…
sbrattla
  • 1,578
  • 4
  • 28
  • 52
7
votes
1 answer

How do I scale my EC2 instance?

I'm very new to server configurations and Linux in general, so please bear with me: I have a small EC2 instance running a LAMP server on Ubuntu 10.04 LTS. I'm completely baffled as to how I would scale up to meet traffic demands if I need it. Can I…
Calvin
  • 403
  • 1
  • 4
  • 15
7
votes
3 answers

how to go about scaling a web-application?

I am primarily a web-application developer, and I do not know much about scaling/scalability techniques. My application is written in Python, using Django; a fairly standard setup. I currently use Apache 2.2 for my webserver, and MySQL for my…
phoenix24
  • 179
  • 1
  • 5
6
votes
2 answers

AWS - how to serve faster to oversea users

We have our infras relying on AWS in the us-east-1 region. (EC2, CloudFront, RDS, ElastiCache) We are now having more and more users from the APAC. Users start to complain about network speed to our website. (please note we are already using…
Chris Lam
  • 283
  • 1
  • 9
5
votes
1 answer

Sharding MongoDB internationally with data stored based on location

We're looking to set up data centers globally and switch to a NoSQL database like MongoDB to support having our data distributed over these data centers (and as a pleasant side effect, introduce more redundancy, failover etc). However, the reason…
tzar
  • 153
  • 3
5
votes
2 answers

Memcached scaling strategy

Currently I am running a production environment with 4 dedicated memcached servers, each of them having 48Gb of RAM (42 dedicated to memcache). Right now they are doing fine, but traffic and content are growing and will surely be growing next year…
danakim
  • 392
  • 2
  • 9
5
votes
5 answers

When is the right time to add a separate database server, add more web servers?

Usually web projects start small, everything is on the one server. But if site becomes popular one server won't be enough. So, since I don't have any experience in this, I'd like to get an idea of: 1. what kind of load means that I need to move my…
z-boss
  • 301
  • 1
  • 4
  • 10
5
votes
6 answers

How can I have 2 database servers for my website?

I have a site that has heavy traffic and my database server (mysql) is getting heavy traffic at peek hours. Instead of upgrading to a better server, I am thinking of having 2 database servers working together so the heavy traffic can be "split". My…
mr didodido
  • 51
  • 1
  • 2
4
votes
4 answers

Multiple web servers sharing a db server

I am contemplating migrating to mosso to have several cheap app servers. The goal is to have a dedicated database server, however, does it make sense to have one database server that hosts the database needs of many different website servers (each…
phillc
  • 141
  • 1
  • 4
4
votes
1 answer

Creating a stable, auto-scaling app server cluster

I have two servers, each running anywhere from 50-100 different legacy webapps, written in languages ranging from PHP to Python to Ruby-on-rails to NodeJS. We're wanting to kill off these machines as they're old, insecure and badly organised, have…
aendra
  • 177
  • 9
4
votes
1 answer

Can I use MongoDB with Amazon EC2 small instance?

I want to move my MongoDB from a virtual server to amazon web services. I know MongoDB provides a preconfigured AMI, with three provisioned EBS volumes. But this is only available for m1.large instances and higher. But I need only small or medium…
4
votes
3 answers

Suggestions on large scale web applications architecture?

It's a big question:) We are running a website with LAMP that is not big, 5 web servers with LVS load balancing, 3 MySQL servers with replications and separation of reading and writing, and we use Memcached for caching and some full-text searching…
Mickey Shine
  • 939
  • 4
  • 17
  • 33
1
2
3
9 10