[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Progress on MediaWiki Integration with Lua 5.1
- From: Brad Jorsch <bjorsch@...>
- Date: Wed, 20 Feb 2013 10:50:04 -0500
On Tue, Feb 19, 2013 at 11:25 PM, Patrick Donnelly <email@example.com> wrote:
It looks like to me you are using ulimit for that. I don't see a
On Tue, Feb 19, 2013 at 8:44 AM, Brad Jorsch <firstname.lastname@example.org
> Part of security in our case is performance and resource usage; we'd need to
> make sure someone can't somehow abuse coroutines to bypass the CPU or memory
> limits in our sandbox.
problem with keeping coroutines in.
ulimit is used for the "standalone" version, there's also the luasandbox PHP extension (which is what is being used on Wikipedia).
It would *probably* be the same from a resource usage standpoint, but we'd have to check.
> If you have a compelling use case for coroutines in the context of MediaWikiAdvanced iterators alone should be sufficient reason to include
> and Scribunto, let us know.
coroutines. I wrote a few brief words on this in the Nmap book's
section on parallelism:
But does MediaWiki need advanced iterators? Perhaps for something like Example 9.13 in the article you link, although that example could be done without coroutines with only a little added complexity.