ALL


  The Pitfall of WebSocket Disconnections Caused by Browser Power-Saving Mechanisms

PrefaceRecently, while using WebSocket (WS) connections, we encountered frequent disconnection issues, occurring hundreds of times per day for a single user. Although using the auto-reconnect feature of socket.io allowed us to quickly restore connections after disconnections, it did not guarantee that every reconnection would successfully receive WS messages. Therefore, we conducted several investigations and tests.Ultimately, we identified the root cause of the issue: the browser's power-saving mechanism, which inadvertently became the culprit behind the problem.Overview of Browser Power-Savi...

942 0       WEBSOCKET JAVASCRIPT POWER SAVING TROUBLESHOOTING


  New Linux kernel fixes power-saving issues

Greg Kroah-Hartman has released long-term kernel 3.0.20 and stable kernel 3.2.5. Both contain just a single bug fix that allows PCIe power-saving technology ASPM (Active State Power Management) to be used on systems with a BIOS that activates ASPM on some components, but states in the FADT (Fixed ACPI Description Table) consulted by Linux that ASPM is not supported. According to Matthew Garrett, who developed the patch, the change can reduce the power consumption of a Thinkpad X220 by 5 watts. The H's associates at c't magazine in Germany tested systems in their laboratory and experienced...

8,048 0       LINUX KERNEL POWER SAVING FIX