ConductionNL / contactcatalogus

Het “contacten” component is bedoeld voor het opslaan van contactgegevens van personen en organisaties waarvoor nog geen BSN of KVK nummer bekend is (en dus geen bronverwijzing kan worden gedaan).
https://zuid-drecht.nl/api/v1/cc
MIT License
0 stars 1 forks source link

Performance issues #169

Open KoenBrouwer opened 2 years ago

KoenBrouwer commented 2 years ago

Describe the bug We are experiencing performance issues with the contactcatalogus service when running in dev mode with docker-compose. It can be unacceptably slow (> 1s per request), and in production it is generally much slower than our other services. Since we're following the Common Ground model for our services, one slow service in the stack can slow down every request where the contactcatalogus is involved.

We've experienced the worst slowness on Windows in Docker, which results in unacceptable delays. Also slower than ideal on Mac. (See client specs below)

To Reproduce Steps to reproduce the behavior:

  1. Start up a development stack of Huishoudboekje through our docker-compose
  2. Start up contactcatalogus through your docker-compose.
  3. Perform queries and mutations that involve the contactcatalogus.

Expected behavior We expect that the contactcatalogus is at least as performant as our other services. We don't have exact data yet though.

Screenshots N/A

Desktop

  1. MacBook Pro 13" 2018 (2,3 GHz Quad-Core Intel i5, 16GB RAM) running macOS 11
  2. 1.6 GHz Quad-Core Intel i5, 16GB RAM running Windows 10 Enterprise 64-bit
    • Docker 20.10.8

Additional context ℹ️ We are currently further investigating specific examples of slowness. Reference to this issue in our GitLab: https://gitlab.com/commonground/huishoudboekje/app-new/-/issues/659

KoenBrouwer commented 2 years ago

Anyone? @rubenvdlinde @WilcoLouwerse @rjzondervan @matthiasoliveiro

WilcoLouwerse commented 2 years ago

Hey Koen, we noticed your issue and we will get back to you soon @rubenvdlinde