storj/satellite/accounting
Jeff Wendling f671eb2beb satellite/satellitedb: use queue for orders to get back fast billing
This change adds two new tables to process orders as fast as we used
to but in an asynchronous manner and with hopefully less storage
usage. This should help scale on cockroach, but limits us to one
worker. It lays the groundwork for the order processing pipeline to
be queue rather than database driven.

For more details, see the added fast billing changes blueprint.

It also fixes the orders db so that all the timestamps that are
passed to columns that do not contain a time zone are converted to
UTC at the last possible opportunity, making it less likely to use
the APIs incorrectly. We really should migrate to include timezones
on all of our timestamp columns.

Change-Id: Ibfda8e7a3d5972b7798fb61b31ff56419c64ea35
2020-02-24 17:07:07 +00:00
..
live storage/redis/redisserver: simplify redisserver creation 2020-02-11 19:11:57 +00:00
reportedrollup satellite/satellitedb: use queue for orders to get back fast billing 2020-02-24 17:07:07 +00:00
rollup all: use monkit v3 2020-02-05 23:53:17 +00:00
tally satellite/accounting: iterate over projects from tally rather than live accounting projects 2020-02-13 12:57:46 -05:00
bucketstats.go satellite/accounting: refactor code and remove unused fields (#3178) 2019-10-04 22:09:52 +03:00
bucketusage.go satellite/satellitedb: console tables archview comments updated (#3465) 2019-11-04 16:37:39 +02:00
common.go common: separate repository 2019-12-27 14:11:15 +02:00
db_test.go satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
db.go satellite/accounting: refactor live accounting to hold current estimated totals 2020-01-16 10:26:49 -05:00
projectusage_test.go satellite/accounting: fix flaky TestProjectUsageStorage 2020-02-07 20:58:24 -05:00
projectusage.go all: use monkit v3 2020-02-05 23:53:17 +00:00