|
electrified filth
@
sadisticsystems
Berlin, Germany
|
|
I build sled.rs and teach Rust workshops. Get in touch if your team could benefit from one :)
|
|
|
1.739
Tweetovi
|
551
Pratim
|
1.089
Osobe koje vas prate
|
| Tweetovi |
|
electrified filth
@sadisticsystems
|
7 h |
|
Breaks and preoccupation are what drive the creativity required for good work
|
||
|
|
||
|
electrified filth
@sadisticsystems
|
7 h |
|
10ish. Quality > quantity for db engineering :P
|
||
|
|
||
| electrified filth proslijedio/la je tweet | ||
|
Olof Nord
@olofnord
|
12 h |
|
Enjoyed my first @fosdem a lot!
Memorable moment during the presendation by @sadisticsystems in the rust track:
"Programming languages are just Domain-Specific Languages for system calls"
|
||
|
|
||
|
electrified filth
@sadisticsystems
|
2. velj |
|
It was a lot of fun speaking with folks at FOSDEM today about sled and io_uring! Here are the slides from my talk today:
docs.google.com/presentation/d… twitter.com/sadisticsystem…
|
||
|
|
||
|
electrified filth
@sadisticsystems
|
1. velj |
|
I think one of the hardest things is that everybody tells you how to do your job in frontend. This drove me super hard into places like lock free programming and distributed systems which are much more enjoyable for me because the interactions tend to be much more respectful.
|
||
|
|
||
|
electrified filth
@sadisticsystems
|
31. sij |
|
Try pickling strawberries with apple cider vinegar :0
|
||
|
|
||
|
electrified filth
@sadisticsystems
|
31. sij |
|
Congratulations!
|
||
|
|
||
|
electrified filth
@sadisticsystems
|
30. sij |
|
this honestly felt like defusing a bomb pic.twitter.com/Pre6vUZJ8H
|
||
|
|
||
|
electrified filth
@sadisticsystems
|
30. sij |
|
This sled.rs 100m small inserts workload is now down to 80 seconds :) These results make me so damn happy after a week spent refactoring, adding varints to message headers. This reduces bytes written by an additional 42%. Now at 32% bytes written vs w/o varints! twitter.com/sadisticsystem…
|
||
|
|
||
|
electrified filth
@sadisticsystems
|
30. sij |
|
those are my requirements as well. mostly the w-tinyLFU implementation is for asynchronously (not as in rust async, but by using flat combining to avoid contention) handle cache hits and evictions for my concurrent cache which is OOB.
|
||
|
|
||
|
electrified filth
@sadisticsystems
|
30. sij |
|
That's my understanding, and I assume that's a possible chain on 5.5, although tbh I haven't played with connect yet.
|
||
|
|
||
|
electrified filth
@sadisticsystems
|
30. sij |
|
I have started implementing windowed tiny lfu, which you might be interested in for concurrent caching. It's what the caffeine Java library uses, which in turn gets used by basically every database written in Java
|
||
|
|
||
|
electrified filth
@sadisticsystems
|
29. sij |
|
With io_uring you can be FULLY SHAVED AT LAST
|
||
|
|
||
|
electrified filth
@sadisticsystems
|
29. sij |
|
That's a great question. I'm not sure. I know RocksDB already has support, and Scylla folks have been making noises on Twitter about it. sled has support but it's not being taken full advantage of yet (in the next couple days it will)
|
||
|
|
||
|
electrified filth
@sadisticsystems
|
29. sij |
|
I'm gonna be screaming about io_uring and sled in the rust room :]
|
||
|
|
||
|
electrified filth
@sadisticsystems
|
29. sij |
|
feel free to ping me if you hit any walls. I really enjoy helping people get a better sense of how this complex tool works and how to play to its strengths (and when to consider using something else).
|
||
|
|
||
|
electrified filth
@sadisticsystems
|
29. sij |
|
general rust advice: be really careful about using any library that forces you to change how you run your main code. lots of heavyweight "frameworks" exist in rust that are usually ego plays by the creators to enmire you in their world, rather than just let you solve problems.
|
||
|
|
||
|
electrified filth
@sadisticsystems
|
29. sij |
|
this tutorial might be a good one to start with (you don't need to go down the unsafe part though).
rust-unofficial.github.io/too-many-lists/
it's good because it gives you a sense of high-level design, and combining the most important rust traits to do useful things, as well as lifetimes
|
||
|
|
||
|
electrified filth
@sadisticsystems
|
29. sij |
|
The built in docs (locally run `rustup doc`, and the std lib docs via `rustup doc --std`) are handy to have open in a tab. Remember all the stuff that feels like magic is just some Trait that was implemented to unlock functionality.
this article rules limpet.net/mbrubeck/2019/…
|
||
|
|
||
|
electrified filth
@sadisticsystems
|
29. sij |
|
Everyone says to read the Rust book but honestly I hate reading books to learn languages. The best way to learn is to solve a real problem you're facing using it.
Rust really only starts to make sense for programming in the large. I think JS/Go are much better for simple things
|
||
|
|
||