[Opensim-dev] ScriptEngine as stand-alone
Sean Dague
sean at dague.net
Thu Sep 20 12:15:21 UTC 2007
On Thu, Sep 20, 2007 at 09:10:03AM +0200, Tedd Hansen wrote:
> Hi
>
> I need to gather some views on something I?ve been thinking of for a while now.
>
> I?m considering the benefits and drawbacks of moving the scriptengine
> to a separate .EXE, running as a daemon.
>
> The advantage is that a script can be running on a different computer
> than the sim itself. This can be used to protect IP (source code) and to
> offload the actual server.
>
> Protecting IP can be everything from someone wanting to stop untrusted
> servers from getting their code, to a company selling and hosting
> scripts (like a ?script for rent?-company). Offloading the servers is
> anyway good since they will be quite busy with physics and stuff. If you
> want really complex scripts then you can run a cluster of machines.
>
> Also a running script would not have to be moved between regions, it
> can just contact the next region as the avatar does.
>
> Separating scriptengine from the sim would require a separation of LSL
> commands.
>
> Any command that does not manipulate or gather information about the
> region or its objects/avs can be executed by the scriptengine. Any
> command that does so will have to communicate using some sort of network
> protocol, for example remoting.
>
> I need inputs on how much traffic this would cause. Overhead?
> Advantages? Drawbacks? Showstoppers?
>
> What do you think?
I think there are some advantages to getting the scripting into a
seperate process, which lets the OS ensure that scripting doesn't thrash
out the rest of the engine.
Out of curiousity, what is the current reason that scipts don't work
with multiple regions (even when the scripts are stationary). Perhaps
starting to explore that issue will lead to some ideas on this front.
-Sean
--
__________________________________________________________________
Sean Dague Mid-Hudson Valley
sean at dague dot net Linux Users Group
http://dague.net http://mhvlug.org
There is no silver bullet. Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
__________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20070920/c2b03d77/attachment-0001.pgp>
More information about the Opensim-dev
mailing list