5. Reactive Streams
Reactive Streams is a standard and specification for Stream-oriented
libraries for the JVM that
process a potentially unbounded number of elements
asynchronously passing elements between components
with mandatory non-blocking backpressure.
14. Handling big files (HTTP)
In many cases the request stored in memory (gather/parse http
request and then analyzing)
It’s a bad, bad Idea to put the body in memory. (Try to upload
10 GB file and store it)
22. Process (Upload)
1. File is post by client (browser etc.)
2. Normalize stream (chunks)
3. Async save each chunk in K/V storage (Amazon S3)
4. Store metadata