storj/satellite/accounting
Michal Niewrzal 73a279235a satellite/accounting/live: get project totals in batches
After infrastructure changes redis instance is not neccessay close
to core instance (where tally is calculated) and round trips to get
data from redis can be very costly. From less than hour calculation can take few hours for larger satellite.

This change combines 'segment' and 'storage' usage requests into
batches to reduce latency impact on tally calculation.

https://github.com/storj/storj/issues/5800

Change-Id: I87e57ec09e88fd167060a4ed51dc8b0274a095c5
2023-07-24 14:13:04 +00:00
..
live satellite/accounting/live: get project totals in batches 2023-07-24 14:13:04 +00:00
nodetally satellite/metabase/rangedloop: move Segment definition 2023-05-16 12:37:17 +00:00
projectbwcleanup satellite/satellitedb: create index for interval_day for project_bandwidth_daily_rollup 2023-02-03 10:02:58 +00:00
rollup satellite/accounting: Use metabase.AliasPiece with tally observer 2023-03-29 12:24:05 +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: save tallies in a batches 2023-06-22 17:02:26 +00:00
billing_test.go satellite/{accounting,satellitedb}: create tallies for empty buckets 2023-05-25 19:48:59 +00:00
bucketstats.go satellite/accounting/tally: calculate pending object count 2023-06-09 10:15:27 +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/accounting: Use metabase.AliasPiece with tally observer 2023-03-29 12:24:05 +00:00
db.go satellite/{db, accounting}: added functionality to query settled bandwidth for given project 2023-06-30 13:24:16 +03:00
projectlimitcache_test.go satellite/metainfo: use project limit cache with limiter 2023-03-14 08:11:11 +00:00
projectlimitcache.go satellite/accounting: fix duplicate code-block 2023-07-20 07:58:53 +00:00
projectusage_test.go satellite/accounting: fix TestProjectSegmentLimit* 2023-07-18 14:26:05 +00:00
projectusage.go satellite/{db, accounting}: added functionality to query settled bandwidth for given project 2023-06-30 13:24:16 +03:00