Hi folks,

I'm looking for some advice on the best practice when using external files to contain data.

I work in a contact centre and have created a web based stats viewer for my team (it's very simple, just allows you to pick a date range and shows you your stats and the team average but also includes links to graphs with the data displayed). While this works great for my team, other Managers want me to create the same (which is going to cover another 20 teams).

My major concern is the size of the data file (the data starts from Jan 2004), so I thought about splitting the files by team but then realised there would be issues of Agents moving to other teams. I then looked at creating a separate file for every Agent but then became concerned about having 250+ files.

The script would be smaller if the data file was singular but as the data expands this could take quite a while to read. In addition, locking the file could delay others from using the script.

If I have individual data files for each Agent then this would speed up usage, but then the script would become more complex.

What would the best practice be in this case?

Cheers!
--
Dale


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to