grpc-go VS mongo-go-driver

Compare grpc-go vs mongo-go-driver and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
grpc-go mongo-go-driver
29 15
19,836 7,921
1.2% 0.9%
9.5 9.1
about 16 hours ago about 17 hours ago
Go Go
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

grpc-go

Posts with mentions or reviews of grpc-go. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-09.
  • Reverse Engineering Protobuf Definitions from Compiled Binaries
    5 projects | news.ycombinator.com | 9 Mar 2024
  • gRPC Name Resolution & Load Balancing on Kubernetes: Everything you need to know (and probably a bit more)
    5 projects | dev.to | 6 Feb 2024
    Weโ€™re hoping to make this rate at least optional via this pull request but as the time of writing this blog, itโ€™s nothing we can do to circle our way around it.
  • Full Stack Forays with Go and gRPC
    5 projects | dev.to | 5 Jun 2023
    First, I started with gRPCโ€™s recommended starter repository for learning gRPC, their **helloworld **example, which is a part of the official gRPC repository.
  • Tools besides Go for a newbie
    36 projects | /r/golang | 26 Mar 2023
    IDE: use whatever make you productive. I personally use vscode. VCS: git, as golang communities use github heavily as base for many libraries. AFAIK Linter: use staticcheck for linting as it looks like mostly used linting tool in go, supported by many also. In Vscode it will be recommended once you install go plugin. Libraries/Framework: actually the standard libraries already included many things you need, decent enough for your day-to-day development cycles(e.g. `net/http`). But here are things for extra: - Struct fields validator: validator - Http server lib: chi router , httprouter , fasthttp (for non standard http implementations, but fast) - Web Framework: echo , gin , fiber , beego , etc - Http client lib: most already covered by stdlib(net/http), so you rarely need extra lib for this, but if you really need some are: resty - CLI: cobra - Config: godotenv , viper - DB Drivers: sqlx , postgre , sqlite , mysql - nosql: redis , mongodb , elasticsearch - ORM: gorm , entgo , sqlc(codegen) - JS Transpiler: gopherjs - GUI: fyne - grpc: grpc - logging: zerolog - test: testify , gomock , dockertest - and many others you can find here
  • Curl 8.0.1 because I jinked it
    5 projects | news.ycombinator.com | 21 Mar 2023
    If you read the first comment, youโ€™ll see the API was documented as being experimental.

    https://github.com/grpc/grpc-go/issues/3798#issuecomment-670...

  • When is go not a good choice?
    7 projects | /r/golang | 3 Mar 2023
    The lack of this analysis still results in bugs and CVEs. See how many races are found and fixed in gRPC releases: https://github.com/grpc/grpc-go/releases (search "race"). It's a shame Google does not publish these as CVEs, because many of them qualify.
  • Rust for backend. Is it recommended?
    4 projects | /r/rust | 28 Feb 2023
    I like to point people at this release to show that not even Google -- in its own language on its own library for its own RPC protocol -- can write thread-safe Go, so what chance does anyone else have. Maybe we have to stop thinking of Go as a language for mission critical parallel computing and think of it more like a Python 4 made for low-risk prototyping. Mature libraries help for that prototyping, you know how to put them together and get something working, that something just won't be scaleable, efficient, or thread-safe.
  • Partially-Implemented Interfaces in Go
    1 project | /r/golang | 24 Feb 2023
    I first learned about this technique when gRPC generated code started using it. See the short readme and the long issue discussion. I think a lot more of the rationale from the discussion should have made it into the readme, since this is the only time most Go developers will ever see this technique used, especially since it can't be retrofitted to existing interfaces without breaking existing implementations.
  • goRPC or gRPC?
    5 projects | /r/golang | 12 Feb 2023
    I don't have any experience with goRPC (I'm assuming you're referring to https://github.com/valyala/gorpc), but just to note that that repo hasn't been updated in 7 years and has open issues that are that old, too. https://github.com/grpc/grpc-go has 17.5k stars and is actively maintained. That doesn't say anything about their relative performance - goRPC might be faster - but you probably won't have a fun time if you run into issues.
  • Golang is evil on shitty networks
    21 projects | news.ycombinator.com | 29 Dec 2022
    Found the root cause from https://github.com/grpc/grpc-go/commit/383b1143 (original issue: https://github.com/grpc/grpc-go/issues/75):

        // Note that ServeHTTP uses Go's HTTP/2 server implementation which is

mongo-go-driver

