Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9300973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T22:54:32+00:00 2026-06-18T22:54:32+00:00

I am interesting in making an app where users can upload large files (~2MB)

  • 0

I am interesting in making an app where users can upload large files (~2MB) that are converted into html documents. This application will not have a database. Instead, these html files are stored in a particular writable directory outside of the document source tree. Thus this directory will grow larger and larger as more files are added to it. Users should be able to view these html files by visiting the appropriate url. All security concerns aside, what do I need to be worried about if this directory continues to grow? Will accessing the files inside take longer when there are more of them? Will it potentially crash because of this? Should I create a new directory every 100 files or so to prevent this?

It it is important, I want to make this app using pyramid and python

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T22:54:33+00:00Added an answer on June 18, 2026 at 10:54 pm

    You might want to partition the directories by user, app or similar so that it’s easy to manage anyway – like if a user stops using the service you could just delete their directory. Also I presume you’ll be zipping them up. If you keep it well decoupled then you’ll be able to change your mind later.

    I’d be interested to see how using something like SQLite would work for you, as you could have a sqlite db per partitioned directory.

    I presume HTML files are larger than the file they uploaded, so why store the big HTML file.

    Things like Mongodb etc are out of the question? as is your app scales with multiple servers you’ve the issue of accessing other files on a different server, unless you pick the right server in the first place using some technique. Then it’s possible you’ve got servers sitting idle as no one wants there documents.

    Why the limitation on just storing files in a directory, is it a POC?

    EDIT

    I find value in reading things like http://blog.fogcreek.com/the-trello-tech-stack/ and I’d advise you find a site already doing what you do and read about their tech. stack.

    As someone already commented why not use Amazon S3 or similar.

    Ask yourself realistically how many users do you imagine and really do you want to spend a lot of energy worrying about being the next facebook and trying to do the ultimate tech stack for the backend when you could get your stuff out there being used.

    Years ago I worked on a system that stored insurance certificates on the filesystem, we use to run out of inodes.!

    Dare I say it’s a case of suck it and see what works for you and your app.

    EDIT

    HAProxy I believe are meant to handle all that load balancing concerns.

    As I imagine as a user I wants to http://docs.yourdomain.com/myname/document.doc
    although I presume there are security concerns of it being so obvious a name.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having an issue making an app that plays music in rails. I can't
I'm not sure this is possible, but I'm interesting in making this happen. Ideally,
In this question Jon Skeet offered a very interesting solution to making a LINQ-to-XML
I'm making my first steps toward learning JSF. I found this interesting book called
Making a migration from 2.8.1 to 2.9.1 found interesting thing. Tried to write this
I am making (another) MineCraft clone, and I've run into an interesting problem. I
I have a quite interesting problem that's making my head twist. I'm working on
I'm working on making a ASP.NET (C#) app that is basically a gateway for
I'm having problems making Capybara work with Rails. Just testing that suposedly interesting test
I'm making a webapp where they'll be multiple users interacting with each other and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.