Open mmaeffert opened 2 days ago
Hi @mmaeffert , thank you for your report. What kind of persistence / backend do you use? InMemory or MongoDb?
I am using MongoDB. FYI: I hosted it locally on my laptop, I suppose hosting it remotely would increase the response time even further.
Thank you for your fast response. We are aware of the pagination issue with MongoDB backend. We are working on this with the PR eclipse-basyx/basyx-java-server-sdk#516 . The pagination response time will be improved after this PR is merged.
This is great news, thank you. However, is there a way to disable the functionality to get every submodel alltogether? Imagine hosting this to a customer, you would not want him to keep using that endpoint
Describe the bug When using the
?limit
query parameter, it does not improve the response time compared to not setting a limit at allTo Reproduce Steps to reproduce the behavior:
Expected behavior I would expect a faster response time nearly equivalent to the
set limit / number of submodels
ratioBaSyx (please complete the following information):
Additional context I suspect that application still querries every submodel and just adds the first five to the response