You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Andrei Savu (JIRA)" <ji...@apache.org> on 2011/05/03 13:29:03 UTC

[jira] [Updated] (WHIRR-61) make more efficient use of ComputeServiceContext

     [ https://issues.apache.org/jira/browse/WHIRR-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrei Savu updated WHIRR-61:
-----------------------------

    Attachment: WHIRR-61.patch

I've done some (dummy) benchmarking on this patch by running the HBase integration tests. It takes 7m20.738s with cache versus 7m46.069s without using the cache (highly unreliable results). 

The current patch is unsafe. We should either make a ClusterSpec copy or make that class immutable (harder but I believe it's better on the long term). What do you think? 

> make more efficient use of ComputeServiceContext
> ------------------------------------------------
>
>                 Key: WHIRR-61
>                 URL: https://issues.apache.org/jira/browse/WHIRR-61
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Adrian Cole
>         Attachments: WHIRR-61.patch
>
>
> The ComputeService object is thread-safe, and better off shared inside the Service object.  Regardless, it must be closed in order to release threadpools.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira