#MarcusStripe

1 messages · Page 1 of 1 (latest)

faint badgerBOT
flat arch
#

As in are you wondering if the live mode lookups will take about that long?

outer nimbus
#

yes

#

750ms is a LOOONG time... especially for only retrieving 3 products

flat arch
#

Honestly I am not sure, and how long your round trip time is may depend a lot on your network config. To get the best idea, you can probably create 3 products in live mode and time making that list call a hundred times or so to see what your average is.

#

If the end result is too slow, it may make more sense to cache that product data on your server

outer nimbus
#

a lot on your network config
we tried it from the server, and 2 different local machines, in different cities and different providers

#

without any extra code - just the pure call

flat arch
#

Awesome, then the prod test can work from either of those locations. Good to hear it was consistent between the two of them, there can be a lot of variability sometimes.

outer nimbus
#

we have no prod setup at the time.. and this would influence the end client.. not optimal

flat arch
#

Ah gotcha, honestly I still think a prod test would give you the most realistic results, so it might be worth quickly creating another Stripe account, making the products on that, and retrieving them with that account's secret key.

#

I can try looking up average latency within our system for this call, but that might not be relevant as there are a wide variety of ways that users make this call which can all affect how long it takes to render the response.

outer nimbus
#

it would be first indication at least

runic shard
#

Hi 👋 I'm jumping in as @flat arch needs to step away. The average duration of of a list request to /v1/products over the past 7 days has been ~150ms