storj/satellite/accounting
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
..
live satellite/{accounting,redis}: Use ARGV in redis scripts 2022-09-28 14:43:00 +00:00
nodetally satellite/accounting/nodetally: remove monkit call from observer 2022-10-03 13:32:20 +00:00
projectbwcleanup satellite/accounting: fix as of system interval value for some tests 2021-06-29 10:16:48 +00:00
rollup satellite/overlay: insert DQ event into node events in overlay.DisqualifyNode 2022-11-04 15:18:31 +00:00
rolluparchive satellites/orders: populate egress_dead in project_bandwidth_daily_rollups 2021-10-06 16:54:49 +00:00
tally satellite/accounting/tally: fix looping over all buckets 2022-12-07 10:32:23 +00:00
billing_test.go satellite: use segment count for billing 2021-10-27 19:21:50 +00:00
bucketstats.go satellite/accounting: add metrics for total pending objects 2022-06-06 12:04:46 +00:00
bucketusage.go satellite/accounting/tally: use objects iterator instead metaloop 2021-07-20 15:52:18 +00:00
common.go all: fix error naming 2021-04-29 15:38:21 +03:00
db_test.go satellite/satellitedb: add interval_end_time column to accounting_rollups table 2022-07-27 17:53:27 +00:00
db.go satellite/orders: don't store allocated bandwidth in 2023-01-12 13:21:02 +00:00
projectlimitcache_test.go satellite/accounting: use single call to get project limits 2022-09-13 21:50:52 +00:00
projectlimitcache.go satellite/accounting: use single call to get project limits 2022-09-13 21:50:52 +00:00
projectusage_test.go satellite/orders: don't store allocated bandwidth in 2023-01-12 13:21:02 +00:00
projectusage.go satellite/accounting: use single call to get project limits 2022-09-13 21:50:52 +00:00