-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 0.2.0
-
Component/s: Performance
-
Environment:Windows 10 pro, mongodb 4.0.5 Community, go1.11.5
I had been using the [community golang driver |github.com/globalsign/mgo] for the past 2 years, and recenly I've decided to try the official driver fo golang since it went in beta.
Everything worked fine, but of course I was very curious how it performs in terms of speed with the old driver and I was pretty disappointed.
I have a 30 million documents collection for testing purposes, and for this test I've selected a single document by _id and I've used bombardier to do 10000 requests with 100 request concurrency.
The results are:
- Official MongoDb driver: ~ 10k req/second
- Community MongoDb driver: ~ 20k req/second
Any thoughts?
- related to
-
TOOLS-2240 Performance test mgo vs mongo-go-driver
- Closed