Slow API commit for workitem updates after 9.0.3
"api/V3/Projection/Commit"
Comitting a new projection is still quick using
{ "formJson":{"current": newProjection } }
When using it for an update (adding an activity, an action log, etc.) to an existing workitem, it takes 20 seconds minimum.
{ "formJson" : { "current" : { projection object with changes }, "original" : { original projection object } } }
Does anyone experience the same kind of result using 9.0.3?
Answers
What are you committing that is performing worse? A ticket? Then the question is whether it might be a DB issue (such as updating the ECL/RECL tables) or something with that endpoint itself that has changed.
If I create a new workitem projection, make some changes and add activities, then commit take less than 2 seconds. Nothing else on my portal seems affected.
I will take a look at my DB but it seems to me that it is related to that endpoint. Have you tried it on 9.0.3 and got different result that me?
I agree that clearly the issue is when you are using this endpoint, but my point is that it is possible that the issue is not in the endpoint itself but rather something that it is touching in the normal course of saving. I mention it just so that the possibility isn't missed.