Take-aways from running Blazor in production
Since Blazor was in preview, we have been running Blazor Server in production. In most cases, everything has run without issues. Occasionally, we have encountered a few problems, and I will share our take-aways from this with you in this section.
We will look at the following:
- Solving memory problems
- Solving concurrency problems
- Solving errors
- Old browsers
These are some of the things we ran into, and we have solved them all in a way that works for us.
Solving memory problems
Our latest upgrade added many users and, with that, a bigger load on the server. The server manages memory quite well, but with this release, the backend system was a bit slow, so users would press F5 to reload a page. Then, the circuit would disconnect and a new circuit would be created. The old circuit would wait for the user to connect to the server again for 3 minutes (by default).
The user would then have a...