in reply to General question (speed, disk access etc)

> The website is expected to have a quite high traffic.

In that case, I recommend you use a database. Trying to do this from a file is going to give you problems. Try 'nosql' for a tiny but useful implementation.

-- 
Education is not the filling of a pail, but the lighting of a fire.
 -- W. B. Yeats
  • Comment on Re: General question (speed, disk access etc)