Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upShard document id's by the first character into one-level deep subdirectories #15
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Shard document id's by the first character into one-level deep subdirectories. This feature also bumps the major version to
2.0.0.Requires updating
README.md,CHANGELOG.md, and adding new specific tests for this case as well.Why?
Mitigates filesystem limits on the number of files in a single directory by a factor of 16 since we are sharding by the first character only.
Constraints
jsonlitestill can read databases that don't use sharding without significant performance degradation.set,get,count,delete.