This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- FlexNet Embedded
- :
- FlexNet Embedded Forum
- :
- Re: Slow processing about add/deleting users
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 01, 2020
06:43 AM
Slow processing about add/deleting users
Hi, we are using Flexnet Embedded to manage the software license. And usually we will use REST API to operate the user add/delete.
Now the user qty has become to about 1800. And we observed that it's getting very slow about adding/deleting users, comparing to user qty lower than 1000. it will take usually 6~8 mins to finish a single operation.
Could you please tell how to fix this? Thanks.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 02, 2020
11:01 AM
Hi, here are some more details.
The main called interface flow are follow:
// Called REST API.
1. Query gid: http://XXXXXX.com:xxxx/api/1.0/reservationgroups;
2. Query rid by gid and hardWardid: http://XXXXXX.com:xxxx/api/1.0/reservationgroups/gid/reservations/?hostId=" + hardWareId;
3. Delete the License by gid and rid(use DELETE method): http://XXXXXX.com:xxxx/api/1.0/reservationgroups/gid/reservations/rid;
4. Add License by gid and hardWardId(use POST method): http://XXXXXX.com:xxxx/api/1.0/reservationgroups/gid/;
String reqBody = "{ \"hostId\":
{ \"value\": \"" + hardWareId + "\", \"type\": \"STRING\" }
, \"reservationEntries\": " + features + " }";}
Now current we encounter two problems:
- The LLS will return uncertain results(eg: Service is busy processing reservations, glsErr.dbFailure), the detail error log can get from attachment: debug.log;
- Call the delete and add REST API is slow, it need maybe takes 5-8 minutes get the result.