Our idea seems to be:
- Adcquire data from PLC and log it in database.
- It's important to batch events before log becouse of possibles burst of event changes on field
- Our implementation will be based on Java, so we need some data binding to
recover events object from database (Castor, Hibernate...)
- We are going to develop a playback gui tool in which the user can to navigate throught the event of a selected day.
- The information from database must be sent to gui tool, by sockets, RMI, JMS...
- These processes ( log and playback ) could be concurrent and more than a gui client could be connected to "Log Server"
- The client GUI interface must be responsive. We don't want to be stuck waiting and waiting from data...
Our problem consists on how we can model the database to store these events , and how can be it's done for high log and query performance....
You must remember that the database must be store years of log, and we don't want performance go down while time go on