<div dir="auto">You might also consider storing files in AWS S3 or some other object store. Dreamhost has a service for that as well.<br><br><div data-smartmail="gmail_signature"><br>__<br>Corey</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Jun 25, 2017 1:47 PM, "G.S.Vijay Raajaa" <<a href="mailto:gsvijayraajaa@gmail.com">gsvijayraajaa@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">The number of non-block servings will correspond to the max number of workers in that case? Hypothetically if one user uploads multiple files that keeps all the workers busy, I am blocked when rest of the users online trying to upload files. Any thoughts to delegate it asynchronously?</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Regards,<br></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Vijay Raajaa GS </pre></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 25, 2017 at 10:13 PM, G.S.Vijay Raajaa <span dir="ltr"><<a href="mailto:gsvijayraajaa@gmail.com" target="_blank">gsvijayraajaa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px">Hi UB,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks for the idea. I shall probe more into the same. But I have quick clarifications, even with mongo/gridfs and having the connectionI/O delegated to the database driver makes the transaction blocking? Kindly correct me if I am wrong. Is there a async way of handling the upload to mongo and keep flask serve other incoming request?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">On the same note, w.r.t mongodb-gridFS, how do you think the write performance is when compared to storing them directly on the filesystem, same w.r.t to read for serving?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I like to idea of scalability when you have file store within DB.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Regards,</div><div style="font-size:12.8px">Vijay Raajaa GS </div></div><div class="m_8147375445237456034HOEnZb"><div class="m_8147375445237456034h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 25, 2017 at 8:08 PM, G.S.Vijay Raajaa <span dir="ltr"><<a href="mailto:gsvijayraajaa@gmail.com" target="_blank">gsvijayraajaa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>I am trying to build a REST based file sharing server on top of flask. I am looking for a scalable stack.<br></div><div><br></div><div>The requirement goes as follows;</div><div><br></div><div>1) Cater multiple file uploads.</div><div>2) Files can be of the order of 30-100GB. The server hosting the python webserver should not read the file to memory and spill to disk.</div><div>3) Non blocking - when user uploads multiple files.</div><div>4) Non blocking - when multiple user try to upload files.</div><div><br></div><div>Pointers to any existing open source project is also much appreciated.</div><div><br></div><div>Idea inspired from <a href="https://filebin.net/" target="_blank">https://filebin.net/</a></div><div><br></div><div>Seeing if celery + Flask can come handy. Kindly suggest the WSGI to use it for production too.</div><div><br></div><div>Looking forward to your valuable suggestions.</div><div><br></div><div>Regards,</div><div>Vijay Raajaa GS </div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
Flask mailing list<br>
<a href="mailto:Flask@python.org">Flask@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/flask" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/flask</a><br>
<br></blockquote></div></div>