java - What is the difference between chunking and streaming in http? -


i have huge data filet hat backend giving me.....i have forward same file other application ....could please suggest way go streaming or chunking if both different.

and if both same thing have other option using http protocol.

there no clear difference in performance between chunking , streaming . advantage of streaming might :

streaming doesn't cut latency, neither cuts time dynamic response needs generated. since application sends content right away instead of waiting whole response rendered, client able request assets sooner. in particular, if flush head of html document css , javascript files going fetched in parallel, while server works on generating content. consequence pages load faster.

this study might give couple of ideas since didn't gave details types of files trying transfer : to chunk or not chunk


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -