Scalability

Scalability can mean a lot of things to many people. For the purposes of this discussion, we will define scalability as the ability to adapt to increases in client requests. Ideally, we will set things up such that on a certain hardware configuration we can handle X requests per second. If we need more capacity, adding a second box will be all we need to do to handle somewhere between 1.8 * X requests/second and 2 * X requests/second. What can you do to be able to handle this kind of scalability? You do a lot of the same things that you would do to make a Web site more scalable:

  • Make the Web Service stateless.

  • Use a Web Farm to deploy the Web Service.

  • Use components that can scale with you.

  • Use your head.

That last item, use your head, ...

Get Creating and Consuming Web Services in Visual Basic® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.