Coder Social home page Coder Social logo

mediaserver-module's Issues

Suggest more scalable directory structure

"The directories range from '0' to 'F' (hexadecimal) with a depth of 3 layers, which results in 4096 directories ( 16^3 ). To illustrate, 10 000 000 (ten million) mediafiles would be, with an even spread, would be divided into 2441 mediafiles per directory."

Suggest each directory going from 00-ff (256), as modern Linux file systems can handle this number of directories no problem. And suggest depth of 5, as the example of 10m media files is not a large amount for many sites.
The example for ab30899c-58a0-4305-85a6-bbfa14f89b92 would now be:
ab/30/89/9c/58/a0430585a6bbfa14f89b92

Also, do not store the dashes in the UUID: they are only inserted to make it easier for humans to read. Also suggest not using them in URLs, etc.

OK, multiple issues, my bad.

SQLite3 support

How difficult would it to modify to allow SQLite3 backend instead of MySql? Advantage is that a site would not need to have a MySql server instance running.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.