py-caskdb
cockroach
py-caskdb | cockroach | |
---|---|---|
14 | 100 | |
1,122 | 29,076 | |
- | 0.6% | |
3.3 | 10.0 | |
2 months ago | 6 days ago | |
Python | Go | |
MIT License | 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.
py-caskdb
- Ask HN: What are some good resources for learning about low level disk/file IO?
-
Ask HN: Similar Books like “Raytracing in one Weekend”
self plug: I wanted to learn how databases work internally, like how they store and retrieve data, build indexes, etc.
I built an educational KV store to teach someone to write a database from scratch. I have set up this project in TDD fashion with the tests. So, you start with simple functions, pass the tests, and the difficulty level goes up. There are hints if you get stuck. When all the tests pass, you would have written a persistent key-value store in the end.
link: https://github.com/avinassh/py-caskdb
-
Resource for making database from scratch
link: https://github.com/avinassh/py-caskdb
- What are some recent papers to read on KV stores?
-
Ask HN: As a senior engineer content with programming chops, what to learn next?
If you like databases, you start exploring the internals and start writing one! There is no going back once you dig deep into storage internals, KV stores, and distributed systems.
plug: I made an educational project which can help you write a database in python, from scratch - https://github.com/avinassh/py-caskdb
- Ask HN: Which personal projects got you hired?
-
Getting started with database development
Build your own disk based KV store
- GitHub - avinassh/py-caskdb: (educational) build your own disk based KV store
-
Weekly Coders, Hackers & All Tech related thread - 07/05/2022
link - https://github.com/avinassh/py-caskdb
- Show HN: CaskDB – project to teach you building a key value store
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.
-
Eli5: Why do companies use the products of Oracle to store information, when they can just use spreadsheets like Excel, or make their own spreadsheet software?
CockroachDB is designed to be globally distributed. It has to handle causality when resolving collisions. It has to account for having a write operation to arrive after another and still have time priority because it was sent out a few milliseconds earlier.
-
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.
What are some alternatives?
helindb
vitess - Vitess is a database clustering system for horizontal scaling of MySQL.
db_tutorial - Writing a sqlite clone from scratch in C
neon - Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, branching, and bottomless storage.
awesome-dbdev - Awesome materials about database development.
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
go-caskdb - (educational) build your own disk based KV store in Go
Trino - Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
fio - Flexible I/O Tester
yugabyte-db - YugabyteDB - the cloud native distributed SQL database for mission-critical applications.
WebGL-Fluid-Simulation - Play with fluids in your browser (works even on mobile)
InfluxDB - Scalable datastore for metrics, events, and real-time analytics