awesome-go-storage
embedded-postgres
Our great sponsors
awesome-go-storage | embedded-postgres | |
---|---|---|
7 | 4 | |
4,266 | 744 | |
1.2% | - | |
4.1 | 5.2 | |
4 months ago | about 1 month ago | |
Go | ||
MIT License | MIT License |
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.
awesome-go-storage
-
Building a Log-Structured Merge Tree in Go
Awesome Go Storage (GitHub)
-
Open Source Databases in Go
Any many many more. Check https://github.com/gostor/awesome-go-storage
-
Zig, Hare, Odin, Vale, V, Jai
C is significantly slower at concurrency when implemented naively. It's as fast as languages like Go when implemented using the same techniques, which is not obvious and trivial to use like in a higher level GC'd language. GC actually helps out a ton there, for example look at the complexity of async/await in Rust which requires the notion of pinning.
https://github.com/gostor/awesome-go-storage#database
https://java-source.net/open-source/database-engines
Not a database but honorable mention, LMAX disrupter: https://lmax-exchange.github.io/disruptor/
- Embedded database options
-
Which database do you recommend to be used with Golang?
You may want to start from here: awesome-go-storage and choose what fit your needs
- New Open Source RDBMS idea (written in Golang) (Help wanted)
-
A distributed Posix file system built on top of Redis and S3
This is neat! I am quite a fan of all the go based file systems that are springing up. Question: what are the main compare and contrast points between juice and seaweed fs?
Here is a compendium for those interested:
https://github.com/gostor/awesome-go-storage
embedded-postgres
-
If you could go back in time | What would you do different regarding go
So what can you do insted? For testing databases, setup a docker instance for tests (e.g. like in https://github.com/ardanlabs/service), or start an embedded-postgres daemon (see https://github.com/fergusstrange/embedded-postgres). For communication with external APIs, just pass the http.Client (either in context.Context or as a field on the struct). Then in tests, you can override the http.Client.Transport func.
-
Embedded database options
This is down to nuance, but all databases are "file based" as they all write to files. But most of them require a separate process with lock coordination to get away from writer lock delays and ensure ACID, which includes Postgresql. Calling any version of pgl "embedded" is confusing because I see that being used to describe pgl databases which are run in a localhost mode with a single reader/writer client. Regardless, those still require a postgres process and access it over IP. For simplicity, if one uses a database by touching its files directly from the process accessing the database, then it's "embedded"; but then again I guess that semantic ship has sailed: https://github.com/fergusstrange/embedded-postgres so the point may be moot.
-
Ask HN: Tips on hosting your own Postgres instance
depending on the language you have chosen for your side project you might also be able to run postgresql in embedded mode here is the one for golang https://github.com/fergusstrange/embedded-postgres . There is similar solution for java as well.
What are some alternatives?
chai - Modern embedded SQL database
go-mutesting - Mutation testing for Go source code
s3-benchmark - Measure Amazon S3's performance from any location.
goc - A Comprehensive Coverage Testing System for The Go Programming Language
juicefs - JuiceFS is a distributed POSIX file system built on top of Redis and S3.
Testify - A toolkit with common assertions and mocks that plays nicely with the standard library
redisraft - A Redis Module that make it possible to create a consistent Raft cluster from multiple Redis instances.
ginkgo - A Modern Testing Framework for Go
badger - Fast key-value DB in Go.
go-vcr - Record and replay your HTTP interactions for fast, deterministic and accurate tests
awesome-htmx - Awesome things about htmx
schema - Quick and easy expression matching for JSON schemas used in requests and responses