Earlier quoted context omitted.
a plain old website or a publishing house with distribution services and syndication attached, but for a sane price. "a whole lot of tiny files" severely underestimates the scale at work. Libgen's coverage is relatively shallow, and pdf books tend to be huge, at least for older material. Scihub piggy backs on the publishers, so that's your reference. syndication , syndicate , quite apt don't you think? Libraries that…
In Internet scale it's not a lot of data. Most people who think they have big data don't. Estimates I've seen put the total Scihub cache at 85 million articles totaling 77TB. That's a single 2U server with room to spare. The hardest part is indexing and search, but it's a pretty small search space by Internet standards.
At 5 MB per book, this works out to about 200 TB of disk storage.
At about $12/TB, hosting the entire LoC collection would cost roughly $2,400 presently, with prices halving about every three years.