Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extremely slow data load #47

Open
thomas-spotnana opened this issue Aug 3, 2022 · 2 comments
Open

Extremely slow data load #47

thomas-spotnana opened this issue Aug 3, 2022 · 2 comments

Comments

@thomas-spotnana
Copy link

I am using tap-freshdesk with Stitch to sync data from Freshdesk to Snowflake. The integration tool seems to load only around 250 rows per 10 minutes, which is extremely slow. This makes the tool non-usable. I suspect this is due to the way data is batched, but was hoping you could elaborate/fix this so that loads from Freshdesk can be as fast as other tools.

@shubham-124
Copy link

can anyone help or update here!
I am also facing similar issue.

@jaketho
Copy link

jaketho commented Feb 2, 2023

The issue with rate limiting is here

@utils.ratelimit(1, 2)

According to the documentation, rate limiting is "x requests per y seconds".
I think the default of (1, 2) assumes the growth plan with a limit of 50 requests per minute and allows some headroom for other API calls.
Depending on your plan and plan age, you can determine your actual rate limit and adjust accordingly. You can find Freshdesk API limits for current plans here > https://support.freshdesk.com/en/support/solutions/articles/225439-what-are-the-rate-limits-for-the-api-calls-to-freshdesk-
For older plans, reference the image at the bottom of this page > https://support.freshservice.com/en/support/solutions/articles/50000000293-what-is-the-rate-limit-for-apis-across-all-plans-

To avoid problems raised in other issues, instead of using the full amount of requests per time, like (50, 60), I use (1, 1.2).

A possible permanent solution for this issue would be to look at the x-requests-total and assume the plan and rate limit or add as a configuration parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants