prastut / bubble-frontend

Bubble Social
https://bubble.social/
0 stars 0 forks source link

Frontend Performance #39

Open prastut opened 6 years ago

prastut commented 6 years ago

@digi0ps we need to figure out how to reduce load on the frontend. Mainly if we have 3 hours or long matches we can't poll the server for the data since the user would only be interested in an overall sense of view. Some things that I am thinking on top of my head:

The hard solution is figuring out layers of loading. For eg on initial zoom, load data for the last 30 minutes:

This requires heavy understanding of web performance as well as D3 Data selections:

digi0ps commented 6 years ago

Yeah, I will look into those.

harwee commented 6 years ago

load data for the last 30 minutes

30 minutes is too High, reduce it to around 5 - 10 minutes

user level at zoom 1 would see the entire line chart.

User level 1 zoom should be preferably, last 5 to 10 mins data