https://github.com/lightsofapollo/continuous-http-stream
Quick node hack for serving the contents of a stream in a "live" fashion
https://github.com/lightsofapollo/continuous-http-stream
Last synced: 8 months ago
JSON representation
Quick node hack for serving the contents of a stream in a "live" fashion
- Host: GitHub
- URL: https://github.com/lightsofapollo/continuous-http-stream
- Owner: lightsofapollo
- Created: 2014-08-07T06:38:38.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-08-10T17:26:24.000Z (almost 12 years ago)
- Last Synced: 2024-12-27T15:12:52.761Z (over 1 year ago)
- Language: JavaScript
- Size: 156 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Features
### Long lived http streams:
The intention is that clients can connect to the server via http get and
continuously stream data via a "content-length-less" response. The request
is safe to retry with byte range fetching.
### Byte range fetching:
Note that per [rfc7233](http://tools.ietf.org/html/rfc7233#section-2.1)
byte range fetching is inclusive meaning range 0-0 will give you the
first byte and is a valid range.
# Random Notes
There is something going on with memory allocation (rss not js heap) on
OSX under high load with streams... From my observations this does not
occur on Linux but if we are seeing terrible random high spikes.