Thankfully, speed seems to be a strong point for PI. Below is a hand-picked compilation of speed-related suggestions from OSIsoft's feedback website. If you value your time as much as PI relies on time, please consider voting for some of these!
There may be overlap with other suggestion compilations. For example, the addition of support for TLS 1.3 or HSTS improves both speed and security, and so these suggestions appear in both suggestion compilations.
Root words of search terms that I used include: slow, fast, quick, speed, optimize, perform, minify, HTTP/2, TLS 1.3, HSTS.
Explanation of terms
Below are oversimplified explanations of some of the technical terms used above.
|Term||Explanation & relation to speed|
|Minify||Code is reduced to the bare minimum of what it needs to function the same. Comments and whitespace are removed and the names of variables and functions are shortened. This reduces the amount of code that needs to be sent to a web browser, and less code means less time to send it all.|
|HTTP/2||Less back-and-forth communication between the server and the client to load the web page|
|TLS 1.3||Less back-and-forth communication between the server and the client to initialize an HTTPS connection|
|HSTS||If a browser connects to a website that uses HSTS, the website will instruct the browser to use only HTTPS (and not HTTP) with that website in the future. It is faster for the browser to never attempt HTTP than for the server to redirect HTTP to HTTPS.|
|HSTS preloading||New releases of browsers come preloaded with a list of websites that request HSTS, which avoids the need to visit the website first. This saves a small bit of time if the 1st connection to the website would have been over HTTP.|
Also, if you've been banging your head while using PI OLEDB Enterprise, I would highly recommend installing PI SQL DAS (RTQP Engine) on the PI Asset Framework server and using PI SQL Client instead of PI OLEDB Enterprise. PI SQL Client returns results much faster than I ever would have imagined was possible, even for large time ranges and multiple tags.