Created
October 7, 2022 15:02
-
-
Save kevcodez/03b803325f19f2aace259fd6b1dbcce8 to your computer and use it in GitHub Desktop.
medium_mongodb_performance_node_snappy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const client = await MongoClient.connect(mongoConfig().mongoUrl, { | |
compressors: 'snappy', // make sure Snappy is installed | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment