HackerTrans
TopNewTrendsCommentsPastAskShowJobs

barddoo

no profile record

Submissions

Show HN: Verbum Vitae – Bible memorization [pt]

vvitae.com
2 points·by barddoo·الشهر الماضي·0 comments

Building a Redis Clone in Zig–Part 5

charlesfonseca.substack.com
3 points·by barddoo·قبل شهرين·0 comments

Zedis Update: Zig 0.16 and New I/O Interface

github.com
1 points·by barddoo·قبل 3 أشهر·1 comments

A Case for Monolith

charlesfonseca.substack.com
1 points·by barddoo·قبل 3 أشهر·0 comments

Show HN: Trustline, a JavaScript library for service-to-service auth

github.com
2 points·by barddoo·قبل 4 أشهر·0 comments

Ask HN: What's the best talk you've watched?

22 points·by barddoo·قبل 6 أشهر·14 comments

Benchmarking my Redis clone in Zig (a web dev learning systems)

charlesfonseca.substack.com
4 points·by barddoo·قبل 8 أشهر·1 comments

Async/Await is finally back in Zig

charlesfonseca.substack.com
40 points·by barddoo·قبل 8 أشهر·87 comments

Show HN: Zedis – A Redis clone I'm writing in Zig

github.com
158 points·by barddoo·قبل 10 أشهر·111 comments

comments

barddoo
·قبل 24 يومًا·discuss
nice
barddoo
·الشهر الماضي·discuss
nice, I was just deciding what to use. I tried nextcloud, but I'm running a php system on my machines.
barddoo
·قبل 3 أشهر·discuss
Benchmark vs Valkey: https://github.com/barddoo/zedis/blob/main/benchmark-compari...
barddoo
·قبل 4 أشهر·discuss
Increase friction
barddoo
·قبل 5 أشهر·discuss
F
barddoo
·قبل 5 أشهر·discuss
Location: Brazil

Remote: Yes

Willing to relocate: No

Technologies: Nodejs, Java, Zig, Postgres, MySQL, MongoDB, AWS, GCP, Azure, SQL.

Résumé/CV: https://www.linkedin.com/in/charlesjrfonseca/

Email: [email protected]

Senior Backend (8+ yrs exp)

I'm a backend-focused software engineer with deep experience building scalable, cloud-native systems. I’ve worked with startups across Latin America, Europe, and the U.S., taking on roles that span backend development, cloud infrastructure, and DevOps. My main area of expetise within backend is database tunning / optimization.

Also, I write about databases and software development in https://charlesfonseca.substack.com.
barddoo
·قبل 6 أشهر·discuss
Mine is https://youtu.be/rX0ItVEVjHc?si=QQYeGPE3t3sxmsOp
barddoo
·قبل 7 أشهر·discuss
The Holy Bible mentioned.
barddoo
·قبل 8 أشهر·discuss
Author here. This is part 4 of my journey learning systems programming by building a Redis clone.

Happy to answer any questions about the implementation or benchmarks!
barddoo
·قبل 8 أشهر·discuss
Same. It’s good to know that other people feel the same way.
barddoo
·قبل 8 أشهر·discuss
The requests were made concurrently. I don't understand your question. Passing in an array or a pointer does not matter.
barddoo
·قبل 8 أشهر·discuss
Fair. The languages have to come up with something based on APIs that were not meant for that, like io_uring, etc.
barddoo
·قبل 8 أشهر·discuss
What changed, why it matters, and how to use the new API.
barddoo
·قبل 10 أشهر·discuss
The format was made for taking snapshots, it’s terrible for lookup.
barddoo
·قبل 10 أشهر·discuss
I didn’t know that, that’s pretty cool
barddoo
·قبل 10 أشهر·discuss
It’s not feasible to do that in a single threaded system. The main drawback of disk persistence is that you need a log of memory to keep the file buffer open and pointers. If the key you’re looking for is not on disk, you’ll get awful results, the rdb format will give you worst then Postgres performance. You have to use another file format to optimize for a larger cache
barddoo
·قبل 10 أشهر·discuss
That’s a good point, I should had renamed it. You can’t trust these big corp
barddoo
·قبل 10 أشهر·discuss
Redis dynamically allocates memory, the idea of the project is to pre allocate everything, so it’s by principle faster than Redis.
barddoo
·قبل 10 أشهر·discuss
I definitely plan to do that in the future
barddoo
·قبل 10 أشهر·discuss
Agree. I used it mostly for getting ideas, the memory management for example, Gemini listed so many different ways of managing memory I didn’t even know existed. I know I wanted to pre allocate memory like tigerbeetle does, so the hybrid approach was perfect. Essentially it has 3 different allocators, a huge one for the cache, a arena allocator for context, intermediate state like pub/sub and temp one, for requests. It was 100% Gemini’s idea.