P
Prismaโ€ข5d ago
Mike

mongodb compressors

How to add compressors to mongodb connection string?
7 Replies
Prisma AI Help
Prisma AI Helpโ€ข5d ago
You're in no rush, so we'll let a dev step in. Enjoy your coffee, or drop into #ask-ai if you get antsy for a second opinion!
Nurul
Nurulโ€ข5d ago
Hey ๐Ÿ‘‹ It seems that providing compressors in MongoDB connection string isn't provided at the moment. https://github.com/prisma/prisma/discussions/25750 I would recommend adding a ๐Ÿ‘ to this feature request so that our engineering team can prioritise it. https://github.com/prisma/prisma/issues/20751
GitHub
Mongodb connection string โ€“ compressors ยท prisma prisma ยท Discussio...
Question I am trying to use compression settings for MongoDB in my connection string: mongodb://localhost:27018/db?replicaSet=rs0&compressors=zlib,snappy However, when I run Prisma, I encounter...
Mike
MikeOPโ€ข5d ago
GitHub
GitHub - prisma/mongo-rust-driver: MongoDB Rust Driver with some ad...
MongoDB Rust Driver with some additional fixes. Contribute to prisma/mongo-rust-driver development by creating an account on GitHub.
GitHub
GitHub - mongodb/mongo-rust-driver: The official MongoDB Rust Driver
The official MongoDB Rust Driver. Contribute to mongodb/mongo-rust-driver development by creating an account on GitHub.
Mike
MikeOPโ€ข5d ago
@Nurul how to prioritise? we have issues ๐Ÿ˜ฆ we have driver, how to unlock some connection attribute? )
Nurul
Nurulโ€ข5d ago
Is this a blocker for you? I haven't seen other users request this particular connection attribute.
Mike
MikeOPโ€ข5d ago
@Nurul yes, we have a high load service (critical network traffic, like gigabytes of data transferred from database to applications) and i decided to rewrite it with Prisma ๐Ÿ™‚ i think it was a mistake with great dx ๐Ÿ˜„ it's so critical that the network is down between servers, so this is a very important point for us
Mike
MikeOPโ€ข5d ago
I am willing to fix the right place in Prisma, but I don't know how to find information on how to extend or contribute to Prisma. Also in this case โ€“ https://github.com/prisma/prisma/discussions/26165
GitHub
How to extend prisma? new Index type (wildcard) for MongoDB? ยท pris...
Question How to do it? Which files will be changed? Add support for @@wildcard to the schema definition. Add generated commands for prisma db push. Create a patch for local usage (yes, I know how t...

Did you find this page helpful?