I think a good improvement would be to use a threadpool per maps
provider. By this way, we can set the size of the pool for each maps
provider, without reducing downloading performances when using
multiple maps providers at the same time.

Other solution can be to use a richer "transport" layer: libsoup can
do many things libcurl can't.

2012/1/9 Robert Norris <rw_nor...@hotmail.com>:
>
>>I think am seeing what seems to be too many simultaneous downloads from
>>osm, but I'm not sure.
>>Where is the configuring for the max number of requests at once to some
>>site?  I would think this should be 2 or 4, but not more.   I am
>>wondering if I am getting throttled, and would like to set it to 1 - but
>>I don't see a preference.
>
> ATM The number of threads used is 10 and is not configurable (yet...)
>
> See background.c -> a_background_init()
>
> Note these threads aren't just for maps, but for every background processing 
> eg DEMs & Waypoint image processing, so there is no control per background 
> type, let alone per map source.
>
> HTH.
>
>
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> Viking-devel mailing list
> Viking-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/viking-devel
> Viking home page: http://viking.sf.net/



-- 
Guilhem BONNEFILLE
-=- JID: gu...@im.apinc.org MSN: guilhem_bonnefi...@hotmail.com
-=- mailto:guilhem.bonnefi...@gmail.com
-=- http://nathguil.free.fr/

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Viking-devel mailing list
Viking-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viking-devel
Viking home page: http://viking.sf.net/

Reply via email to