Sometime ago, I found an article where a programmer was explaining the advantages in having a web worker model for high traffic Web applications. The model he described was as follows:
1 Web application where the majority of the processing was done by console applications running on the same server or different servers. The console applications did the heavy processing work and just passed the results to the web application to present the data. He delineated many benefits for this model vs the traditional web model.
I am very interesting to hear the opinions of all of you to see if there are any advantages in doing this with Xojo. In my opinion this can alleviate a lot of the memory consumption that a single Web Application may have under heavy load.
How would this model would look under Xojo? Probably like this:
** 1 Web Application running. When a client connects all request and processing of data or files is done through the a console application.
** The Web Application can open another console app instance based on the number of active sessions. The more Sessions ( the more heavy traffic) the Web App can continue creating instances of a console app.
** When Sessions are destroy the Web App can also close some of the open console apps.
Many questions come on how to achieve this but before I try something like this I would like to hear from you all if this is something worth exploring.