question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FR: Async requests

See original GitHub issue

I am using firebase-admin on an asyncio project and when there are a lot of requests it slows down the whole API.

Surprisingly, I didn’t see any other issues about this, I hope I am not duplicating.

ref = yield from db.reference
result = yield from ref.get()

Thanks

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:5
  • Comments:22 (8 by maintainers)

github_iconTop GitHub Comments

24reactions
lahirumarambacommented, Apr 9, 2021

Good news! We are prioritizing this task and have plans to start the initial planning work over the coming months. It is still too early to provide a timeline, but I will reopen this issue so we can track the progress here. Thank you everyone for your patience!

8reactions
hyperknotcommented, Apr 17, 2019

I wanted to report that having async support for an auth SDK is very important. This is exactly the area where async frameworks make a huge difference, where you do a client side request inside a server side request.

Please consider adding core support and examples for using with ASGI frameworks, like Starlette: https://github.com/encode/starlette

Read more comments on GitHub >

github_iconTop Results From Across the Web

Asynchronous Requests with Python requests - Stack Overflow
How it works is simple. You're creating a series of tasks you'd like to occur asynchronously, and then asking a loop to execute...
Read more >
Asynchronous HTTP Requests in Python with aiohttp and ...
HTTP requests are a classic example of something that is well-suited to asynchronicity because they involve waiting for a response from a server ......
Read more >
requests-async - PyPI
Brings support for async / await syntax to Python's fabulous requests library. Build Status Coverage Package version. Requirements. Python 3.6+. Installation. $ ...
Read more >
Writing fast async HTTP requests in Python - JonLuca's Blog
The next step here was to find ways to make these requests using Threads. Spin off a native thread for each request, and...
Read more >
Synchronous and asynchronous requests - Web APIs | MDN
If you use an asynchronous XMLHttpRequest , you receive a callback when the data has been received. This lets the browser continue to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found