You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Tom White (JIRA)" <ji...@apache.org> on 2011/02/07 16:42:30 UTC

[jira] Commented: (WHIRR-230) reuse ComputeServiceContext

    [ 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