bun
SQL-first Golang ORM (by uptrace)
rueidis
A fast Golang Redis client that supports Client Side Caching, Auto Pipelining, Generics OM, RedisJSON, RedisBloom, RediSearch, etc. [Moved to: https://github.com/redis/rueidis] (by rueian)
bun | rueidis | |
---|---|---|
18 | 28 | |
3,149 | 1,274 | |
7.7% | - | |
7.9 | 8.6 | |
7 days ago | 12 months ago | |
Go | Go | |
BSD 2-clause "Simplified" License | 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.
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.
bun
Posts with mentions or reviews of bun.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-17.
-
ORM or no ORM (and which ones)?
This way: https://github.com/uptrace/bun, I prefer in all cases with PostgreSQL
- When creating an API (or even a website) what's the best practice of initializing a database connection and using it across the application where it's necessary?
-
Best packages?
https://github.com/uptrace/bun For SQL building.
-
Which ORM framework are you using with golang, and why?
I use Bun by Uptrace - https://github.com/uptrace/bun
-
What’s your preferred setup to work with SQL DB (without ORM) ?
Though, i've would give a try to bun
-
What SQL library are you using?
Bun would be my choice, it spans a nice gap between full ORM and query builder - https://github.com/uptrace/bun
- Bun – SQL-first Golang ORM for PostgreSQL, MySQL, mssql, and SQLite
-
Bun: SQL-first Golang ORM
To get started, see the documentation and run examples.
-
SQL Query Strategy for complex structs
bun and go-pg both seem to work fairly well for these kind of purposes.
- Bun v1.1 SQL client adds supports for MSSQL
rueidis
Posts with mentions or reviews of rueidis.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-26.
- Redis with golang
-
understanding a opensource project - golang beginner
I have a redis client library which code base is small while it uses some advanced techniques to achieve better performance. I think it is worth reading https://github.com/rueian/rueidis
-
Go-Redis Is Now an Official Redis Client
Want to say +1 for Rueidis. It's a very fast, well-maintained library. It's already adopted by several large open-source projects (see https://github.com/rueian/rueidis/network/dependents). Nothing to say against go-redis though - it's very good too.
-
rueidis v0.0.90: an almost zero allocation redis client library
Hi folks, I am pleased to introduce you rueidis v0.0.90, a Redis client library that can help you access Redis server with little or almost zero allocation on your application side.
-
Redis driver supports at-least-once delivery
Hi rtsov, I also like to have this kind of amqp functionality in rueidis https://github.com/rueian/rueidis.
-
can I use go-cache as session manager ?
You can also use redis to store sessions remotely, and use its client-side caching feature for better performance: https://github.com/rueian/rueidis
-
What have you learnt from your Golang experience ?
All these help me build a fast redis client library: https://github.com/rueian/rueidis
-
Concurrency mutex patterns general question
Use redis+client-side caching to implement your replicas. This can help you: https://github.com/rueian/rueidis
-
rueian/rueidis v0.0.81: A fast Redis client that supports Client-Side Caching and Auto Pipelining
Actually it is also beneficial for applications using redis for distributed locks magement. Redis can now notify clients the state of their locks proactively. https://github.com/rueian/rueidis/tree/master/rueidislock
-
Best packages?
rueidis For fast client-side caching, distributed locking and Pub/Sub with Redis.
What are some alternatives?
When comparing bun and rueidis you can also consider the following projects:
GORM - The fantastic ORM library for Golang, aims to be developer friendly
redis - Type-safe Redis client for Golang [Moved to: https://github.com/redis/go-redis]
ent - An entity framework for Go
Redis - Redis Go client
go-pg - Golang ORM with focus on PostgreSQL features and performance
go - The Go programming language
sqlc - Generate type-safe code from SQL
golang-standards/project-layout - Standard Go Project Layout
prisma-client-go - Prisma Client Go is an auto-generated and fully type-safe database client
go-json - Fast Go JSON encoder for large arrays of objects
Squirrel - Fluent SQL generation for golang
go-deadlock - Online deadlock detection in go (golang)