Available for: UI for ASP.NET AJAX | UI for ASP.NET MVC | UI for WPF | UI for WinForms | UI for Xamarin

Overview

This article briefly explains the specifics of RadSpreadStreamProcessing - what is spread streaming, how it works compared to the RadSpreadProcessing library and when to use it.

What is Spread Streaming?

Spread streaming is a document processing paradigm that allows you to create big spreadsheet documents with great performance and minimal memory footprint.

The key for the memory efficiency is that the spread streaming library writes the spreadsheet content directly to a stream without creating and preserving the spreadsheet document model in memory. Each time an exporter object is disposed, the set values are written into the stream. This allows you to create large documents with an excellent performance.

Key Features

Some of the features you can take advantage of are:

RadSpreadStreamProcessing vs. RadSpreadProcessing

There are several main differences between the libraries.

  • RadSpreadStreamProcessing can be used only to create documents and append data to existing ones. On the other hand you can use the RadSpreadProcessing also for reading and modifying the content of documents.
  • RadSpreadStreamProcessing writes directly into a stream, unlike RadSpreadProcessing which creates models for the elements in the document. This is why the memory used with the spread streaming library is significantly lower than when using RadSpreadProcessing.
  • RadSpreadStreamProcessing does not perform any formula or other layout-related calculations which makes its file generation performance much better compared to RadSpreadProcessing.

When to Use RadSpreadStreamProcessing

You can use the RadSpreadStreamProcessing library to create and export large amount of data with a low memory footprint and great performance. You can also append data to already existing document stream. The generated document can be exported directly to a file on the file system or to a stream (for example, to send it to the client).

See Also

In this article
Not finding the help you need? Improve this article