Timeouts when using the Envoy proxy
Summary
In a database with ~10⁴ entries, queries can easily run into connection timeouts when accessing the server via an envoy proxy.
Expected Behavior
Whether envoy is enabled or not shouldn't have an influence on timeouts.
Actual Behavior
Timeouts occur.
Note, that due to https://gitlab.com/caosdb/caosdb-pylib/-/issues/87, an XMLSyntaxError
is raised instead of an error indicating a timeout.
When accessing CaosDB without envoy, the timeouts do not occur.
Steps to Reproduce the Problem
- Setup linkahead with
envoy_enabled: true
- Fill database with ~10⁴ records
- Configure .pycaosdb.ini s.th. it uses the envoy proxy (with default settings, port 8081 instead of 10443)
- Try
db.execute_query("FIND RECORD")
Specifications
- Version: LinkAhead 0.9.1 and dev
- Platform: any
Possible fixes
Increase ore remove all timeouts in envoy config.