u/AfterPartyVibes

Real-time data lag on mobile after updating to a compact UI (Baccarat Game) - Need optimization advice

Hi everyone,

We recently redesigned our Baccarat game screen to make it much more compact and lightweight for mobile users. However, we are now running into an intermittent lag issue where real-time results are delayed when mapping onto the mobile screen.

The Problem

By reducing the viewport size, we accidentally created a rendering bottleneck. The frontend rendering cycle and the backend asynchronous data fetch are colliding due to bad timing.

Normally, we would fix this by putting a "buffer store" between the incoming data receiver and the view layer to keep all components synced up. We are currently looking into implementing a lumix solution architecture to better manage this routing control and state buffering.

My Question

For those who have optimized similar real-time systems: How do you usually handle routing control to prevent data-fetching cycle conflicts after a major UI lightweight overhaul?

Any advice, libraries, or best practices would be greatly appreciated!

reddit.com
u/AfterPartyVibes — 2 days ago