We all know the need for speed whether on the road or the laptop. No one likes a slow dashboard and our Enecsys Dashboard was pretty slow. So I moved the proverbial drawing board out of the a way and decided to move speed to the top of the list.
Where to start....
Then I remembered the Top Gear episode with Richard Hammond and the new Mazda MX-5.
The MX-5 is a small sports car. You can't put a bigger engine in it, so you have to make it lighter. But being so small, what can you take out? Take out too much and you are left with, well...
With the Mazda, they just took a little bit off of everything. The window glass which doesn't stick out of the door, was redesigned with holes in it to reduce the weight.
So, I set out shaving 500ms here and 20ms there, and little by little I got somewhere. We are now loading our alternative dashboard in under half of a second.....if you are near the UK.
You see, getting a web page from London to Mexico or Adelaide is a bit like going from London to Paris... in a Tesla.
It's fast and it's green like our own Enecsys Dashboard alternative, but you can't get there on a single charge. Tesla solved this by putting in charging stations and then having the Sat Nav direct you to your destination via their charging stations - so it takes a bit longer.
So we did the same (sort of) . We have signed up with Cloudflare for a CDN (Content Distributed Network). This should (he says confidently) use mutiple servers around the world to bring the our Enecsys Monitoring to you.
If all goes according to plan, our data logging servers will be able to serve up your Enecsys Dashboard Energy Report anywhere in the world, faster than you can say ...