Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8838727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T10:04:58+00:00 2026-06-14T10:04:58+00:00

Im building an upload tool using node.js and socket.io , because they usually upload

  • 0

Im building an upload tool using node.js and socket.io, because they usually upload incredibly huge files and normal upload forms wouldnt work. The problem is that they wanted to compress the files into a zip before sending them, to increase efficiency in transmission.

I’ve been researching around compression methods like JSZip or zip.js, but neither of those work well with extremely big files. What could I do?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T10:04:59+00:00Added an answer on June 14, 2026 at 10:04 am

    You can compress up to 4GB of data with zip.js but:

    • it will work only with Chrome
    • it will be quite slow (approx. 30min per GB of compressed data on my old laptop)

    You can try it online with this demo. You must select the “HDD” option in the “choose temporary storage” input. Then you can import big files from your filesystem and monitor the memory consumption: it should be stable (approx. 300MB on my laptop).

    Selecting “HDD” means that zip.js will use File API: Directories and System to store compressed data. This API is currently only available on Chrome and allows to write data into a sandboxed virtual filesystem. The demo uses the temporary storage which does not require a user permission.

    Edit: You could also implement your own Writer constructor function to stream the data to your server while zip.js compresses it: it wouldn’t rely on the filesystem API and should work on every browser you support. A Writer must just implement these 2 methods:

    init(callback[, onerror])
    // initializes the stream where to write the zipped data
    
    writeUint8Array(array, callback[, onerror])
    // writes asynchronously a Uint8Array into the stream.
    
    // getData method is optional
    

    Here is an example of custom Writer and Reader constructors. You can also look at zip.js Writers implementations for more examples.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im building an app using kohana. I need to be able to upload files
I'm building a site where registered users can upload files. Those files are then
im building a file upload/dwnload app in php..im using the following form <html> <head>
My company is building an internal app where they need to upload videos (most
I'm building a web app where I need to let users upload files. I
I am currently building a PHP application that lets users upload files. I am
I'm building a web tool which allows users to upload PDFs to a server
I'm building a flex application It has a functionality that can upload files to
I'm building a site in which users can upload photos, and they can mark
I am building a text sharing site where user will upload their text files.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.