News for hackers. Stuff that matters.
Re:No Space Left on Device by danieldk on Tuesday September 06, 2016 @03:08AM (#12434126)
Your filesystem's block size is probably 4KiB. So, it's one inode per for blocks.

That's crazy.

Why? Do you expect to store many files less than 16KiB?

Re:No Space Left on Device by bArray on Tuesday September 06, 2016 @03:17AM (#12434166)
Each user has some small arbitrary information associated with them, with potentially tens of millions of users (and no doubt more in the future). There's not really a structure due to the nature of the project, each user needs personalised information and structure associated to them.

I don't think that amount of information is really suitable for a database? It may be larger in some cases too, so there's not guarantees I can even make about size.

Re:No Space Left on Device by Xylakant on Tuesday September 06, 2016 @11:51AM (#12436872)
Document stores shine in that case. Depending on the exact case something like postgres's HSTORE, couchdb, couchbase, mongodb or similar would work. They're all capable of storing arbitrary json docs under a given key and efficiently retrieve it. Partial indexing is possible as well.
Re:No Space Left on Device by danieldk on Tuesday September 06, 2016 @03:19AM (#12434178)
Ah, sorry, I missed that you were still referring to the 'filesystem as a database'-project :).