Hi there. I am creating a new PHP framework depending on Zend Framework. It will be a general purpose MVC framework for web development. I am worried about 2 aspects:
Logging:
Should I use logging? Is there any substantial performance problems when using logging?Caching database queries:
I am caching some queries from database. I am concerned about caching user related information. Suppose there are some information related to users. Like their personal info, etc. If I cache such data, for every user a cache file will be generated in my data folder. Now suppose there are 10,000 - 20,000 users online in 2 hours span of time. These means that there will be 20000 files on my folder.
My question is that, will it affect the performance of my server. Is there any upper limit on how many files a folder can have on server.