Total.js platform
Total.js platform

JavaScript platform for everyone

A hidden feature: Total.js Chunker

A hidden feature: Total.js Chunker

Total.js Chunker is a very useful helper for importing data from larger data-sources. Chunker and U.streamer() are very big canons and these methods can save a lot of time.

  • Chunker is optimized for heavy and real-time writes
  • Chunker creates multiple files with a specific number of the records
  • Chunker streams all prepared records by pages
  • Chunker documentation

A simple example:

Where to use Chunker?

I use Chunker when I perform imports from different data-sources e.g. XML into my e-commerces. It's very useful helper optimized for low CPU load.