Hi,
with Ruby serverside (not mod_ruby):
An http request is made requesting a Ruby program. This starts Ruby, and
the Ruby program is executed. Let's say it creates, deletes, and updates
files, among other things.
Now a second http request is made to the same Ruby proram.
1. Will a new Ruby interpreter be started?
2. Can the two running Ruby programs interfer each other?
For example: could the one instance try to update a file, while the
other instance it @ it, and the whole shebang goes wrong?
3. If so: how to solve it? (mutex is inside one program, isn't it?)
Tobi
--
Tobias Reif
http://www.pinkjuice.com/myDigitalProfile.xhtml
go_to('www.ruby-lang.org').get(ruby).play.create.have_fun
http://www.pinkjuice.com/ruby/