groupcache
cockroach
Our great sponsors
groupcache | cockroach | |
---|---|---|
12 | 100 | |
12,717 | 28,989 | |
0.5% | 1.0% | |
0.0 | 10.0 | |
5 months ago | 7 days ago | |
Go | Go | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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.
groupcache
- [imcache] A generic in-memory cache Go library. Feedback appreciated.
-
DREAMEMO: An out-of-the-box, high-scalability, modular-design distributed cache
As shown in the title, DREAMEMO is a distributed cache with out-of-the-box, high-scalability, modular-design features.The groupcache implementation is referenced, and re-structured, specific module differentiation is as follows:
-
Sourcehut will blacklist the Go module mirror
I remember one of the first real-world uses of Go being the groupcache package: https://github.com/golang/groupcache (to serve Chrome downloads, IIRC?)
> comes with a cache filling mechanism. Whereas memcached just says "Sorry, cache miss", often resulting in a thundering herd of database (or whatever) loads from an unbounded number of clients (which has resulted in several fun outages), groupcache coordinates cache fills such that only one load in one process of an entire replicated set of processes populates the cache, then multiplexes the loaded value to all callers.
-
Distributed fault-tolerant persistent atomic counter in golang
I read that group cache (https://github.com/golang/groupcache) can be used to sync servers around a key.
-
How can you ensure all Microservices have finished their tasks?
I've not tried this myself, but I've seen it suggested to use groupcache (https://github.com/golang/groupcache) to sync your servers.
- What is for you the project who represents the best the power of Golang ?
-
go-generics-cache: An in-memory key:value store/cache library for Go Generics
https://github.com/golang/groupcache is managing distributed caching that addresses thundering herd problem of memcache.
- Can you share some Go package that you think has high quality clean code?
-
Ask HN: Which are the best go repositories to read to learn the language?
I really enjoyed google's https://github.com/golang/groupcache. Learned both about the language, and quality network application design
-
Gopher Gold #11 - Wed Sep 16 2020
golang/groupcache (Go): groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.
cockroach
-
11 Planetscale alternatives with free tiers
CockroachDB is an open source distributed SQL database designed for scalability and resilience. While it offers SQL databases, CockroachDB is also compatible with PostgreSQL.
-
A MySQL compatible database engine written in pure Go
cockroachdb might be close: https://github.com/cockroachdb/cockroach
-
No More Free Tier on PlanetScale, Here Are Free Alternatives
CockroachDB - SQL
-
Is it bad to create a publicly accessible RDS database for my serverless web app?
For example, when you create a serverless postgres database with a platform like CockroachDB or Neon, you effectively get a connection string with a strong password. Anyone can connect to your database from anywhere so long as they have the right connection string. There are no security settings in these services to change this behavior.
-
Linux surpasses the Mac among Steam gamers
> Yes you can on the android emulator. The biggest issue is compu arch in that case.
I can also download VirtualBox and run all Windows programs, that would mean that all Windows apps are Linux apps?
> Yes you can for the most part
You can't statically link glibc: https://github.com/cockroachdb/cockroach/issues/3392
glibc can break stuff: https://www.gamingonlinux.com/2022/08/valve-dev-understandab...
I had binaries break because the newer version if openssl was put under a slightly different name.
-
How do small SaaS's handle databases?
Also, worth noting, if you're already using PostgreSQL (or plan to) you might want to take a look at https://www.cockroachlabs.com/ they have a free tier too and CockroachDB has a PostgreSQL interface.
-
Go Dependency management in large company projects - How do you do it?
I know that some projects like cockroach use custom build tools like bazel. But we actually really like to use to be able to build our projects simply with the great go toolchain and don't really aim to dive deep into custom build solutions.
-
rage - a minimalistic load testing tool
Cockroachdb created a go runtime patch which measures the Grunning time of a goroutine: https://github.com/cockroachdb/cockroach/pull/82356. It doesn't entirely solve the problem though.
-
Data Engineering Tools in Go
Our entire backend is written in Go. We've built a platform that allows other companies to offer automatic data syncing to their customers' data warehouses. Go works great for building distributed systems like this (see K8s). We're not the only ones in the space building data intensive applications with Go. Pachyderm, Pinecone, Cockroach Labs and are all also doing it. We've been quite happy with how Go has worked for us.
-
Simple distributed database.
I would recommend researching CockroachDB. It does what you're describing natively. The basis of it's design is to distribute data based on geography. It's inexpensive and very simple to install and manage. It's based on Postgres ( but doesn't support all Postgres features). We've been using it for about 1 year and it meets our needs for some of our workload. www.cockroachlabs.com
What are some alternatives?
vitess - Vitess is a database clustering system for horizontal scaling of MySQL.
neon - Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, branching, and bottomless storage.
tidb - TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://tidbcloud.com/free-trial
BigCache - Efficient cache for gigabytes of data written in Go.
go-cache - An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
Trino - Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
yugabyte-db - YugabyteDB - the cloud native distributed SQL database for mission-critical applications.
InfluxDB - Scalable datastore for metrics, events, and real-time analytics
rqlite - The lightweight, distributed relational database built on SQLite.
Redis - Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.
dgraph - The high-performance database for modern applications
snowflake - Snowflake is a network service for generating unique ID numbers at high scale with some simple guarantees.