Greetings, O Monks!
tl;dr: How big is the overhead of using Inline::Python?
Longer: I have a project that involves a large number of file transfers to a cloud provider's storage system. For various reasons (OK, one reason: doing it another way would require rewriting thousands of lines of code), these transfers have to be done one file at a time. The code is run on a regular basis, and can involve the transfer of many thousands of files and potentially terabytes of data.
This provider doesn't have a Perl API. We originally coded it using their regular JSON API, but it got very difficult to manage all of the background stuff of confirming successful uploads, retrying failed requests, using different transport mechanisms depending on filesize, etc., so we moved to using their commandline utility. This works like a dream, except that shelling out for each file is really expensive.
We thought of simply using the Python API--which, like the commandline utility, automatically handles all of this background stuff--to do the transfer itself, and wanted to get some sense of what the overhead is of using Inline::Python for this purpose.
Thank you!
In reply to Overhead of Inline::Python? by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |