whirr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Cole (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (WHIRR-230) reuse ComputeServiceContext
Date Mon, 07 Feb 2011 16:47:57 GMT

     [ 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

        

Mime
View raw message