> I've done some tests that confirm processes started by 4D's New Process 
> command are not multi-threaded.

I'm sorry that you had to go through the trouble to create tests and confirm 
this. It is public knowledge that the 4D language engine is single-threaded 
(cooperatively tasked), and this will not change in the future.

If you need to create a large scalable system, you can create multiple "4D 
RUNTIME" instances that communicate to a single "4D SERVER" via SQL, and get 
the maximum of your multi-core server. 

Keep in mind, the 4D Server license is priced accordingly, an additional 
license per core. You may want to price out your multi-core capable server 
license with 4D before you continue architecting your system.

 sincerely,
mehboob alam




Electricity is actually made up of extremely tiny particles called electrons, 
that you cannot see with the naked eye unless you have been drinking. - Dave 
Barry



----- Original Message ----
From: Steve Makohin <[email protected]>
To: [email protected]
Sent: Sunday, May 24, 2009 11:28:22 PM
Subject: [Active4d-dev] Are "On Web Connection" and/or "On Web Authentication" 
multi-threaded?

Hello everyone,

I've done some tests that confirm processes started by 4D's New Process command 
are not multi-threaded. They will all run on a single core, regardless of the 
number of cores on the computer. This is true of 4D in remote mode (client, of 
client/server) and of 4D Server v11.4 (and older).

The 4D database engine, however, is multi-threaded, so it can take advantage of 
as many cores as you throw at it. Great for client-server interaction. But 
here's the web-related question:

Does anyone know if 4D's On Web Connection and On Web Authentication database 
methods run multi-threaded, like database processes (e.g., searches), or 
whether they run non-multi-threaded, like methods launched via the New Process 
command? I *suspect* the latter. I just need a confirmation.

Thanks in advance.

-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/



      
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to