> And this is something many of us have been wanting for a long time. The > ability to have each Stored Procedure running on 4D Server be a preemptive > process so that it cannot hog the CPU. Then my comment about putting using > DELAY PROCESS to throttle down Stored Procedures would not be necessary. The > Stored Procedure would get managed by the operating system and its load would > spread out over all cores on the CPU. Hence it would not have such a big > impact on end user experience. Right?
No. Each preemptive process can take up to 1 full core. If you have 10 cores you want to utilize then you can run 10 premptive processes. > One more question. Do triggers running on 4D Server also benefit from this? > Can they all run as preemptive processes? If so, is this something that > happens automatically? If you just have some code in a trigger, does it run > preemptively or cooperatively? Or do you have to call a method from the > trigger that is set to run preemptive to get this? I’ve never understood > exactly how this works in regards to triggers. I don’t think Triggers work that way. But this sounds like a great question to ask at the Summit in DC this April (or in Paris this March). Tim ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************