Sudwest-Fryslan / OpenZaakBrug

Een vertaler om de bestaande applicaties, die het oude zds-standaard praten, toch met een zgw-zaaksysteem te laten werken.
European Union Public License 1.2
5 stars 7 forks source link

Soapaction http://www.egem.nl/StUF/sector/zkn/0310/zakLv01 on /translate/generic/stufzkn/BeantwoordVraag takes along time to respond #323

Open EduardWitteveen opened 2 years ago

EduardWitteveen commented 2 years ago

image

GET to: https://openzaak/zgw/zaken/api/v1/rollen?betrokkeneIdentificatie__natuurlijkPersoon__inpBsn=***** took 906 milliseconds GET to: https://openzaak/zgw/zaken/api/v1/zaken/a5a45a64-d224-427c-938d-f7d399e2188d took 114 milliseconds GET to: https://openzaak/zgw/zaken/api/v1/zaken?identificatie=1900397054 took 107 milliseconds GET to: https://openzaak/zgw/catalogi/api/v1/zaaktypen/1047b90d-3793-41c4-afdc-0ae9741ff55a took 68 milliseconds GET to: https://openzaak/zgw/zaken/api/v1/rollen?zaak=https://openzaak/zgw/zaken/api/v1/zaken/a5a45a64-d224-427c-938d-f7d399e2188d took 292 milliseconds GET to: https://openzaak/zgw/catalogi/api/v1/roltypen/2553c079-bc67-4a48-9828-50d8d7d70394 took 28 milliseconds GET to: https://openzaak/zgw/catalogi/api/v1/roltypen/2553c079-bc67-4a48-9828-50d8d7d70394 took 28 milliseconds GET to: https://openzaak/zgw/zaken/api/v1/rollen?roltype=https://openzaak/zgw/catalogi/api/v1/roltypen/84ddf9c5-18b8-409c-97da-89f0a383ad25&zaak=https://openzaak/zgw/zaken/api/v1/zaken/a5a45a64-d224-427c-938d-f7d399e2188d took 121 milliseconds GET to: https://openzaak/zgw/zaken/api/v1/statussen?zaak=https://openzaak/zgw/zaken/api/v1/zaken/a5a45a64-d224-427c-938d-f7d399e2188d took 54 milliseconds GET to: https://openzaak/zgw/catalogi/api/v1/statustypen/0015a231-dd00-4797-8bfe-bfb74e476564 took 39 milliseconds GET to: https://openzaak/zgw/catalogi/api/v1/statustypen/2200ba69-2de1-47dc-97c5-acd09a5982e9 took 36 milliseconds GET to: https://openzaak/zgw/catalogi/api/v1/roltypen/b8ac50f7-8f99-436d-a5c8-c2d1df3567e2 took 38 milliseconds GET to: https://openzaak/zgw/zaken/api/v1/zaken/300429d4-c62f-49fa-8a72-9c3c83337fb8 took 123 milliseconds GET to: https://openzaak/zgw/zaken/api/v1/zaken?identificatie=190039636 took 56 milliseconds GET to: https://openzaak/zgw/catalogi/api/v1/zaaktypen/ced38737-6bb0-4db9-88d1-b2f3722cf5b6 took 61 milliseconds GET to: https://openzaak/zgw/zaken/api/v1/rollen?zaak=https://openzaak/zgw/zaken/api/v1/zaken/300429d4-c62f-49fa-8a72-9c3c83337fb8 took 141 milliseconds GET to: https://openzaak/zgw/catalogi/api/v1/roltypen/9e003307-ee11-498a-b346-b27cb1f1ba23 took 20 milliseconds GET to: https://openzaak/zgw/catalogi/api/v1/roltypen/b8ac50f7-8f99-436d-a5c8-c2d1df3567e2 took 25 milliseconds GET to: https://openzaak/zgw/catalogi/api/v1/roltypen/d5cae56a-e827-4760-ae0a-7bf063b8c2af took 20 milliseconds GET to: https://openzaak/zgw/zaken/api/v1/rollen?roltype=https://openzaak/zgw/catalogi/api/v1/roltypen/d5cae56a-e827-4760-ae0a-7bf063b8c2af&zaak=https://openzaak/zgw/zaken/api/v1/zaken/300429d4-c62f-49fa-8a72-9c3c83337fb8 took 66 milliseconds GET to: https://openzaak/zgw/catalogi/api/v1/roltypen/9e003307-ee11-498a-b346-b27cb1f1ba23 took 25 milliseconds GET to: https://openzaak/zgw/catalogi/api/v1/roltypen/b8ac50f7-8f99-436d-a5c8-c2d1df3567e2 took 31 milliseconds GET to: https://openzaak/zgw/zaken/api/v1/rollen?roltype=https://openzaak/zgw/catalogi/api/v1/roltypen/b8ac50f7-8f99-436d-a5c8-c2d1df3567e2&zaak=https://openzaak/zgw/zaken/api/v1/zaken/300429d4-c62f-49fa-8a72-9c3c83337fb8 took 87 milliseconds GET to: https://openzaak/zgw/zaken/api/v1/statussen?zaak=https://openzaak/zgw/zaken/api/v1/zaken/300429d4-c62f-49fa-8a72-9c3c83337fb8 took 41 milliseconds GET to: https://openzaak/zgw/catalogi/api/v1/statustypen/53a2acda-9a8a-4d67-8c2c-99ef125a5814 took 25 milliseconds GET to: https://openzaak/zgw/catalogi/api/v1/roltypen/b8ac50f7-8f99-436d-a5c8-c2d1df3567e2 took 28 milliseconds GET to: https://openzaak/zgw/zaken/api/v1/zaken/ba9bd4b5-501f-451a-9d06-b43efdceab06 took 133 milliseconds GET to: https://openzaak/zgw/zaken/api/v1/zaken?identificatie=190028177 took 74 milliseconds GET to: https://openzaak/zgw/catalogi/api/v1/zaaktypen/ced38737-6bb0-4db9-88d1-b2f3722cf5b6 took 47 milliseconds GET to: https://openzaak/zgw/zaken/api/v1/rollen?zaak=https://openzaak/zgw/zaken/api/v1/zaken/ba9bd4b5-501f-451a-9d06-b43efdceab06 took 168 milliseconds GET to: https://openzaak/zgw/catalogi/api/v1/roltypen/9e003307-ee11-498a-b346-b27cb1f1ba23 took 23 milliseconds GET to: https://openzaak/zgw/catalogi/api/v1/roltypen/b8ac50f7-8f99-436d-a5c8-c2d1df3567e2 took 22 milliseconds GET to: https://openzaak/zgw/catalogi/api/v1/roltypen/d5cae56a-e827-4760-ae0a-7bf063b8c2af took 24 milliseconds GET to: https://openzaak/zgw/zaken/api/v1/rollen?roltype=https://openzaak/zgw/catalogi/api/v1/roltypen/d5cae56a-e827-4760-ae0a-7bf063b8c2af&zaak=https://openzaak/zgw/zaken/api/v1/zaken/ba9bd4b5-501f-451a-9d06-b43efdceab06 took 99 milliseconds GET to: https://openzaak/zgw/catalogi/api/v1/roltypen/9e003307-ee11-498a-b346-b27cb1f1ba23 took 23 milliseconds GET to: https://openzaak/zgw/catalogi/api/v1/roltypen/b8ac50f7-8f99-436d-a5c8-c2d1df3567e2 took 17 milliseconds GET to: https://openzaak/zgw/zaken/api/v1/rollen?roltype=https://openzaak/zgw/catalogi/api/v1/roltypen/b8ac50f7-8f99-436d-a5c8-c2d1df3567e2&zaak=https://openzaak/zgw/zaken/api/v1/zaken/ba9bd4b5-501f-451a-9d06-b43efdceab06 took 89 milliseconds GET to: https://openzaak/zgw/zaken/api/v1/statussen?zaak=https://openzaak/zgw/zaken/api/v1/zaken/ba9bd4b5-501f-451a-9d06-b43efdceab06 took 45 milliseconds GET to: https://openzaak/zgw/catalogi/api/v1/statustypen/53a2acda-9a8a-4d67-8c2c-99ef125a5814 took 20 milliseconds GET to: https://openzaak/zgw/catalogi/api/v1/statustypen/53a2acda-9a8a-4d67-8c2c-99ef125a5814 took 24 milliseconds .......

