title: What to choose to store just one integer? Sqlite? or Text file?
body: <p>I've build a small web-service in PHP. I want to control the number of calls to a specific API method.</p>
  
  <p>I thought at first of using a text file, because it's just an integer. But after taking a good look at SQLite it seemed much more convenient.
  So the code is just: get the "counter" from SQLite and increment it when that method is called, then store it back on SQLite db.</p>
  
  <p>Is this a right way of doing it? Would it be simpler and more scalable to just use a file or... maybe something else?</p>
  
  <p>Thanks in advance.</p>