This is a simple RSS feed reader I have written in Rust to get better at the language and practice building actually useful things with it.
I hope it is useful for anyone who actually tries to use it, but more importantly, I would like to get feedback on the code and the implementation, possible improvement suggestions and more things I can add.
It is true that it is similar, but I like including my username "prefix" in my project names so unless I get a great idea for a name, I plan to keep it the same way.
The project is not finished yet so I didn't do many benchmarks, but if someone cares enough to write some, I would gladly include them in the project.
My testing gave me really fast writes and deletes (since those are asynchronous), and reads were around 60 nanoseconds per read.
But it depends on the data type and I am planning to add more optimizations, especially with Rust NIFs anyways, so I will wait a bit before actually talking about the pure performance of the DB.
The name is like AlloyDB, yeah, but I use that "prefix" in most my projects so, not much I can do there, haha. :)
- I was just looking to build a database similar to Redis for practice, and thought Elixir's ETS and OTP would be useful.
- Just learning more about databases while building a Redis alternative.
- It appends operations, the same ones you write to the TCP client and when loading them, just runs those one by one. I will still add some optimizations for e.g. repetitive commands.
- I haven't thought much about it yet, feel free to start a discussion in the GitHub repository to further talk about that.
- Probably not crash the server but return more useful errors and use Elixir's OTP features.
I wouldn't recommend JVM for web in 2023, but if you really want to use it, I would at least recommend Kotlin.
It has a better syntax, more up to date tools and is officially supported by JetBrains too. It also has the Ktor framework which is really fun to work with.