You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/01/16 11:25:34 UTC

[jira] Created: (SLING-166) JavaScript: Enable request processing limitation

JavaScript: Enable request processing limitation
------------------------------------------------

                 Key: SLING-166
                 URL: https://issues.apache.org/jira/browse/SLING-166
             Project: Sling
          Issue Type: Improvement
            Reporter: Felix Meschberger


The Rhino ContextFactory enables functionality to limit the time a given script may run. This might be particularly usefull for the web application case to prevent hogging the server with "never ending" scripts.

The drawback of this functionality is, that the scripts must be interpreted, because the limits are enforced by the interpreter. But given that scripts are generally small and simple (and more complex business logic is done in Java classes), this may not be a big issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-166) JavaScript: Enable request processing limitation

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger updated SLING-166:
------------------------------------

    Component/s: Scripting

> JavaScript: Enable request processing limitation
> ------------------------------------------------
>
>                 Key: SLING-166
>                 URL: https://issues.apache.org/jira/browse/SLING-166
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Felix Meschberger
>
> The Rhino ContextFactory enables functionality to limit the time a given script may run. This might be particularly usefull for the web application case to prevent hogging the server with "never ending" scripts.
> The drawback of this functionality is, that the scripts must be interpreted, because the limits are enforced by the interpreter. But given that scripts are generally small and simple (and more complex business logic is done in Java classes), this may not be a big issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-166) JavaScript: Enable request processing limitation

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger updated SLING-166:
------------------------------------

          Component/s:     (was: Scripting)
                       Scripting JavaScript (Rhino)
    Affects Version/s: Scripting JavaScript 2.0.2

> JavaScript: Enable request processing limitation
> ------------------------------------------------
>
>                 Key: SLING-166
>                 URL: https://issues.apache.org/jira/browse/SLING-166
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting JavaScript (Rhino)
>    Affects Versions: Scripting JavaScript 2.0.2
>            Reporter: Felix Meschberger
>
> The Rhino ContextFactory enables functionality to limit the time a given script may run. This might be particularly usefull for the web application case to prevent hogging the server with "never ending" scripts.
> The drawback of this functionality is, that the scripts must be interpreted, because the limits are enforced by the interpreter. But given that scripts are generally small and simple (and more complex business logic is done in Java classes), this may not be a big issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.