Hi, I'm new to Prisma, I think it's a great techno...
# orm-help
k
Hi, I'm new to Prisma, I think it's a great technology but can somebody please explain to me the advantages on having prisma-server as the middle man between the app and the database? ... I know that for Prisma 2 there is going to be a client library too, I still no see the reason for the server.
j
prisma exposes the complete api, same as an orm would. Just as with a traditional orm, you would want to add some code in front of it to handle any business logic.
running as a seperate process allows more options in building your infrastructure
k
Can't it be done at compile time.. I mean, I guess that's how they are going to do it with the library
like what options
j
load balancing, cache, maybe another rest api...
even with prisma 2, it's going to be a seperate process
k
Ohh I see, It avoids us as the user to have to create said middle man in the first place... Cool!
Are they planning to integrate load balancing for example in Prisma 2?
check out this thred ^
k
cool, thanks!
j
it'll be nice to run the rust binary instead of the JVM
should be faster and lighter
k
I see, indeed it would
a
I personally like connecting to the playground of the Prisma server to directly work with the CRUD resolvers if I need to.
j
ya, that's a handy feature. I'm guessing that we can do the same in prisma 2?