3 ms·
I wrote a dynamodb querying, SQL and Cypher database in Python. The code is very small and simple HTTPS://GitHub.com/samsquire/hash-db It supports distributed
by samsquire 4y ago
I wrote a dynamodb querying, SQL and Cypher database in Python. The code is very small and simple HTTPS://GitHub.com/samsquire/hash-db
It supports distributed joins over SQL. I plan to add multimodel specifically GraphQL and document storage.
I also wrote a multithreaded user space M:N scheduler in Rust, C and Java. It multiplexes N lightweight threads over M kernel threads like Golang goroutines. I also wrote an evented version with a multiconsumer multiproducer RingBuffer that handles IO. I need to add epoll network events and you have an application server. This is like Libev or libuv an event loop for processing and queuing up blocking syscalls without blocking.
I want to implement a LLVM JIT runtime. I have an idea for a very simple event queue that handles multithreading while being threadsafe. One of my other projects is multiversion concurrency control.
If you find this comment interesting you might enjoy my blog.
https://GitHub.com/samsquire/ideas4 https://GitHub.com/samsquire/ideas4
https://GitHub.com/samsquire/ideas3 https://GitHub.com/samsquire/ideas3
https://GitHub.com/samsquire/ideas2 https://GitHub.com/samsquire/ideas2
https://GitHub.com/samsquire/ideas https://GitHub.com/samsquire/ideas
- pbronez 4y agoThat’s super cool! Earlier this week I was getting frustrated with NetworkX and started wondering: “what’s the easiest way I run proper graph queries on this in-memory dataset?” This seems like a reasonable option, will add it to my list to try out.
- samsquire 4y agoI warn you the code isn't ready for serious usage. It's more of a proof of prototype to show that these technical problems can be solved very simply. So I doubt it would handle a challenging query! It only supports the bare essentials.