-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
mapcache creates multible session for getting http sources and not a single one #310
Comments
Hi @a14stoner, this is probably a better question for the mapserver-users mailing list. More folks will see it there and should be able to help. I'm not a mapcache expert but I think folks will need more information on:
I typically don't pre-seed and just let the cache build as users interact with the tilesets. I've not noticed anything strange in that case. I do occasionally do targeted re-tiling for small data changes and use mapcache_seed for that. |
Hey, thx tog the questions.
I use mapcache_seed with -n 16
I need to pre-seed bc i dont have internet connection at the customers
site.
Regards
…On Thu 30. Mar 2023 at 16:52, Steve Lime ***@***.***> wrote:
Hi @a14stoner <https://github.com/a14stoner>, this is probably a better
question for the mapserver-users mailing list. More folks will see it there
and should be able to help. I'm not a mapcache expert but I think folks
will need more information on:
- when you say seeding, are you referring to using mapcache_seed? With
what options?
- if not, how is mapcache deployed (Apache module or FastCGI)?
I typically don't pre-seed and just let the cache build as users interact
with the tilesets. I've not noticed anything strange in that case. I do
occasionally do targeted re-tiling for small data changes and use
mapcache_seed for that.
—
Reply to this email directly, view it on GitHub
<#310 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOIWVIOOKCQNKLLRZ2RAGWDW6WMZLANCNFSM6AAAAAAWI6MB6Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
This seems to be doable. I don't have time (and need) to implement it, thus just notes. Download happens in http.c function Libcurl supports sharing of cookies, DNS, ssl and even connections. The documentation has nice examples: One option would be to create three new functions: |
@a14stoner, please tell why did you close the ticket. I hope you have found a solution for your issue. |
IMHO this should be reopened as it is a reasonable thing to implement. It could speed up seeding process a bit (although only testing could tell). |
I simply dont need it anymore. If you want I'll reopen it. :) |
I am seeding a map with a http source.
Within one our mapcache creates around 720.000 sessions (one per request).
Is it possible that mapcache requests the images within one session and not creates one session for every requested image?
The text was updated successfully, but these errors were encountered: