XFS rules at handling lots of little files. It also has a ridiculously high "files per directory" limit.
Something like Redis might've been sweet, too, but would require you to hold all that data in ram.
Something like Redis might've been sweet, too, but would require you to hold all that data in ram.