AtB-AS / webshop

AtB Webshop / AtB Nettbutikk
https://nettbutikk.atb.no
European Union Public License 1.2
0 stars 1 forks source link

[Bug] Performance improvements #494

Closed mikaelbr closed 2 years ago

mikaelbr commented 2 years ago

The perfect storm of Firebase Store + Elms missing language semantics of monads/signals + architecture causes the webshop to have some performance issues as of now. There are a couple of reasons for this, which I try to cover here. There are some improvements we can do short term but should look into how to scale this better as the webshop grows to have more non-trivial requirements.

This is not a complete list, nor is it well defined/described. Just brain-dumping my initial thoughts before they escape forever.

Initial issues identified

Example output

Simple performance audit when not interaction. Show problem with CPU usage on idle.

Screenshot 2022-03-07 at 08 46 33