1Dot Update v99.6 rafaucau Done I checked the new build and guess what it only uses 6% cpu i5 3rd gen!
rafaucau 1Dot I checked the new build and guess what it only uses 6% cpu i5 3rd gen! It would also be worthwhile to add the possibility to set in the admin panel how often posts should refresh. Then it will be possible to adjust the frequency of refreshing to the capabilities of the server and the traffic.
1Dot rafaucau Yes great I will try it today or tomorrow if I will be able to achieve then I will post an update and also I am trying to auto refresh discussion list on home page.
rafaucau 1Dot You have to accept manually. Resolve conflicts I will add the Flarum bot to the repo then it will be easier because you won't have to upload files from the dist folder
rafaucau rafaucau I will add the Flarum bot to the repo then it will be easier because you won't have to upload files from the dist folder check PR
rob006 1Dot without any heavy server load. This is completely not true. Your extension is extremely inefficient in terms of server load (and bandwidth usage) - literally one person with several opened tabs may kill your low-end server.
rob006 1Dot Low-end server is usually VPS with 1 VCPU. If such server is able to handle 5 RPS, then 10 opened cards will drain all server resources. In the same scenario websocket-based solution has almost no overhead. Advertising your extension as lightweight is just not true. It is simple to install, but that is it - in any real use case it is probably better to use Pusher (even for large forum it should be cheaper than paying for server that is able to handle additional overhead from this extension).
1Dot rob006 OK I did changes and I also I doesn't mean to advertise, If users want to use it they can, This actually depends upon them only..
rafaucau Yes, polling is terribly inefficient. But if we could make refreshing dependent on user activity, e.g. if he left the tab open and does nothing, we would increase time between refreshes, it would be a bit better.