I need an advice. What is the most efficient way to implement real-time control algorithm which needs to perform the following three steps every 5 minutes:
1. Read measurements from data base,
2. Based on measurements calculate control variables,
3. Write calculated control variables to database.
Thank you in advance.
Regards, Anita.