# Simplest example of http streaming chunks in Motoko

**URL:** <https://forum.dfinity.org/t/simplest-example-of-http-streaming-chunks-in-motoko/9116>\
**Category:** Developers\
**Created:** [November 27, 2021, 2:05am UTC](https://forum.dfinity.org/t/simplest-example-of-http-streaming-chunks-in-motoko/9116 "2021-11-27T02:05:27Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![peterparker](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@peterparker](https://forum.dfinity.org/u/peterparker)\
**Post date:** [December 1, 2021, 3:35pm UTC](https://forum.dfinity.org/t/simplest-example-of-http-streaming-chunks-in-motoko/9116/9 "2021-12-01T15:35:21Z")

</div>

For comparison, I uploaded the exact same image to Google Firebase Storage (link: [https://firebasestorage.googleapis.com/v0/b/deckdeckgo-studio-prod.appspot.com/o/TLsaIXLLIwdmA2PSV1DcEHGMva23%2Fassets%2Fimages%2F2-3mb.jpeg?alt=media&token=0b071105-7bc7-4b83-add9-8f5991049c9c](https://firebasestorage.googleapis.com/v0/b/deckdeckgo-studio-prod.appspot.com/o/TLsaIXLLIwdmA2PSV1DcEHGMva23%2Fassets%2Fimages%2F2-3mb.jpeg?alt=media&token=0b071105-7bc7-4b83-add9-8f5991049c9c)).

In such conventional CDN it takes around 800ms - 1s to download the file.

I get 2.5s to 6s for my implementation with the IC and `http_request + streaming`.

So, I actually see it as positive kind of, sure it’s slower but it’s quite different tech. Being said, maybe it is possible to improve the speed of the delivery?

---

_[View the full topic](https://forum.dfinity.org/t/simplest-example-of-http-streaming-chunks-in-motoko/9116)._
