ServiceNow JSON2 vs JSON performance quick test
So I managed to steal a couple of minutes from working and parenting, and to run a quick load test for getRecords action which I thought would benefit the most of the streaming.
Unfortunately I could not get my hands on an instance with both interfaces, but I managed to get my hands on to two instances which were pretty close to OOB state.
Methodogy
Not scientific at all. I ran SOAPUI load test cases against the JSON and JSONv2 interfaces so that both instances had "glide.processor.json.row_limit" System Property set to "40", meaning that both instances returned maximum 40 records per call.
Before taking the results I ran the test cases three rounds to make sure both instances had ample time to start caching the requested data.
Results
On first round I used Test Delay of 1000ms and v2 appears to handle (294-237)/237 ~ 24% more calls (the cnt column).
On second round I used Test Delay of 0ms and v2 appears to handle (740-498)/498 ~ 48% more calls (the cnt column)
Conclusions
It seems that there's some truth to the claim that the interface really is measurably faster. However with the known deficiencies of this test setup the numbers should not be considered to be even close to truth =)
If I can get my hand on an instance with both interfaces, I will update with new results.
No comments:
Post a Comment