I am quite astonished if you mean that you need to start a new log file every 5 minutes! WOW!
How many log entries do you expect during this 5 minute window?
What is the average number of entries in 5 minutes?
What is the size of a typical log entry (in bytes)?
What happens to the log file that is 15 minutes old?
How often do you process these log files?
How complex is that analysis of the log file?
You are describing an unusual performance requirement. That is fine, but please add some more details about it.
I am not sure that which of the above will suitable for my requirements.
I don't understand your requirements. The answers to the questions above could lead me to very different recommendations for implementation.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.