I'm currently working on a service that checks our customers overall status on F-secure and checks if they need attention.
Service gets all our customers computers from psb api and parses them through checking various properties under different categories.
The problem im facing that it takes increeeeeeedibly long to fetch those 4500-5000 computers from your API before I can start the parsing.
Is it normal that the API handles 23-25 requests in 260-300seconds? I feel like thats absurd.
And this is just for one category of computers.
Then I would need to make same 23-25 request for every category I need to check.
I could maybe make that faster with some parallel/async work making those requests in batches, but your API doesnt give the maximum amount of pages some endpoint has.
For example, would be nice if the pagination element would have property "lastPage: 25"
With that I could create batches for example 5 requests simultaneously to the API and wouldn't have to wait for the previous request to return to get the "hasMoreElements" property.
Thanks Milka for the response!
Thanks for creating a ticket for the long response times.
Yeah, I've set the perPage to "max" which should be 200 if the manuals are correct :)
That statistics page sounds like an awesome plan, I'll try to look into that and create some async batch action to get this going faster!
Cheers again Milka and I'm looking forward to that report which would then list all the computers to a JSON!
Have a nice rest of the week!
This topic has been closed due to inactivity. If you would like to discuss this topic further, please start a new post.
You can reference this topic in your post by adding this link:
Visit the Community
Check our Forums or How-to & FAQs for advice or answers
View User Guides
Refer to our getting started guides and product manuals
Talk to our Support agents and get answers to your questions