Questions tagged [scalability]

Scalability is the ability of a system, network, or process, to handle growing amount of work in a capable manner or its ability to be enlarged to accommodate that growth.

Scalability is the capability to increase resources to yield a linear (ideally) increase in service capacity. The key characteristic of a scalable application is that additional load only requires additional resources rather than extensive modification of the application itself.

Although raw performance makes a difference in determining the number of users that an application can support, scalability and performance are two separate entities. In fact, performance efforts can sometimes be opposed to scalability efforts.
/msdn/

A system whose performance improves after adding hardware, proportionally to the capacity added, is said to be a scalable system. An algorithm, design, networking protocol, program, or other system is said to scale, if it is suitably efficient and practical when applied to large situations (e.g. a large input data set or a large number of participating nodes in the case of a distributed system). If the design fails when the quantity increases, it does not scale.
/wikipedia/

Scalability is a general quality that holds when the system continues to satisfy its requirements when various usage parameters are increased.

E.g., a file server might be scalable to a high number of users, or to very large files or very high capacity disks.

Scalability goals:

  • Performance under load
    This is a specific type of scalability goal dealing with the performance of the system at times when it is servicing many requests from many users.
  • Large data volume
    This is a specific type of scalability goal dealing with the ability for the system to handle large data sets. Operations should continue to be correct and efficient as data set size increases. Furthermore, the user interface should still be usable as the data presented to users increases in length.
2320 questions
1
vote
1 answer

WCF Client scalability advice

I've got a multithreaded application that calls the same service 200,000+ times per day. Currently it instantiates a new ClientBase auto-generated proxy for each call. What can I do to boost performance? Instantiate one client and share it? …
dcrobbins
  • 525
  • 4
  • 8
1
vote
3 answers

Tomcat Performance with Huge String Responses

I've a springRest web service endpoint that returns a string text of size 4MB. As we do load test of this endpoint we constantly see heap spikes and ultimately the system crashes. I'm thinking - as we make requests each request is serviced by a…
Rose
  • 2,792
  • 4
  • 28
  • 42
1
vote
3 answers

What are the advantages/disadvantages for distributing multi stage tasks via JMS or JavaSpaces?

When trying to distribute work that requires a multiple stage processing pipeline what are the communication, synchronization and throughput costs limitations in JMS vs JavaSpaces?
JavaUser
1
vote
1 answer

Algorithmic complexity of examining all possible lines on a game board

What is the time complexity of examining all possible lines of length l on game board of n x m? For instance, a tic-tac-toe board is 3x3 and lines are defined as length 3; there are 8 possible lines. We could also imagine a board that is 9x9 and a…
ʞɔıu
  • 47,148
  • 35
  • 106
  • 149
1
vote
3 answers

PHP runs .jar file multiple times - scalability?

I am building a web application for chemical industry. Its basically searching in database of chemical structures. A lot of cheminformatics calculations is needed and there are many open source solutions to do it written in Java. I am currently…
Macejkou
  • 636
  • 3
  • 14
  • 24
1
vote
2 answers

Most efficient/cheap way to send/store data on GAE

I want to minimize traffic/storage costs on GAE. Users fill out a form, checking boxes to select options which are lines of text, eg "I wake up two or more times during the night." or "I sleep less than 7 hours per night." or "I usually have trouble…
1
vote
2 answers

Is this way of handling POST and GET data a good practice?

After reading this article, it made me wonder if this is actually a good practice for registering new users. Everyone with some PHP studied can see how it works, but I just feel repeating myself if I have to handle all the post data manually. I know…
Francisco Presencia
  • 8,732
  • 6
  • 46
  • 90
1
vote
2 answers

CREATE USER for Each Actual User?

I'm trying to make my once homey website able to take more than two users. Is it scalable to make a new MySQL user for each person that registers with my website, running CREATE USER $userName [IDENTIFIED BY [PASSWORD] '$userPass'] each time…
drug_user841417
  • 797
  • 1
  • 7
  • 12
1
vote
2 answers

Multiple indexers on same storage location in Lucene

I want to build a highly scalable application where I intend to use Lucene as my search engine library. While browsing through the docs and faqs, I realize that it only allows one index writer to be open on a storage location by creating some…
Atharva
  • 6,711
  • 5
  • 31
  • 39
1
vote
1 answer

User-files organization in a Web server

I'm developing a Web application where users can upload files. Suppose to have different file categories, e.g. audio and docs. I guess I can put all the files that belongs from a category in a unique folder, e.g.: audio_dir -file_from_user1.mp3 …
JeanValjean
  • 17,172
  • 23
  • 113
  • 157
1
vote
0 answers

replication normal mysql to cluster

Surprisingly I can't find anything on the internet which speaks to this. We currently have a master slave slave mysql set up. We are considering making a move to mysql cluster, for scalability reasons. It would be really nice if we could make the…
1
vote
4 answers

Good blogs/articles/ books on building highly scalable systems?

Any good blogs/articles/ books on designing highly scalable systems? Good source code for studying would help a lot too.
Umair Ahmed
  • 11,238
  • 5
  • 33
  • 39
1
vote
4 answers

java multithreading performance scaling

can you explain this nonsense to me? i have a method that basically fills up an array with mathematical operations. there's no I/O involved or anything. now, this method takes about 50 seconds to run, and the code is perfectly scalable…
1
vote
2 answers

Most efficient way to match a certain number of items in a db.Model ListProperty

In reference to this different but not unrelated question I will borrow the example models. class Foo(db.Model): bars = db.ListProperty(db.Key) class Bar(db.Model): pass If I have a certain Foo entity and I want to get all of the other foo…
JJ.
  • 4,974
  • 5
  • 39
  • 48
1
vote
0 answers

Document Based Storage of Relational Data

Should I store my relational data in MongoDB? Any insight given my unique situation (outlined below) would be greatly appreciated!! As with any project, my resources are extremely limited. I'm looking to improve performance with as little cost as…
1 2 3
99
100