storj/satellite/payments/stripecoinpayments
Jeremy Wharton e0bb410192 satellite/payments/stripecoinpayments: parallelize invoice methods
Invoicing-related payment service methods have been modified to send
Stripe API requests in parallel.

Additionally, randomness has been added to the Stripe backend wrapper's
exponential backoff strategy in order to reduce the effects of the
thundering herd problem, which arises when executing many simultaneous
API calls.

Resolves #5156

Change-Id: I568f933284f4229ef41c155377ca0cc33f0eb5a4
2023-03-31 17:14:22 +00:00
..
accounts_test.go satellite/satellitedb: add package info to customers db 2023-03-31 15:51:30 +00:00
accounts.go satellite/satellitedb: add package info to customers db 2023-03-31 15:51:30 +00:00
client_test.go satellite/payments/stripecoinpayments: retry API calls with exp backoff 2023-03-22 07:20:27 -05:00
client.go satellite/payments/stripecoinpayments: parallelize invoice methods 2023-03-31 17:14:22 +00:00
conversion.go satellite: remove unused coinpayments code and chores 2022-11-30 16:24:48 +00:00
coupons_test.go satellite/console: ApplyCoupon and ApplyFreeTierCoupon 2023-02-16 10:00:20 -05:00
coupons.go Revert "satellite/payments: add partnered field to coupon struct" 2023-03-31 16:03:48 +00:00
creditcards_test.go satellite/console: return card from AddCreditCard 2023-02-21 20:48:15 +00:00
creditcards.go satellite/payments/stripecoinpayments: add ctx to Stripe method calls 2023-03-14 17:52:17 +00:00
customers_test.go satellite/payments/stripecoinpayments: fix mock data-race 2022-08-01 14:30:39 +00:00
customers.go satellite/satellitedb: add package info to customers db 2023-03-31 15:51:30 +00:00
db.go satellite/{payments,satellitedb}: Remove custom coupon implementation 2021-10-11 19:47:00 +00:00
invoices_test.go satellite/console: add Purchase method to console.Payments 2023-02-21 20:10:42 +00:00
invoices.go Revert "satellite/payments: add partnered field to coupon struct" 2023-03-31 16:03:48 +00:00
projectrecords_test.go satellite: use segment count for billing 2021-10-27 19:21:50 +00:00
projectrecords.go satellite: use segment count for billing 2021-10-27 19:21:50 +00:00
service_test.go satellite/payments/stripecoinpayments: parallelize invoice methods 2023-03-31 17:14:22 +00:00
service.go satellite/payments/stripecoinpayments: parallelize invoice methods 2023-03-31 17:14:22 +00:00
stripemock.go satellite/payments/stripecoinpayments: parallelize invoice methods 2023-03-31 17:14:22 +00:00
tokens_test.go satellite/payments/stripecoinpayments: add ctx to Stripe method calls 2023-03-14 17:52:17 +00:00
tokens.go satellite/payments/stripecoinpayments: add ctx to Stripe method calls 2023-03-14 17:52:17 +00:00
transactions_test.go satellite: remove unused coinpayments code and chores 2022-11-30 16:24:48 +00:00
transactions.go satellite: remove unused coinpayments code and chores 2022-11-30 16:24:48 +00:00