killbill / killbill-plugin-framework-ruby

Framework to write Kill Bill plugins in Ruby
http://killbill.io
8 stars 11 forks source link

Optimize dispatch_to_gateways call #31

Open pierre opened 9 years ago

pierre commented 9 years ago

purchasePayment has quite an overhead compared to addPaymentMethod, even in the skip_gw case. In my testing, the overhead is between 100ms (p75) up to 350ms (p98).

Thoughts: