Repository navigation
Conversation
This reverts commit 1852f2c.
| if (this._pool) return | ||
|
|
||
| this._pool = new Pool(url, { | ||
| connections: 100, |
There was a problem hiding this comment.
Before:
- We instantiated up to 100 Clients
- With each socket sending up to 10 requests
| this._pool = new Pool(url, { | ||
| connections: 100, | ||
| pipelining: 10, | ||
| connections: 1000, |
There was a problem hiding this comment.
After:
- We instantiate up to 1000 Clients
- With each socket sending up to 1 requests
There was a problem hiding this comment.
(discussed with Dom, not an issue)
|
|
||
| this._pool = new Pool(url, { | ||
| connections: 100, | ||
| pipelining: 10, |
There was a problem hiding this comment.
The reason for this change is that we cannot pipeline requests. In other words, we cannot make requests serial. Why? Because if you have - for instance - a transaction A that blocks on B, transaction B will never finish (as the http client waits for a response from the QE on transaction A).
There was a problem hiding this comment.
I think pipelining was added to have better performance, probably we didn't have transactions implemented at that time.
|
Restarted the CI because of an unrelated failure (generator test timed out). |
|
@aqrln not sure why but it's extra flaky these last days |
|
@Jolg42 yeah, not sure if I've seen exactly this one or some other tests failing with timeout like that lately, but the error looks very familiar. |
Is this section able to be removed now? I came across this and was confused as to whether or not it was fixed until I read through the related PRs and saw that it was resolved. Initial GH Issue: prisma/orm#8707 Related PR: prisma/orm#10295
Is this section able to be removed now? I came across this and was confused as to whether or not it was fixed until I read through the related PRs and saw that it was resolved. Initial GH Issue: prisma/orm#8707 Related PR: prisma/orm#10295
Is this section able to be removed now? I came across this and was confused as to whether or not it was fixed until I read through the related PRs and saw that it was resolved. Initial GH Issue: prisma/orm#8707 Related PR: prisma/orm#10295
fixes #8707