baseapp icon indicating copy to clipboard operation
baseapp copied to clipboard

Feature: move websockets connection to service worker

Open oyershov opened this issue 4 years ago • 1 comments

Idea When FE receives huge amount of websocket messages per second, we can see performance issues. The cause is that FE handles every message came via websockets (it can be 10,000 per second). The potential solution is to add Service worker and move websockets connection to it. Service worker will handle every message, collect in groups and send to the main app with defined frequency (can be based on user machine performance).

ToDo

  1. Add service worker to the project and build it with webpack ✅
  2. Move websockets connection from redux-saga to Service worker (separate class).
  3. Trigger redux actions on service worker events.

oyershov avatar Mar 23 '21 14:03 oyershov

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 7 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Apr 01 '21 07:04 sonarqubecloud[bot]