Comments (2)
Mmm you're right, I maybe is a improvement I have to do at socket reading. The grequests part is not reading the response content but it still is way faster, nice.
from aiosonic.
@XazkerBoy Profiling the code, the bottleneck is in ssl communications, aiohttp uses a lot of cython that may be faster for that case. If you test with another ssl website, sometimes it get aiosonic faster, and sometimes aiohttp (I tested with my portfolio www.mogollon.com.ve/en/).
Closing this for now, aiosonic is faster at local servers. Maybe I'll create an issue to move some code to cython on a future
from aiosonic.
Related Issues (20)
- Not possible to pass any falsy value as json argument of request methods HOT 1
- add resolver like aiohttp
- TypeError in ExpirableCache class HOT 1
- sometime throws HttpParsingError HOT 17
- Header parameter content is overriden in request calls HOT 2
- Faster HTTP/2 with libnghttp2 (and easy) HOT 1
- An open stream object is being garbage collected; call "stream.close()" explicitly HOT 3
- aiosonic is NOT 288.36% faster than aiohttp HOT 3
- Proxy Support HOT 11
- [doc] could you document how this was made faster than other solutions ? HOT 1
- aiosonic.exceptions.HttpParsingError: missing hostname HOT 5
- proxy 'NoneType' object has no attribute 'reader' error HOT 3
- wait_free_pool loops forever without awaiting? HOT 4
- RuntimeError: no running event loop HOT 2
- KeyError: 'content_type' HOT 7
- RuntimeError: aclose(): asynchronous generator is already running HOT 9
- Error: ssl NPN is deprecated, use ALPN instead HOT 1
- ConnectTimeOut HOT 2
- .
- Is there no auth parameter in the get or post methods? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aiosonic.