I'm currently implementing a custom API using Flexmonster's pivot table. Flexmonster is calling both the /members and /select functions in series.
Q1. I think each piece of data could be retrieved independently, so why are they being called serially?
Q2. Can these APIs (/members and /select) be modified to be called in parallel?
Q3. The first call to the /select API takes a very long time. Can this latency be improved?
Q4. After the first call to /select, can the remaining calls be called in parallel?
Hello,
Thank you for contacting us.
Please find our answers below:
We are aware of the current architecture limitations. However, it does not allow changing such aspects without a complete redesign. This is why we are working on the new Flexmonster 3.0 version, where we have already achieved significant performance improvements. Although the custom data source API will not be supported out of the box in the initial 3.0 release, we will include it in subsequent releases.
You are welcome to contact us if other questions arise.
Kind regards,
Nadia
Thank you for your reply.
When calling the "/select" API, the amount of data in the database that needs to be retrieved is large and takes a long time, so caching is applied. Therefore, subsequent "/select" APIs after the first "/select" API are running quickly.
So, the only way to improve the performance of a custom API is to modify the API's server logic and queries?
Hello,
Thank you for the response.
Yes, you are correct that, with the current architecture, the only way to improve the performance of a custom data source API is by optimizing the server-side logic and queries.
Please let us know if other questions arise.
Kind regards,
Nadia
Thank you for your reply.
Is there a set schedule for version updates?
Hello,
Thank you for the response.
For version 2.9, we release minor updates with fixes every two weeks. However, we don’t plan to rework the custom data source API architecture in 2.9.
Our team is currently focusing on Flexmonster 3.0, which will introduce the custom data source API in the new architecture. Please note that the custom data source API will not be available immediately with the first Flexmonster 3.0 release. It is planned for the upcoming releases. We regularly update our roadmap with upcoming features and improvements, including more accurate time estimates - check it out here: https://prerelease.flexmonster.com/roadmap.
Feel free to contact us if other questions arise.
Kind regards,
Nadia