coiled / feedback

A place to provide Coiled feedback
14 stars 3 forks source link

Current Cost Per Hour (Coiled Credits) is not adjusted after scaling down the cluster #157

Closed SultanOrazbayev closed 2 years ago

SultanOrazbayev commented 2 years ago

The cost per hour (at least as reported in the dashboard on the Coiled website) is not adjusted after cluster is scaled down. As far as I can tell, this only affects reported cost but not the billing.

Steps to reproduce:

  1. Create a cluster:
    
    from coiled import Cluster
    from distributed import Client

cluster = Cluster(n_workers=1) client = Client(cluster)

2. On the `cloud.coiled.io` website the cost per hour will be reported as 8 credits per hour.
3. Scale the cluster up:
```python
cluster.scale(5)
  1. On the cloud.coiled.io website the cost per hour will be reported as 24 credits per hour.
  2. Scale the cluster down:
    cluster.scale(1)
  3. On the cloud.coiled.io website the cost per hour will continue to be reported as 24 credits per hour.
phobson commented 2 years ago

Thanks for reporting this, @SultanOrazbayev. I'll make sure someone takes a look

phobson commented 2 years ago

@SultanOrazbayev -- @marcosmoyano fixed this a few days ago. I just scaled down a 100-worker cluster and the updated web UI responded impressively fast (to me at least) Screen Shot 2022-06-08 at 8 57 40 AM