The basic problem is that my website is going to display calculated data. The data is dynamic and is gathered by a independent background process on the server side. This data will be used while dynamically generating a page with the most current information. There will be standard calculation that will be performed each time the page is loaded, but I also intend to have a form where the user can adjust 4 different variables that effect the calculation on the data. One of the variables will be the time range, which will effect the amount of data analysed during the calculation. The calculation is a two step process. First determine which record applies within the Time Frame and then use that record in comparison to the most current record to perform a simple formula.
The formula is the easy part, but what I'm interested in is making the web-page efficient and scalable.