---
title: "Hamed Yousefi (@hmdsefi) | Hashnode"
description: "Hamed Yousefi (@hmdsefi) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@hmdsefi"
---

@hmdsefi

# Hamed Yousefi

@hmdsefi · Dubai, UAE · Joined September 2026

### [Actors in Go: How lockstep Runs One Actor in Your Program and in Tests](https://hmdsefi.hashnode.dev/actors-in-go-how-lockstep-runs-one-actor-in-your-program-and-in-tests?utm_source=hashnode&utm_medium=feed)

lockstep is an actor runtime for Go. The same actor code runs in your program on a pool of worker goroutines, and in \`go test\` on a simulated network with virtual time.

15 min read · [hmdsefi.hashnode.dev](https://hmdsefi.hashnode.dev/actors-in-go-how-lockstep-runs-one-actor-in-your-program-and-in-tests?utm_source=hashnode&utm_medium=feed)

[Nov 2](https://hashnode.com/posts/actors-in-go-how-lockstep-runs-one-actor-in-your-program-and-in-tests/6ae8c0dc624b23afaf362e3e)

### [Actors in Production: How Discord, LinkedIn and Halo Use the Actor Model](https://hmdsefi.hashnode.dev/actors-in-production-how-discord-linkedin-and-halo-use-the-actor-model?utm_source=hashnode&utm_medium=feed)

Three companies, three runtimes, one idea: give every user, server or game its own actor, and let messages do the rest.

16 min read · [hmdsefi.hashnode.dev](https://hmdsefi.hashnode.dev/actors-in-production-how-discord-linkedin-and-halo-use-the-actor-model?utm_source=hashnode&utm_medium=feed)

[Oct 28](https://hashnode.com/posts/actors-in-production-how-discord-linkedin-and-halo-use-the-actor-model/6ae22a53e7c1c74c20f50883)

### [The Actor Model: Why It Was Invented and How It Works](https://hmdsefi.hashnode.dev/actor-model-why-it-was-invented-how-it-works?utm_source=hashnode&utm_medium=feed)

Fifty years ago, a few researchers proposed building programs out of things that share nothing and only send messages. Telephone switches, chat apps and game backends still run on that idea.

15 min read · [hmdsefi.hashnode.dev](https://hmdsefi.hashnode.dev/actor-model-why-it-was-invented-how-it-works?utm_source=hashnode&utm_medium=feed)

[Oct 26](https://hashnode.com/posts/actor-model-why-it-was-invented-how-it-works/6adf8a19ced913dfcfc71b6d)

### [Running a DAG in parallel](https://hmdsefi.hashnode.dev/running-a-dag-in-parallel?utm_source=hashnode&utm_medium=feed)

Start each task as soon as the tasks it needs are done

6 min read · [hmdsefi.hashnode.dev](https://hmdsefi.hashnode.dev/running-a-dag-in-parallel?utm_source=hashnode&utm_medium=feed)

[Oct 22](https://hashnode.com/posts/running-a-dag-in-parallel/6ada09281660b15a5976ebb8)

### [Cutting etcd/raft failover from 1.25 s to 343 ms, checked against 2,000 simulated leader crashes](https://hmdsefi.hashnode.dev/etcd-raft-failover-electiontick?utm_source=hashnode&utm_medium=feed)

A shorter election timeout tested under faults in faultline v0.1.1, with the one seed that took 1.78 seconds replayed

10 min read · [hmdsefi.hashnode.dev](https://hmdsefi.hashnode.dev/etcd-raft-failover-electiontick?utm_source=hashnode&utm_medium=feed)

[Oct 19](https://hashnode.com/posts/etcd-raft-failover-electiontick/6ad6103f685626bf5165c3f1)
