V
V
Vasily2015-11-04 21:36:35
linux
Vasily, 2015-11-04 21:36:35

What is the best way to organize an e-library?

In what file system and in what form is it better to store books? >500,000 and much more in the future. I plan to write a frontend in python for myself. The formats are completely different, from pdf and djvu to fb2, i.e. naturally there will be a database with a description, etc.
In general, what do you recommend?

Answer the question

In order to leave comments, you need to log in

8 answer(s)
N
nirvimel, 2015-11-04
@nirvimel

>500000

You can use ext4 or just about any modern file system.
Major warning: Don't even try to put it all in one directory! The consequences can be dire. Up to the point that you won't even be able to remove something from the mega-directory without full formatting the file system. I can’t find links right away, but there were precedents for sad stories.
It is better to break the collection into 1000 directories of 1000 files.

S
Saboteur, 2015-11-05
@saboteur_kiev

All existing online libraries store archives of xx books, and a database that contains the name of the archive and the name of the file.
So it turns out and more convenient and faster and fewer files, and less dependence on the file system.

J
John Smith, 2015-11-04
@ClearAirTurbulence

Caliber. It's a chore, like any cataloger, but once you set it up, you get used to it - and there are no problems. Plus convert anything to anything.

A
abcd0x00, 2015-11-05
@abcd0x00

The formats are completely different, from pdf and djvu to fb2, i.e. naturally there will be a database with a description, etc.

The formats don't matter as the format name of each book will be stored in the database.
There you kind of get two tables: one describes the book, the other - the address and storage method. And these two tables are linked into one database by a common field.

L
lexxand, 2015-11-04
@lexxand

Vasily, do you want your decision? Why don't you look at the existing ones, for example MyHomeLib?

A
ASPI, 2015-11-12
@ASPI

sopds.ru

M
marataziat, 2018-02-28
@marataziat

For this, there are ready-made systems for storing data.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question