AW: [Seaside] Re: Concurrent requests from multiple sessions
Nowak, Helge
HNowak at cincom.com
Wed Mar 11 14:15:39 UTC 2015
I don't know VAST, yet in VisualWorks you can call "Processor yield" in your process which will give way to other processes. By that you'll get a simple "parallel" execution of your processes.
HTH
Helge
Von: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-bounces at lists.squeakfoundation.org] Im Auftrag von Bob Arning
Gesendet: Mittwoch, 11. März 2015 15:04
An: seaside at lists.squeakfoundation.org
Betreff: Re: [Seaside] Re: Concurrent requests from multiple sessions
Just to be sure that we are wasting enough time, you might want to make that
100 timesRepeat: [1000!]
But assuming that makes no difference:
So that's the issue. Squeak and Pharo rotate the order of processes at a given priority whenever one is interrupted by a higher priority process. VAST appears not to do that (or there are no higher priority process running...). IOW,
Squeak and Pharo offer a Poor Man's Time Slicing, although with no guarantee that the slices are equal in width.
VAST offers what seems to ensure a process will not be pre-empted by another process at the same priority (which has a certain logical appeal ;-) ).
Not having access to VAST, I can't tell you if this difference is accidental or intentional. Perhaps someone know a bit more...
On 3/11/15 9:36 AM, wilwarin wrote:
What happens in VAST?
I tried it in Workspace (but 10000! caused a stack overflow, so I used
1000!). The result follows:
(0 0 1) 14:36:43.923
(0 0 2) 14:36:43.932
(0 0 3) 14:36:43.940
(0 0 4) 14:36:43.947
(0 0 5) 14:36:43.952
(0 0 6) 14:36:43.957
(0 0 7) 14:36:43.962
(0 0 8) 14:36:43.967
(0 0 9) 14:36:43.972
(0 0 10) 14:36:43.976
(0 1 10) 14:36:43.980
(0 2 10) 14:36:43.985
(0 3 10) 14:36:43.989
(0 4 10) 14:36:43.993
(0 5 10) 14:36:43.997
(0 6 10) 14:36:44.1
(0 7 10) 14:36:44.4
(0 8 10) 14:36:44.8
(0 9 10) 14:36:44.12
(0 10 10) 14:36:44.16
(1 10 10) 14:36:44.20
(2 10 10) 14:36:44.23
(3 10 10) 14:36:44.27
(4 10 10) 14:36:44.31
(5 10 10) 14:36:44.35
(6 10 10) 14:36:44.39
(7 10 10) 14:36:44.42
(8 10 10) 14:36:44.46
(9 10 10) 14:36:44.50
(10 10 10) 14:36:44.54
--
View this message in context: http://forum.world.st/Concurrent-requests-from-multiple-sessions-tp4809929p4811210.html
Sent from the Seaside General mailing list archive at Nabble.com.
_______________________________________________
seaside mailing list
seaside at lists.squeakfoundation.org<mailto:seaside at lists.squeakfoundation.org>
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20150311/52c62a72/attachment-0001.htm
More information about the seaside
mailing list