Re-Engineering Legacy Software by Chris Birchall

Re-Engineering Legacy Software by Chris Birchall

Author:Chris Birchall
Language: eng
Format: epub, pdf
Publisher: Manning Publications


5.2.1. Case study—a log management application

This section will take the form of a case study. I’ll walk you through a modularization of a large Java application that I performed a few years ago.

The application in question was an integrated log management solution targeted at medium to large enterprises. It had several main features:

Log collection —You could get log data into the system in various ways, such as by uploading log files via FTP or sending them using the syslog protocol.

Storage —Logs were written to a custom-built database, optimized for storing and searching logs.

Real-time alerting —Users could register alert conditions, so that, for example, they’d be notified by email if a large number of logs containing the word “error” occurred within one minute.

Search —Once logs were written to the DB, you could search for logs of interest using conditions such as keyword, timestamp, and so on.

Statistics —Users could generate tables and graphs to display statistics about their logs, such as a graph showing how many emails their mail server had processed in each hour of the previous day.

Reports —Search results, alert results, and statistics could be combined into a single report in a format such as HTML or PDF. Reports could be scheduled to run regularly and be sent via email.

User interface —There was a web application to allow users to use and configure the application from their browser.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.