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

  • Home
  • SEARCH
  • 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 6597083
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:09:47+00:00 2026-05-25T18:09:47+00:00

I want to develop an open source library, for a fast efficient file storage

  • 0

I want to develop an open source library, for a fast efficient file storage (under one large file, and index file) like NFileStorage. why i want to do this ?
A. under my line of work something like that waS needed.
B. our DBA said its not efficient to store files under the DB.
C. Its a good practice for me.

I am looking for a good article for file indexes
can you recommend one ?

what is your general idea ?

  • 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-05-25T18:09:47+00:00Added an answer on May 25, 2026 at 6:09 pm

    It may not be efficient to store files inside a database, however databases like SQL Server have the concept of FileStreams where it actually stores it on the local file system instead of placing it in the database file itself.

    In my opinion this is a bad idea for a project.

    You are going to run into exactly the same problem that databases have with storing all of the uploaded files inside the same single file… which is why some of them have moved away from this for binary / large objects and instead support alternative methods.

    Some of the problems you will have to deal with include:

    1. Allocating additional disk space for your backing file to store newly uploaded documents.
    2. Permanently removing “files” from your storage and resizing / compressing the backing file.
    3. Multi-user access / locks.
    4. Failure recovery. Such as when you encounter a bad block on the drive and it hoses your backing file.
    5. Transactional support.

    Items 1 and 2 cause an increase in the amount of time it takes to write a “file” to your data store. Items 3, 4 and 5 are already supported by network file systems so you’re just recreating the wheel.

    In short you’re going to have to either write your own file system or write your own DBMS. Neither of which I would consider “good practice” for 99% of real world applications. It might be worthwhile if your goal is to work for Seagate.. But even then they’d probably look at you funny.

    If you are truly interested in the most efficient method of file storage, it is quite simply to purchase a SAN array and push your files to it while keeping a pointer to the file/location in your database. Easy to back up, fast to store files, much cheaper than spending developer time trying to figure out how to write your own file system and certainly 100% supported and understandable by future devs.

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

Sidebar

Related Questions

Possible Duplicate: Open source iPhone Coverflow like library hello all i want to develop
I want to develop a Business card reader or OCR Library (Open Source) for
I'm looking for a open source .Net HTTP proxy library. Basically I want to
I want to develop one no-blocking tcp server with c++, is there any open
Is there any open source project like cacti using Rails ? I want to
I want to develop a web application, like an online scheduler. (Yes I know
I'm pretty new to Python, and I want to develop my first serious open
I am looking for an open source library in Java for parsing and building
I am working on an iPhone project and want to use an open source
I had recently stabilised developments of a major open source library written in Java.

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.