Suhail
08/04/2020, 4:21 AMtype TM {
id: ID! @id
url: String! @unique
clientId: String!
sourceHashes: [String]
translations: [Translations!]!
}
Now when I use the Prisma query call such as (NodeJS)
const urlData = await <http://prisma.tM|prisma.tM>({
url: "some url"
});
It almost takes 7-11 seconds for Prisma to return results. This lag is not there if I directly connect to Mongo and query. What is happening here? @Ryan Anything additional I must be doing?Ryan
08/04/2020, 6:47 AMSuhail
08/04/2020, 6:57 AMSuhail
08/04/2020, 8:44 AMSuhail
08/04/2020, 8:44 AMRyan
08/04/2020, 9:25 AMSuhail
08/04/2020, 10:27 AMSuhail
08/04/2020, 10:28 AMRyan
08/04/2020, 11:47 AMRyan
08/04/2020, 11:48 AMSuhail
08/04/2020, 12:14 PMSuhail
08/04/2020, 12:14 PMSuhail
08/04/2020, 12:14 PMSuhail
08/07/2020, 4:49 AMSuhail
08/07/2020, 4:53 AMSuhail
08/07/2020, 7:20 AM[INFO] Closed connection [connectionId{localValue:125}] to xx.xx.xx.xx:27017 because there was a socket exception raised by this connection.
Uncaught error from thread [single-server-akka.actor.default-dispatcher-22]: GC overhead limit exceeded, shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[single-server]
java.lang.OutOfMemoryError: GC overhead limit exceeded
[INFO] Closed connection [connectionId{localValue:138, serverValue:10067}] to xx.xx.xx.xx:27017 because there was a socket exception raised on another connection from this pool.
[INFO] Opened connection [connectionId{localValue:141, serverValue:10085}] to xx.xx.xx.xx:27017
Suhail
08/07/2020, 7:21 AMRyan
08/07/2020, 7:25 AMSuhail
08/07/2020, 7:28 AMSuhail
08/10/2020, 1:03 PMRyan
08/10/2020, 1:11 PMSuhail
08/10/2020, 1:12 PMRyan
08/10/2020, 1:18 PMSuhail
08/10/2020, 5:33 PM