in reply to How Could I Speed Up An Archive Script?
It's a significant change, but have you considered streaming your download filehandle directly into a gzip filehandle? It remove several significant file touching steps from your code...
I don't think zip allows this but gzip or tar will allow it. gzip compresses better than zip and most software that handles zip files will handle gz these days...