storj/satellite/orders
Jeff Wendling 115f4559e5 satellite/orders: more efficient processing of orders
by doing an indexed anti-join we're able to reduce the time to
select the pending orders by over 10x on postgres. this should
help us process pending orders much more quickly.

it probably won't do as good a job on cockroach because it does
not do an indexed anti-join and instead does a hash join after
scanning the entire consumed serials table. we should either
remove orders entirely or try to make that more efficient
when necessary.

Change-Id: I8ca0535acd21c51e74955b24c9b86d20e4f2ff9c
2020-03-18 09:03:30 +00:00
..
endpoint.go satellite/orders: more efficient processing of orders 2020-03-18 09:03:30 +00:00
orders_test.go satellite/orders: add tests for double sending the same order 2020-03-17 14:18:03 +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: remove some unnecessary UTC() calls 2020-03-13 13:49:44 +00:00
rollups_write_cache.go satellite/orders: Flush all pending bandwidth rollup writes on shutdown 2020-01-23 08:12:41 -07:00
serials_test.go satellite: remove some unnecessary UTC() calls 2020-03-13 13:49:44 +00:00
service.go satellite/orders;overlay: Consolidate order limit storage node lookups into 1 query. 2020-03-16 23:15:47 +00:00