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

[Feature Request]: asynchronously handle API requests #49

Open
5 tasks done
bhavya2021245 opened this issue Oct 7, 2024 · 2 comments
Open
5 tasks done

[Feature Request]: asynchronously handle API requests #49

bhavya2021245 opened this issue Oct 7, 2024 · 2 comments

Comments

@bhavya2021245
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Feature Description

asynchronously handle API requests using aiohttp instead of the synchronous requests library in bot.py

Use Case

1.Non-blocking I/O: With aiohttp, your bot won't block the event loop while waiting for responses from the CoinGecko API. This improves the responsiveness of your bot, especially under heavy load or slow network conditions.
2.Better performance: Using asyncio and aiohttp allows multiple API requests to be made concurrently without holding up other tasks, leading to improved efficiency and faster response times.

Benefits

No response

Priority

High

Record

  • I agree to follow this project's Code of Conduct
  • I'm a GSSOC WOB24 contributor
  • I want to work on this issue
  • I'm willing to provide further clarification or assistance if needed.
Copy link

github-actions bot commented Oct 7, 2024

Hi there! Thanks for opening this issue. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible.

@bhavya2021245
Copy link
Author

Please assign me this issue under gssoc-ext and hacktoberfest-accepted

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

1 participant