# API workflows too slow

**URL:** <https://forum.bubble.io/t/api-workflows-too-slow/36576>\
**Category:** APIs\
**Created:** [August 27, 2018, 5:48am UTC](https://forum.bubble.io/t/api-workflows-too-slow/36576 "2018-08-27T05:48:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![timothymugendi](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/timothymugendi/32/148742_2.png) [@timothymugendi](https://forum.bubble.io/u/timothymugendi)\
**Post date:** [August 27, 2018, 5:48am UTC](https://forum.bubble.io/t/api-workflows-too-slow/36576/1 "2018-08-27T05:48:27Z")

</div>

Hi,

We are experiencing slow response from API workflows for android app built with Dropsource. An endpoint that was taking 6 seconds now is taking 14 seconds. Definitely something is not ok.

---

<div class="post-metadata">

**Author:** ![andrewgassen](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/andrewgassen/32/44248_2.png) [@andrewgassen](https://forum.bubble.io/u/andrewgassen)\
**Post date:** [August 27, 2018, 10:14am UTC](https://forum.bubble.io/t/api-workflows-too-slow/36576/2 "2018-08-27T10:14:35Z")

</div>

If you think there’s a bug here, I highly suggest filing a bug report at bubble.is/bug\_report

---

<div class="post-metadata">

**Author:** ![timothymugendi](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/timothymugendi/32/148742_2.png) [@timothymugendi](https://forum.bubble.io/u/timothymugendi)\
**Post date:** [August 27, 2018, 10:16am UTC](https://forum.bubble.io/t/api-workflows-too-slow/36576/3 "2018-08-27T10:16:55Z")

</div>

Noted, I will file a bug report

---

<div class="post-metadata">

**Author:** ![andrewgassen](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/andrewgassen/32/44248_2.png) [@andrewgassen](https://forum.bubble.io/u/andrewgassen)\
**Post date:** [August 27, 2018, 10:18am UTC](https://forum.bubble.io/t/api-workflows-too-slow/36576/4 "2018-08-27T10:18:38Z")

</div>

Fourteen seconds feels like a long time when it was previously only six. Are you running operations on a list? Could it be that the list is just getting longer?

---

<div class="post-metadata">

**Author:** ![timothymugendi](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/timothymugendi/32/148742_2.png) [@timothymugendi](https://forum.bubble.io/u/timothymugendi)\
**Post date:** [August 27, 2018, 10:38am UTC](https://forum.bubble.io/t/api-workflows-too-slow/36576/5 "2018-08-27T10:38:00Z")

</div>

I am querying Bubble for data using a Return Data from API workflow. It involves some search. The data is not as much yet, just some test data.

Actually I have just tested it again from Dropsource Editor and this time and I got a response after 16 seconds. However, after testing the same endpoint with Swagger Editor its taking 5 seconds. I will talk to Dropsource to see where we could be having a issue before filing a bug report.

---

<div class="post-metadata">

**Author:** ![timothymugendi](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/timothymugendi/32/148742_2.png) [@timothymugendi](https://forum.bubble.io/u/timothymugendi)\
**Post date:** [August 28, 2018, 4:16pm UTC](https://forum.bubble.io/t/api-workflows-too-slow/36576/6 "2018-08-28T16:16:33Z")

</div>

@andrewgassen So I posted the question on the side of Dropsource, you can see some of the feedback I got here

> **[API connection time-out](https://forum.dropsource.com/t/api-connection-time-out/1026/6)**
>
> Its the same thing on device. Actually what made me start testing is on realizing some of the the actions that have been running smoothly on device are now not functioning as expected. I also did the same test with a test app on simulator because I...

A test of the API with postman gave me 5 seconds just like the results I got from Swagger Editor.

So my question goes to those who have some experience with API programming as well as dropsource users like @seanhoots. What should a call duration I get from postman tell me about what to expect on a real device? Should an API call duration on real device be 10% longer, 30% or more than 100% longer like in above case?
