How To Implement Chunking of File Attachment
Hello,
In our application, we have a requirement to send attachments over a web service to an external system for integration. The document is being sent in Base64 format and is often a large payload to be shared over the web service. As we increase the file size of attachment, the payload also grows and in turn it affects the performance.
We are trying to find a better way to send these large payloads using the web service. We came across a concept called Chunking the payloads. This basically chunks the large payloads into pieces and handles them more efficiently. Below is a link to Bookshelf where the chunking process is described.