I have a folder on my site called "archive", where I store large zips of data. Navigating to http://site/archive gives me a nice interface by default for downloading files, much like how FTP is handled.
Every time a download of a large file is initiated (~800 mb) goStatic consumes large amounts of ram for a while.
Every time a request is initiated shows up as red in the top graph. The bottom graph is container memory usage in a range of 0 - 1 GB.
To reproduce:
run sudo docker run -d -p 1935:8043 -v /srv/goStatic:/srv/http --name goStatic pierrezemb/gostatic
I have a folder on my site called "archive", where I store large zips of data. Navigating to http://site/archive gives me a nice interface by default for downloading files, much like how FTP is handled. Every time a download of a large file is initiated (~800 mb) goStatic consumes large amounts of ram for a while.
Every time a request is initiated shows up as red in the top graph. The bottom graph is container memory usage in a range of 0 - 1 GB.
To reproduce:
run
sudo docker run -d -p 1935:8043 -v /srv/goStatic:/srv/http --name goStatic pierrezemb/gostatic
Place large zip file in
/srv/goStatic
Navigate to
localhost:1935/largeFile.zip
Observe memory usage.