logoalt Hacker News

thih9today at 4:59 AM1 replyview on HN

> A problem repeatedly occurred on https://cauenapier.com/

People are flooding the channel with messages, causing the widget to use too many resources on ios; and the website is being endlessly reloaded.

Any idea how to fix this? Bonus points for user friendly non technical solutions, ie is there a way to design an online social space where people want to collaborate and their first thought isn’t trolling?


Replies

purple-leafytoday at 5:17 AM

I’m not on pc so can’t inspect it, but make it a sandboxes iframe so it can’t interact with the parent site.

Is there a way to throttle iframe cpu usage ?

You could probably queue messages, cull old messages, cap concurrent connections. That may be the issue is too many peers