Hello Aparajita and list,
From: "Aparajita Fishman" <[email protected]>
Thank you for the confirmation, and for your speedy reply. So this is a
bottle-neck in 4D web deployments.
It's a bottleneck only if you have *very* high volume on your site.
I am just beginning my adventure into web development with 4D, so please
forgive me for my ignorance in this area. My understanding is as follows: If
the nature of the web application is such that it requires a fair bit of
computational work, and that work is done in 4D code, then that code, for
all web users, will be executed on a single CPU core. So if we create a
scenario in which 10 concurrent web users, each executing a
processor-intensive task, can max out a single core for 5 seconds (they
experience a 5 seconds response time), then that means 20 users executing
the same task concurrently will take about 10 seconds to complete it (10
seconds response time, about double). This is due to 4D's non-multi-threaded
code, and not to the 4D database, Active4D, or other factors.
Is my understanding basically correct? If so, then your term "very high
volume" can mean a lot of concurrent users doing very little work, as well
as relatively few users concurrently executing processor-intensive tasks.
This is not a slam of 4D, but rather a "need to know" so I can architect my
system to compensate for this.
-Steve Makohin
Oakville, Ontario, Canada
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/