title: Storage for Write Once Read Many
body: <p>I have a list of 1 million digits. Every time the user submit an input, I would need to do a matching of the input with the list.</p>
  
  <p>As such, the list would have the Write Once Read Many (WORM) characteristics?</p>
  
  <p>What would be the best way to implement storage for this data?</p>
  
  <p>I am thinking of several options:</p>
  
  <ol>
  <li>A SQL Database but is it suitable for WORM (UPDATE: using VARCHAR field type instead of INT)</li>
  <li>One file with the list </li>
  <li>A directory structure like /1/2/3/4/5/6/7/8/9/0 (but this one would be taking too much space)</li>
  <li>A bucket system like /12345/67890/</li>
  </ol>
  
  <p>What do you think?</p>
  
  <p>UPDATE: The application would be a web application.</p>