Description
This repo shows an extremely slow query with nested writes when connected to a remote Postgresql.
Locally: local DB write 4s vs Remote DB write > 100s
How to reproduce: Send the example query to this endpoint: localhost:3000/context
You can find an example request here.
When running this query in DEBUG=* mode, then I receive following output
Installation
$ yarn
Running the app
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod