title: Storing hundres of millions data segments
body: <p>A system I'm working on needs to store streams of strings sent by devices 24/7.
  For example, a device with id 'ID', sends a different string every 10 seconds.
  So, I need to store the following data item:</p>
  
  <pre><code>('ID', t, t+10, somestring)
  </code></pre>
  
  <p>We're talking about thousands of devices, meaning, hundreds of millions data sets.</p>
  
  <p>The most important query is:</p>
  
  <pre><code>Query(id, start, end) ==&gt; list of strings
  </code></pre>
  
  <p>How would you recommend storing the data?
  Which database would you recommend?</p>