-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[Question] Is there a plan for a python interface to this? #122
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
Comments
Why not use the python sdk to begin with?
|
from my experiments the python SDK (botocore/boto3) is too slow and has too much memory overhead. I switched to aiobotocore however its also ~25% slower than going raw aiohttp with botocore auth. |
I suppose the first step is a c-style wrapper. I need to do that anyways. I
|
cool! will be exciting :) could you ping me when that happens? closing this since answered. |
I think you may not have to write c bindings: https://wiki.python.org/moin/boost.python/SimpleExample. There seem to be various tools available to wrap c++ methods. |
extern "C" {
} Thats a c binding.
|
sorry, sent wrong example, updated with c++
|
I like this, boost is a bit of a show stopper for us, but maybe the
|
check this out: https://github.com/pybind/pybind11 https://github.com/pybind/pybind11 found it from this thread: http://stackoverflow.com/questions/13990317/generate-python-bindings-what-methods-programs-to-use http://stackoverflow.com/questions/13990317/generate-python-bindings-what-methods-programs-to-use btw let me know if I'm pestering too much :)
|
Thats interesting. I wonder how this works with inheritance and
|
Hi @thehesiod, We would love to see your test cases and performance metrics to understand that this SDK with python bindings would actually be faster for you. |
I think that's a great idea. Make sure you trst using async methods so io
|
@prestomation I have not yet, I was assuming the c++ libs would be faster :) Basically my test was going to be writing a simple wrapper around the c++ lib to do the test. If I get around to it I'll report back. thanks for the time guys! |
…y-bambo-script-for-docker-publishing to develop # By Krzysztof Trzepla # Via Krzysztof Trzepla * commit 'e5695e1aac94f46cd6f71df85f0d2d46976e2bd9': VFS-1951 Make tags default to empty list in docker_build.py.
Added support for accept header for api-gateway clients. Updated http…
That would be really really cool to speed up performance, and perhaps have a common core across languages.
Reason why I'm so interested is that in our application we need to update millions of files as quickly as possible. I'm currently using aiohttp + botocore v4 auth, and between the overhead of the two I'm limited to ~25 concurrent requests per process and coming from c++ land I know it could do much much more :)
Let me know if I can help!
The text was updated successfully, but these errors were encountered: