title: Store strings + description in filesystem
body: <p>I have more than 100million Strings that I want to store on a filesystem. Together with the string (~255Chars utf8) there will be two dates and some integer values that define its properties.</p>
  
  <p>I could put them in a CSV file but it would be huge. I could put several smaller CSV files in subdirectories to make it faster or I could simply create a file for each string and store them in a directory tree.</p>
  
  <p>How do I know which solution is faster and easier to mantain/develop? I don't even know how sparse my strings are; maybe I have 50 millions that starts with the same characters, thus making the tree not so balanced.</p>
  
  <p>Right now I think I might make a directory structure with the first 5 characters and then put csv files in each directory. Eg. the string "I don't know what I'm doing" -> "Idontknowwhatimdoing" goes into </p>
  
  <blockquote>
    <p>/i/d/o/n/t/list.csv</p>
  </blockquote>
  
  <p>Any better idea? I can't use a Db.I'm using java to store and php to read the filesystem, if that makes any difference.</p>