FR: Async requests
See original GitHub issueI 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:
- Created 6 years ago
- Reactions:5
- Comments:22 (8 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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!
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