storj/satellite/orders
Michal Niewrzal a2a9dafa33 satellite/orders: don't store allocated bandwidth in
bucket_bandwidth_rollups table

We have performance problems with updating bucket_bandwidth_rollups. To
improve situation we can stop storing allocated bandwidth in this table.
This should reduce large number of updates which are comming from
metainfo endpoints, repair workers and audit.

Next step will be to drop `allocated` column completely from
bucket_bandwidth_rollups.

Allocated GET bandwidth is all we need and we are keeping it in
bucket_bandwidth_rollups table.

Change-Id: Ifdd26a89ba8262acbca6d794a6c02883ad0c0c9b
2023-01-12 13:21:02 +00:00
..
encryptionkey_test.go satellite/orders: add factory function to encryption key 2020-11-20 11:40:15 -08:00
encryptionkey.go satellite/orders: use smaller encrypted metadata 2021-01-08 16:40:31 +00:00
endpoint_test.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
endpoint.go satellite/orders/endpoint.go: order rollups by bucket name first 2022-11-16 19:48:43 +01:00
orders_test.go satellites/orders: populate egress_dead in project_bandwidth_daily_rollups 2021-10-06 16:54:49 +00:00
rollups_chore.go satellite/orders: Flush all pending bandwidth rollup writes on shutdown 2020-01-23 08:12:41 -07:00
rollups_write_cache_test.go satellite/orders: don't store allocated bandwidth in 2023-01-12 13:21:02 +00:00
rollups_write_cache.go satellite/orders: Remove period logs messages 2022-11-21 13:19:13 +00:00
service_test.go satellite/metainfo: simplifying limits code 2021-09-28 06:22:13 +00:00
service.go satellite/orders: don't store allocated bandwidth in 2023-01-12 13:21:02 +00:00
signer_test.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
signer.go satellite: use PieceIDDeriver for derivation 2022-05-19 06:31:42 +00:00
window_endpoint_phase.go satellite/orders: 3-phase rollout 2020-08-03 17:01:42 +00:00