[
http://opencast.jira.com/browse/MH-7080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=25077#comment-25077
]
Josh Holtzman commented on MH-7080:
-----------------------------------
In r10085, I added a unit test to ensure proper jsonp wrapping, and used this
to evaluate execution speed. I made some small changes that have roughly
doubled the speed (depending on the size of the output), but I'm still not
convinced that this isn't a "red herring".
According to the test, we're able to add json padding to thousands of requests
per second, so the time spent in this filter may simply be the time it takes to
flush the output stream to the client:
response.getOutputStream().write(content);
response.getOutputStream().flushBuffer()
> JSONP filtering is slow
> -----------------------
>
> Key: MH-7080
> URL: http://opencast.jira.com/browse/MH-7080
> Project: Matterhorn Project
> Issue Type: Bug
> Components: Architecture & Services
> Affects Versions: 1.1
> Reporter: Tobias Wunden
> Assignee: Josh Holtzman
> Priority: Critical
> Fix For: 1.2
>
>
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn
To unsubscribe please email
[email protected]
_______________________________________________