copy code,drag or close
To meet the basic premise essential for scalable Web Applications, they must be built to be stateless.
That means they do not hold onto information or keep connections to a database open any longer than is necessary to perform the required data based operation. By not holding onto resources, by not being stateful, resources such as connections are kept in a live pool and available for subsequent requests. To achieve this level of software architecture you have to build things in a particular way. If a developer follows the wrong examples their web application will most likely work, but they may not scale-up to a large number of users. It's a bit late stress testing before release if the coding approach used to build a web application is not assembled in a particular fashion. For example, it's important not to use inline code that contains SQL strings. If that technique is used its unsafe, slower, and consumes more resources because of holding a database connection open for longer than is necessary.because