Configurating Django, Heroku, and a static file server -
we used use following combination: django framework heroku application server , amazon s3 static file server.
but need build system handles large amount of video data, data transfer more 10 tb per month. means amazon s3 no longer option because it's expensive.
we opt set our own static file server, it's gonna django, heroku, , on-premiss file server. need suggestions:
is our decision enough? other options?
is nginx choice file server in application?
are there documentations uploading large files django+heroku application nginx server?
thanks.
1) yes, decision best possible 1
2) nginx best solution. cloudflare serves traffic nginx more major web apps altogether. netflix serves 33% media traffic nginx
3) s3 origin not expensive traffic costs lot. should https://coderwall.com/p/rlguog/nginx-as-proxy-for-amazon-s3-public-private-files
large files upload should bypass kind of backend saved on disk asynchronous followed upload destination s separate process. big files upload have careful of authentication, authentication happens after file uploaded can dangerous. solve try https://coderwall.com/p/swgfvw/nginx-direct-file-upload-without-passing-them-through-backend
Comments
Post a Comment