You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Adrian Cole (JIRA)" <ji...@apache.org> on 2011/02/07 08:22:30 UTC
[jira] Created: (WHIRR-230) reuse ComputeServiceContext
reuse ComputeServiceContext
---------------------------
Key: WHIRR-230
URL: https://issues.apache.org/jira/browse/WHIRR-230
Project: Whirr
Issue Type: Improvement
Reporter: Adrian Cole
ComputeServiceContextBuilder.build() should ideally be called only once within a runtime of whirr, and always closed. We are currently re-opening this for commands, and not always closing it. This leaks threads and also time, as each time the context is created, it has to refetch image data. Getting better at sharing ComputeServiceContext objects across invocations could easily trim 30-45 seconds off a runtime.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Resolved: (WHIRR-230) reuse ComputeServiceContext
Posted by "Adrian Cole (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Cole resolved WHIRR-230.
-------------------------------
Resolution: Duplicate
duplicate of WHIRR-61
> reuse ComputeServiceContext
> ---------------------------
>
> Key: WHIRR-230
> URL: https://issues.apache.org/jira/browse/WHIRR-230
> Project: Whirr
> Issue Type: Improvement
> Reporter: Adrian Cole
>
> ComputeServiceContextBuilder.build() should ideally be called only once within a runtime of whirr, and always closed. We are currently re-opening this for commands, and not always closing it. This leaks threads and also time, as each time the context is created, it has to refetch image data. Getting better at sharing ComputeServiceContext objects across invocations could easily trim 30-45 seconds off a runtime.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (WHIRR-230) reuse ComputeServiceContext
Posted by "Tom White (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WHIRR-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12991414#comment-12991414 ]
Tom White commented on WHIRR-230:
---------------------------------
Is this the same as WHIRR-61?
> reuse ComputeServiceContext
> ---------------------------
>
> Key: WHIRR-230
> URL: https://issues.apache.org/jira/browse/WHIRR-230
> Project: Whirr
> Issue Type: Improvement
> Reporter: Adrian Cole
>
> ComputeServiceContextBuilder.build() should ideally be called only once within a runtime of whirr, and always closed. We are currently re-opening this for commands, and not always closing it. This leaks threads and also time, as each time the context is created, it has to refetch image data. Getting better at sharing ComputeServiceContext objects across invocations could easily trim 30-45 seconds off a runtime.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira