whirr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom White (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WHIRR-230) reuse ComputeServiceContext
Date Mon, 07 Feb 2011 15:42:30 GMT

    [ 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


View raw message