Brian Woodward
07/26/2021, 10:39 PMECONNREFUSED error from the prisma client when I deploy my app:
Error: connect ECONNREFUSED 127.0.0.1:33941\n at cb (/home/app/function/src/generated/prisma/client/runtime/index.js:34800:17)Brian Woodward
07/26/2021, 10:40 PMBrian Woodward
07/26/2021, 10:41 PMnode process running, and a prisma query engine process start sometimes. I thought there was an issue with connection pooling, so I setup pgbouncer and connect to that.Brian Woodward
07/26/2021, 10:42 PMRyan
07/27/2021, 6:26 AMBrian Woodward
07/27/2021, 12:38 PMpg
• 80Mi with prisma, simple 2 model schema, and restful (fastify)
• 256Mi currently with a prisma, many models, and graphqlBrian Woodward
07/27/2021, 12:45 PMOpenFaaS on kubernetes and these are hosted as OpenFaaS "microservice" functions, so the process stays up between requests.
The graphql app was original poc using prisma and we're splitting the primsa schema into smaller, self-contained schemas for the microservices they represent. The graphql server will eventually only make calls to the other microservices and won't have prismaBrian Woodward
07/27/2021, 12:49 PMRyan
07/30/2021, 11:24 AM