HackerTrans
TopNewTrendsCommentsPastAskShowJobs

barddoo

no profile record

Submissions

Show HN: Verbum Vitae – Bible memorization [pt]

vvitae.com
2 points·by barddoo·w zeszłym miesiącu·0 comments

Building a Redis Clone in Zig–Part 5

charlesfonseca.substack.com
3 points·by barddoo·2 miesiące temu·0 comments

Zedis Update: Zig 0.16 and New I/O Interface

github.com
1 points·by barddoo·3 miesiące temu·1 comments

A Case for Monolith

charlesfonseca.substack.com
1 points·by barddoo·3 miesiące temu·0 comments

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

github.com
2 points·by barddoo·4 miesiące temu·0 comments

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

22 points·by barddoo·6 miesięcy temu·14 comments

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

charlesfonseca.substack.com
4 points·by barddoo·8 miesięcy temu·1 comments

Async/Await is finally back in Zig

charlesfonseca.substack.com
40 points·by barddoo·8 miesięcy temu·87 comments

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

github.com
158 points·by barddoo·10 miesięcy temu·111 comments

comments

barddoo
·24 dni temu·discuss
nice
barddoo
·w zeszłym miesiącu·discuss
nice, I was just deciding what to use. I tried nextcloud, but I'm running a php system on my machines.
barddoo
·3 miesiące temu·discuss
Benchmark vs Valkey: https://github.com/barddoo/zedis/blob/main/benchmark-compari...
barddoo
·4 miesiące temu·discuss
Increase friction
barddoo
·5 miesięcy temu·discuss
F
barddoo
·5 miesięcy temu·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 miesięcy temu·discuss
Mine is https://youtu.be/rX0ItVEVjHc?si=QQYeGPE3t3sxmsOp
barddoo
·7 miesięcy temu·discuss
The Holy Bible mentioned.
barddoo
·8 miesięcy temu·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 miesięcy temu·discuss
Same. It’s good to know that other people feel the same way.
barddoo
·8 miesięcy temu·discuss
The requests were made concurrently. I don't understand your question. Passing in an array or a pointer does not matter.
barddoo
·8 miesięcy temu·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 miesięcy temu·discuss
What changed, why it matters, and how to use the new API.
barddoo
·10 miesięcy temu·discuss
The format was made for taking snapshots, it’s terrible for lookup.
barddoo
·10 miesięcy temu·discuss
I didn’t know that, that’s pretty cool
barddoo
·10 miesięcy temu·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 miesięcy temu·discuss
That’s a good point, I should had renamed it. You can’t trust these big corp
barddoo
·10 miesięcy temu·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 miesięcy temu·discuss
I definitely plan to do that in the future
barddoo
·10 miesięcy temu·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.