[ 
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

Reply via email to