Implement the zlib streaming protocol over a network. The key feature is that the client needs only a limited buffer. We actually don't care that zlib uses the protocol for compression.
The motivation is for a web browser downloading a long document, perhaps a list. Only download a page at a time (or an amount that does not use excessive memory), while still giving the user the illusion that the whole document is available.
This has almost certainly already been done. Is it part of HTTP? Though HTTP may be the wrong level to implement it at, given the tree structure of hypertext.
No comments :
Post a Comment