db_tutorial
cockroach
Our great sponsors
db_tutorial | cockroach | |
---|---|---|
17 | 100 | |
9,236 | 29,076 | |
- | 1.2% | |
4.1 | 10.0 | |
about 2 months ago | 4 days ago | |
C | 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.
db_tutorial
-
Problem with recreating like SQLite database.
I am trying to recreate work from https://cstack.github.io/db_tutorial/ Basically it is recreating very simple SQLite, loading data from a file at the start of the program, and storing data in memory when the program runs then saving data to a file when we close the program. I believe that my issues are connected to working in the Windows instead of the Linux. Right now I am at part 5 when we start saving our data to the file when we close our program.
- How do I build a database from scratch?
-
22 grad, need some criticisms on my portfolio. Are my projects not impressive? Or is it just the market?
Stoped open source contributions recently, will be working on Build your Own Text Editor and Let's Build a Simple Database probably after landing an internship or a job
-
You know there's something seriously wrong with a programming language when an example program (which is just 20 lines of code) like this is already unsafe.
Last I heard, micro controllers still extensively use C and C-like sibling languages (like The Arduino Language). Most system applications use UI kits like Qt or GTK, which are also C libraries. Most of the Linux kernel consists of C code. Both SQL and NoSQL database backend are written mostly in C, with C++ coming in second, and only a few written in Rust, Zig or Golang (if you're interested in creating your own simple database, this is a great tutorial). TensorFlow and Pytorch, the machine learning libraries used for creating ANN-based architectures, uses libtensorflow and libtorch behind the scene that uses a mix of C and C++ libraries, then there's also GPU stuff like CUDA and RoCM that uses a mix of Fortran, C and Julia. Vulkan is also written in C and is supported in C++. Almost all performant libraries in Ruby, Python, Rust or Julia uses C bindings.
- Check
-
hi guys I just finished my c course and I want an idea for a c project to summer up my knowledge any help
Have you thought about writing a DB from scratch in C? You'll learn lots of cool stuff about memory and OS abstractions: cstack.github.io/db_tutorial/
- Implementing a simple shell in C
- Create RDBMS in C
- Is sqlite3 just a C program that reads, writes, updates and deletes data from a file, plus some extra features?
-
Looking for a books strictly about how to write database engine
There's an online tutorial started a while back: https://cstack.github.io/db_tutorial
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?
fbptree - A persistent storage (in file) based using B+ tree with byte-slice keys and values
vitess - Vitess is a database clustering system for horizontal scaling of MySQL.
lsmtree - Log-structured merge-tree
neon - Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, branching, and bottomless storage.
py-caskdb - (educational) build your own disk based KV store
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
chai - Modern embedded SQL database
Trino - Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
helindb
yugabyte-db - YugabyteDB - the cloud native distributed SQL database for mission-critical applications.
bolt
InfluxDB - Scalable datastore for metrics, events, and real-time analytics