-
Notifications
You must be signed in to change notification settings - Fork 12
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
Make Concurrent HTTP Request Count Configurable #1
Comments
Right, that. I'd mostly been using it to convert stuff locally where concurrency mattered less. I've been meaning to add configurable support to this for a while. It's possible that you'll get the behavior you're looking for using the (Stream-of-consciousness exploration follows...) Here's the block responsible for setting up the copy, which points at tilelive-streaming being the place to add support: https://github.com/mojodna/tl/blob/master/lib/commands/copy.js#L78-L90
|
The general approach with streaming here is that I'm still not seeing anything that imposes a bottleneck from a read-through, so I think I'll try doing what you're doing and adding some logging to |
Here's the copy command I'm using:
|
Oh, right. That uses
|
Figured it out. I was ignoring This is the relevant commit: It's part of It's not configurable yet (it defaults to 32, which is |
Thanks for the fix Seth! Your tool is extremely useful. It will be saving us a lot of time! |
mojodna/tilelive-streaming@a90f328 and mojodna/tilelive-http@9dffd42 now make this possible. |
Hi Seth,
I'm using your tool to scrape an endpoint and populate an mbtiles database. I'm noticing that the requests are being done in series rather than there being a set of parallel requests. I think it's ok to hit my endpoint harder and get what I want faster...
Could you give me a clue on how to set maybe 10 parallel HTTP requests? I'm thinking I need to tweak some parameter to the async module?
Nick
The text was updated successfully, but these errors were encountered: