[Lazarus] Manage server task list architecture

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Nov 8 18:43:18 CET 2015


On Sun, 08 Nov 2015 00:05:56 -0800
Aradeonas <aradeonas at operamail.com> wrote:

>[...]
> My system get files,hash them and then send them back so when you post a
> file to it,it should hash it and then give you a download link.
> 
> 
> It is so simple if I have 1 user but what should I do when in web page I
> have a list that you can add many files and files will done one by one?
> This one is simple too,I could make a cgi (or what ever it needs,cgi is
> an example) per requests,do the job and update the page with Ajax but
> what will happen when multi users come together?
> 
> 
> for example 10 user come and each add 20 file in the list. Should I
> open a cgi for each request? In this case I get 200 live cgi that are
> hashing in the same time. It seems not good especially when users count
> will increase.

How long does it take to hash the 200 files?

Mattias




More information about the Lazarus mailing list