Custom server-side computations

Answered
Yukiko asked on January 23, 2023

We are considering to purchase Flexmonster pivot library. 
The documentation states that the sider-side computation is possible. 
We already have our pivot computation implementation on our Backend written in python. Would it be possible to integrate the library with our existing server and the Backend implementation?
If so, what would be the data format that the Frontend needs to receive to plot that pivot table?
 

2 answers

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster January 24, 2023

Hello, Yukiko!
 
Thank you for reaching out to us.
 
We kindly suggest two possible ways to connect Flexmonster to the existing Python server:
 
1. JSON/CSV
The easiest way to connect your data to Flexmonster is to provide the link to the script, which generates the data in JSON or CSV format. This way, all aggregations are performed directly on the client side, and no additional calculations on the server side are required.
We recommend this approach for JSON/CSV files with sizes less than 100Mb to achieve the best performance.
 
You can find more details about this approach in our docs: https://www.flexmonster.com/doc/json-data-source/.
 
2. Custom data source API
The Custom data source API approach allows communication between Flexmonster and your server implementation using a provided communication protocol. This way, all data processing and aggregating are handled on the server side.
 
Here you can find a step-to-step guide on how to configure your server so it can exchange data with Flexmonster: https://www.flexmonster.com/doc/implement-custom-data-source-api/.
 
We also have two sample servers implementing custom data source API for reference: the Node.js server and the .NET Core server.
 
Hope you will find our answer helpful.
Feel free to contact us if any further questions arise.
 
Regards,
Solomiia

Public
Solomiia Andrusiv Solomiia Andrusiv Flexmonster 14 hours ago

Hello, Yukiko!

Hope you are having a great week.

Our team is wondering if you had some time to look through our previous message. Could you please let us know if it was helpful?

Looking forward to hearing from you.

Regards,
Solomiia

Please login or Register to Submit Answer