{"podcast":{"title":"Programming Tech Brief By HackerNoon","slug":"programming-tech-brief-by-hackernoon-6364125","podcast_index_feed_id":6364125,"rss_url":"https://feeds.transistor.fm/programming-tech-brief-by-hackernoon","website_url":"https://hackernoon.com/c/programming","image_url":"https://img.transistorcdn.com/AKbQjnYbCNDgF_frZ_Hpi8tkLS7aZezqecpWn6o-Rh8/rs:fill:0:0:1/w:1400/h:1400/q:60/mb:500000/aHR0cHM6Ly9pbWct/dXBsb2FkLXByb2R1/Y3Rpb24udHJhbnNp/c3Rvci5mbS9zaG93/LzQxMTY2LzE2ODM1/ODIzMzAtYXJ0d29y/ay5qcGc.jpg","author":"HackerNoon","episode_count":100,"summary":"Learn the latest programming updates in the tech world.","last_synced_at":"2026-07-29T06:19:42.842448+00:00","page_url":"https://stenobird.com/podcast/programming-tech-brief-by-hackernoon-6364125"},"episode":{"title":"Streaming ZIP Archives On the Fly With nginx + mod_zip: No Disk, No Buffers, No Problem","slug":"streaming-zip-archives-on-the-fly-with-nginx-mod-zip-no-disk-no-buffers-no-problem","published_at":"2026-06-01T16:00:34+00:00","page_url":"https://stenobird.com/podcast/programming-tech-brief-by-hackernoon-6364125/streaming-zip-archives-on-the-fly-with-nginx-mod-zip-no-disk-no-buffers-no-problem","show_page_url":"https://stenobird.com/podcast/programming-tech-brief-by-hackernoon-6364125","url":"https://share.transistor.fm/s/b33dc0b0","audio_url":"https://media.transistor.fm/b33dc0b0/372a980c.mp3","summary":"This story was originally published on HackerNoon at: https://hackernoon.com/streaming-zip-archives-on-the-fly-with-nginx-mod_zip-no-disk-no-buffers-no-problem . How we stream ZIP archives on the fly at scale using nginx + mod_zip — no disk writes, no buffering, with local and remote files in a single archive. Check more stories related to programming at: https://hackernoon.com/c/programming . You can also check exclusive content about #nginx , #zip , #php , #architecture , #performance , #file-handling , #backend , #hackernoon-top-story , and more. This story was written by: @dmitriistarikov . Learn more about this writer by checking @dmitriistarikov's about page, and for more stories, please visit hackernoon.com . Instead of downloading files to disk, computing checksums, and building a ZIP before serving it, we use nginx + mod_zip to stream archives directly to the client. PHP returns a short manifest listing file URLs and sizes — nginx fetches each file via internal subrequests and pumps them into a ZIP stream in real time. No temp files, no buffering, no waiting. The main gotcha: file sizes are required upfront (ZIP format constraint), which is trivial for local files and requires a HEAD request for remote ones. We hit a production incident caused by zero sizes in metadata from an external team — silent broken archives, hard to debug because mod_zip subrequests don't surface in normal log pipelines.","meta_description":"This story was originally published on HackerNoon at: https://hackernoon.com/streaming-zip-archives-on-the-fly-with-nginx-mod_zip-no-disk-no-buffers-no-pr…","key_points":[],"chapters":[],"topics":[],"duration_seconds":813,"processing_state":"not_requested","actions":[{"name":"request_transcript","method":"POST","url":"https://stenobird.com/v1/public/podcasts/programming-tech-brief-by-hackernoon-6364125/episodes/streaming-zip-archives-on-the-fly-with-nginx-mod-zip-no-disk-no-buffers-no-problem/transcription-requests","description":"Idempotently request low-priority transcript generation for this episode."},{"name":"read_markdown","method":"GET","url":"https://stenobird.com/podcast/programming-tech-brief-by-hackernoon-6364125/streaming-zip-archives-on-the-fly-with-nginx-mod-zip-no-disk-no-buffers-no-problem.md","description":"Read the agent-friendly Markdown representation of this episode resource."}]}}