prisma-data-proxy-alt icon indicating copy to clipboard operation
prisma-data-proxy-alt copied to clipboard

Different Graphql Server?

Open JonasRothmann opened this issue 2 years ago • 3 comments

Is there any specific reason for using apollo-server? It adds a bunch of overhead that is not needed?

https://github.com/benawad/node-graphql-benchmarks

JonasRothmann avatar Sep 10 '22 20:09 JonasRothmann

There is no clear reason for using apollo-server. You can replace it if you are willing to send us a pull request.

aiji42 avatar Sep 12 '22 00:09 aiji42

Hi, I made an experimental work inspired by prisma-data-proxy-alt. prisma-data-proxy-alt is great, many thanks :)

I used Fastify + Mercurius. https://github.com/OnurGvnc/prisma-data-proxy-fastify

but I haven't done any performance tests yet.

actually, my first goal was to adapt rawquery :) I wanted to create a simple environment where I would learn by experimenting with prisma and data-proxy approach. please note: produced for proof of concept. do not use in production

OnurGvnc avatar Sep 14 '22 07:09 OnurGvnc

I discovered wunderbase while doing research. It uses graphql-go-tools.

I made a small change on wunderbase. I started using it as prisma-data-proxy. https://github.com/OnurGvnc/prisma-data-proxy

I haven't done a detailed performance test yet. But the Go implementation seems to be more performant. I'll try to do a detailed test when I have time.

OnurGvnc avatar Sep 18 '22 14:09 OnurGvnc