-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Closed
Copy link
Labels
Description
Product versie / Product version
latest
Omschrijf het probleem / Describe the bug
Taiga reference: Utrecht 334
The configuration for connection pooling (min_size, max_size, etc.) is misleading when running uWSGI with more than 1 process (we run 4 by default), because each process will instantiate its own connectionpool with these parameters.
In practice this would mean that your value for the max_size envvar should be multiplied by the number of processes uwsgi is running.
TODO:
- Modify the help_text of
DB_POOL_ENABLEDto state that it is experimental and not recommended for production use (not sure if this is possible, but if we can add a sphinx reference to https://open-api-framework.readthedocs.io/en/latest/connection_pooling.html that would be nice) - Add this same warning to https://open-api-framework.readthedocs.io/en/latest/connection_pooling.html#connection-pooling
- Make a new release of open-api-framework
- Upgrade OAF in all components and refer to OAF docs from all components with intersphinx (https://open-api-framework.readthedocs.io/en/latest/connection_pooling.html). This reference should be added as a warning in the changelog for the releases that introduced connection pooling
- Open Zaak ⬆️ [maykinmedia/open-api-framework#171] add changelog warning for connection pooling open-zaak/open-zaak#2255
- Open Notificaties Upgrade OAF and add changelog warning for connection pooling open-zaak/open-notificaties#349
- Objects API Upgrade OAF and add changelog warning for connection pooling objects-api#710
- Objecttypes API Upgrade OAF and add changelog warning for connection pooling objecttypes-api#222
- Open Klant ✨ [maykinmedia/open-api-framework#171] Upgrade OAF open-klant#535
- Referentielijsten Upgrade OAF and add changelog warning for connection pooling referentielijsten#122
- Open Product Upgrade OAF and add changelog warning for connection pooling open-product#255
Stappen om te reproduceren / Steps to reproduce
No response
Verwacht gedrag / Expected behavior
I think this should at least be documented, I'm not sure if there is a way to enfore the min_size and max_size as passed via envvar, because we don't know the number of replicas for example
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done