image

image

image

EduardWitteveen commented 2 years ago

Duration in total: 29092 ms

1183608-Translate zakLv01.txt

EduardWitteveen commented 2 years ago

Totale tijd aan het wachten op calls: 20411 ms Wachttijd wanneer elke url maar 1 keer zou worden aangeroepen: 11618 Wachttijd wanneer alles uit de ZTC uit de cache zou komen: 10769

Binnen de zaken registratie (op volgorde van wat de tijd kost):

Hier zou je kunnen concluderen dat wanneer er rollen bevraagd worden zonder roltype, dit 57 calls scheelt: dat is 6065ms

EduardWitteveen commented 2 years ago

Voorlopige conclusie:

Dan zou de wachttijd in de calls teruglopen richting de 5 seconden. Omdat er binnen de call zelf gerekend wordt en niet daar buiten, valt te verwachten dat van de 10 seconden die nu extra nodig is ook een snelheidswinst mogelijk is.

De verwachting is dan dat we dus van 30 seconden terug gaan naar een 10 seconden bij 15 zaken voor 1 bsn

EduardWitteveen commented 9 months ago

De standaard is aangepast met het expand patroon: https://vng-realisatie.github.io/gemma-zaken/standaard/expand_patroon. Dit is vanaf versie versie 1.5.0 in zaken en 1.4.0 in documenten