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:

  1. is our decision enough? other options?

  2. is nginx choice file server in application?

  3. 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

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -