We have deployed our website on production & there is traffic also we are experiencing.
Some of the users are sharing black screen issues when they open the website. Sharing the screenshot of the same. Please let me know how can this be handled.
I canāt tell if thatās related, but there is an issue in the latest Safari browser. But it is possible to fix it in meteor as well. Check this issue.
Make sure that your CDN has the latest version of your app and maybe purging the caches there once in a while is a good idea. Another thing that comes to mind is if you are using web worker, beyond that I would need some sort of a reproduction. I have gotten rarely this error in development where refreshing would fix it.
terminate called after throwing an instance of āstd::bad_allocā
Jun 22 05:30:12 ip-10-6-1-194.ap-south-1.compute.internal 39fe5d5b2491[2749]: what(): std::bad_alloc
have changed the docker file this this CMD node --expose-gc --max-old-space-size=3072 main.js
This is before I put back dynamic imports into static (back into the JS bundle). As I get my main bundle from CDN (AWS Cloudfront), ~800k get to me from Frankfurt (or wherever because of the Cloudfront diversity) to Dubai in 145ms. You can see the speed per various sizes I get from my EBS (with elastic app network balancer) with EC-2 for the split code. This project has no users at the moment, itās a WIP. In your case, with many users you challenge the infrastructure in multiple points (server memory, server bandwidth, NGINX (or balancer) bandwidth, network interface(s) bandwidth.
Iād delete my local IndexdDB in the browser and have look at the performance in delivery of all those fetches.