[Tilesathome] Proposal: Keeping tileset as one file

Florian Lohoff flo at rfc822.org
Sun Jun 15 09:20:37 BST 2008


On Sat, Jun 14, 2008 at 06:45:16PM +0200, Jiri Klement wrote:
> >  * Will tile download be done with PHP (has this been covered in
> >   the benchmarks - compare executing PHP code to extract data from
> >   a large tile with having Apache load the tile directly), or
> >   will we have an Apache module for that?
> 
> What about CGI script? It should be much simpler than apache module
> and it will have access to sendfile() (zero copy), so it should be
> almost as fast as loading files directly by Apache.

Zero copy will gain you nothing. The server does not starve the CPU but
the disk i/o - so copying around the data comes for free.

lo
-- 
Florian Lohoff                  flo at rfc822.org             +49-171-2280134
	Those who would give up a little freedom to get a little 
          security shall soon have neither - Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20080615/9c42095b/attachment.pgp>


More information about the Tilesathome mailing list