Convert Cart To Order takes more than 25 seconds to perform #505
-
Currently every time I convert a cart into an order it takes a lot of time. Ex: CartId: 65d3aace87d07b0012604497 |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 26 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Hi @logeshswell , @ericingram , our team built gateway for swell, we monitored every request from our clients to swell server, here some detail
Flow received carts -> register account -> update account-id to carts (1st call), convert carts to orders (2nd call), last update orders some addons info (3rd call) Even, the get order api takes up to 3 seconds to execute Api releated to carts, orders, promotions always takes more than 3, 4s to execute |
Beta Was this translation helpful? Give feedback.
-
@balanh-development You mentioned that order conversion takes >25s in the GD title. But, all your shared logs show 3-4s, which is common as the requests might be throttled for non-enterprise clients, when there's a larger request traffic. https://www.swell.is/help/faqs/pricing#what-does-fair-use-api-access-mean |
Beta Was this translation helpful? Give feedback.
-
"Do you always experience a slow API response for cart conversion?", yes currently we monitor converting API, it always takes more than 25 seconds to perform. Here api example, one product in cart (Product is definitely in stock) curl https://api.swell.store/orders |
Beta Was this translation helpful? Give feedback.
-
@balanh-development I raised a request internally to take a look at this issue. |
Beta Was this translation helpful? Give feedback.
-
We made some fixes to improve the cart conversion process faster. Can you check and confirm if it's working faster now? |
Beta Was this translation helpful? Give feedback.
@balanh-development I raised a request internally to take a look at this issue.
I doubt that it's a performance issue in creating the stock records during the cart conversion.