I'd like to implement a map with large amounts of data e.g. https://openlayers.org/en/latest/examples/geojson.html or http://leafletjs.com/examples/quick-start/
While zoomed out at 100%, the map would need to display around 50000 markers or circles in total which will get dynamically updated (every 1-5 minutes). Depending on user set up, circles/markers may have different colours etc.
While zoomed in, the requirement is to display around 1000 small images (in places where the circles/markers used to be).
How do I handle such a massive amount of dynamic data within maps? For example, if I use little circles within Leaflet, I can see it handling over 1000 of them without bigger issues while zooming in and out, but the browser starts to struggle with over ~5000 which is probably expected since the browser needs to process lots of data points. I expect OpenLayers to have same issues as well.
Any thoughts?