Posts with mentions or reviews of mongo-go-driver. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-04.
  • Uploading and Serving Images from MongoDB in Golang
    3 projects | dev.to | 4 Jan 2024
    MongoDB, a document-oriented NoSQL database, will be our data powerhouse. We'll utilize the mongo-driver library to seamlessly connect our Golang application to MongoDB. This section will cover essential database interactions, including creating collections, storing metadata, and efficiently querying for image-related data. Understanding these fundamentals is crucial for building a robust image storage and retrieval system.
  • Build a Golang Todo App Backend: A Step-by-Step Guide
    3 projects | dev.to | 29 Dec 2023
    mongodb.org/mongo-driver: The MongoDB supported driver for Go.
  • Integrating MONGODB in GOLANG applications
    1 project | dev.to | 23 Aug 2023
    Learning how to integrate no-sql databases with applications is becoming a must-know skill for all developers out there. Golang in particular provides the MongoDB Go Driver for easier and efficient connection with the mongo database.
  • How to decode the mongo wire message in golang
    2 projects | /r/mongodb | 27 Apr 2023
  • Tools besides Go for a newbie
    36 projects | /r/golang | 26 Mar 2023
    IDE: use whatever make you productive. I personally use vscode. VCS: git, as golang communities use github heavily as base for many libraries. AFAIK Linter: use staticcheck for linting as it looks like mostly used linting tool in go, supported by many also. In Vscode it will be recommended once you install go plugin. Libraries/Framework: actually the standard libraries already included many things you need, decent enough for your day-to-day development cycles(e.g. `net/http`). But here are things for extra: - Struct fields validator: validator - Http server lib: chi router , httprouter , fasthttp (for non standard http implementations, but fast) - Web Framework: echo , gin , fiber , beego , etc - Http client lib: most already covered by stdlib(net/http), so you rarely need extra lib for this, but if you really need some are: resty - CLI: cobra - Config: godotenv , viper - DB Drivers: sqlx , postgre , sqlite , mysql - nosql: redis , mongodb , elasticsearch - ORM: gorm , entgo , sqlc(codegen) - JS Transpiler: gopherjs - GUI: fyne - grpc: grpc - logging: zerolog - test: testify , gomock , dockertest - and many others you can find here
  • Go EventSourcing and CQRS with PostgreSQL, Kafka, MongoDB and ElasticSearch ๐Ÿ‘‹โœจ๐Ÿ’ซ
    16 projects | dev.to | 18 Jul 2022
    PostgeSQL as event store database Kafka as messages broker gRPC Go implementation of gRPC Jaeger open source, end-to-end distributed tracing Prometheus monitoring and alerting Grafana for to compose observability dashboards with everything from Prometheus MongoDB MongoDB database Elasticsearch Elasticsearch client for Go. Echo web framework Kibana Kibana is data visualization dashboard software for Elasticsearch Migrate for migrations
  • Golang future web frameworks!
    13 projects | /r/golang | 24 Apr 2022
    mongodb/mongo-go-driver 6.6k Stars, Used by -
  • Go EventSourcing and CQRS microservice using EventStoreDB ๐Ÿ‘‹โšก๏ธ๐Ÿ’ซ
    12 projects | dev.to | 27 Feb 2022
    In this project we have microservice working with EventStoreDB using oficial go client, for [projections (https://zimarev.com/blog/event-sourcing/projections/) used MongoDB and Elasticsearch for search, and communicate by gRPC and REST. Did not implement here any interesting business logic and didn't cover tests, because don't have enough time, the events list is very simple: create a new order, update shopping cart, pay, submit, cancel, change the delivery address, complete order, and of course in real-world better use more concrete and meaningfully events, but the target here is to show the idea and how it works. Event Sourcing can be implemented in different ways, used here EventStoreDB, but we can do it with PostgreSQL and Kafka for example. After trying both approaches, found EventStoreDB is a better solution because all required features are implemented out of the box, it is optimized and really very good engineers developing it.
  • How to Build REST API using Go Fiber and MongoDB Driver
    2 projects | dev.to | 9 Jan 2022
    For that same reason I decided to create a simple REST API using my favorite Go framework, Fiber and this time I decided to use the MongoDB Driver.
  • Migrating from PHP to Go
    26 projects | /r/golang | 30 Sep 2021
    Mgo has been unmaintained for years. Use the official https://github.com/mongodb/mongo-go-driver

What are some alternatives?

When comparing grpc-go and mongo-go-driver you can also consider the following projects:

rpcx - Best microservices framework in Go, like alibaba Dubbo, but with more features, Scale easily. Try it. Test it. If you feel it's better, use it! ๐‰๐š๐ฏ๐šๆœ‰๐๐ฎ๐›๐›๐จ, ๐†๐จ๐ฅ๐š๐ง๐ ๆœ‰๐ซ๐ฉ๐œ๐ฑ! build for cloud!

mgm - Mongo Go Models (mgm) is a fast and simple MongoDB ODM for Go (based on official Mongo Go Driver)

validator - :100:Go Struct and Field validation, including Cross Field, Cross Struct, Map, Slice and Array diving

mgo - Go Doc Dot Org

go-zero - A cloud-native Go microservices framework with cli tool for productivity.

GORM - The fantastic ORM library for Golang, aims to be developer friendly

go-micro - A Go microservices framework

Redis - Redis Go client

Echo - High performance, minimalist Go web framework

qmgo - Qmgo - The Go driver for MongoDB. Itโ€˜s based on official mongo-go-driver but easier to use like Mgo.

KrakenD - Ultra performant API Gateway with middlewares. A project hosted at The Linux Foundation

cayley - An open-source graph database