Client side computations

Answered
Yukiko asked on January 24, 2023

We are considering to purchase the library and we would like a bit more insight into how the client side computation is implemented. We are also considering server-side computation option and this will give us some ideas about when to use either of them.

  1. After the data is loaded, how are they stored? Are they stored in cubes for better Client side computations? 
  2. Aside from the data size, are there any type of dataset which might perform worse on the client side?

Thank yoU!

1 answer

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster 7 days ago

Hello, Yukiko!
 
Thank you for your questions.
 
Kindly note that we provide two data sources, JSON and CSV, which store the data in the browser's memory. We recommend these data source types when the file size is less than 100Mb to achieve the best performance.
Keeping this in mind, please find answers to your questions below:
 
1. After the data is loaded, how are they stored? Are they stored in cubes for better Client side computations?
For the two mentioned data sources, we process and aggregate the data on the client side and store it in the in-memory cube for better data performance while configuring the fields at runtime.
 
2. Are there any type of dataset that might perform worse on the client side?
There is no difference in performance for CSV and JSON data sources, which store data in the browser's memory. 
For the custom data source API approach, where Flexmonster requests only needed parts of data from the server, the performance depends on how fast the server can provide the client with the response.
 
Hope you will find our answers helpful.
Feel free to contact us in case of any other questions.
 
Kind regards,
Solomiia

Please login or Register to Submit Answer