[Tilecache] tips on seeding the cache
angus scown
gus at sdx.com.au
Wed Oct 17 18:38:02 EDT 2007
the speed issue was resolved in two manners
1) fix the dns resolution as there was a delay in the resolution causing
a significant pause on each request
2) move to mod_python
Now getting a much more respectable throughput.
eg. [0.1685s 6.138/s]
angus scown wrote:
> WMS layer - correct. I am using version 1.9. Mapserver is running as
> CGI and hums along nicely answering WMS requests. Things slow down
> when tilecache makes the WMS request. Subsequent requests to
> tilecache are snappy but it seems to be taking a long time to do the
> WMS request.
>
> I installed tilecache and altered my apache2 config to
> AddHandler cgi-script .cgi
> Options +ExecCGI
>
> so I assume this means it is running as Python CGI. So I guess the
> slow part is the CGI execution for each request.
>
> Christopher Schmidt wrote:
>> On Wed, Oct 17, 2007 at 11:31:59AM +1000, angus scown wrote:
>>
>>> I am trying to understand how to increase the throughput of the seeding
>>> program. Watching the output as it churns through the requests I am
>>> trying to debug where the blockage is. Each tile is taking 20 seconds
>>> to create. If I look at the apache log and mimic the requests the tile
>>> cache is making to the WMS the requests are returning images in
>>> subsecond response times as is expected.
>>>
>>> The server it is running on is not under any load and I am trying to
>>> work out where the throughput blockage is. I am getting results such as
>>> [20.4531s : 0.048/s] 52/252 from the seed program.
>>>
>>
>> I'm guessing this is a WMS layer? MetaTiling in use? Any other strange
>> setup? 1.9, or SVN? Running on the server as CGI, mod_python, other?
>>
>> Regards,
>>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache
>
More information about the Tilecache
mailing list