---
title: "Discussion on \"I Wrote a Circuit Breaker and a Bitcask-Style WAL Engine for My Face Recognition API (With Real Code)\" | Hashnode"
description: "Discussion on \"I Wrote a Circuit Breaker and a Bitcask-Style WAL Engine for My Face Recognition API (With Real Code)\". A few weeks ago I shared what I learned building FaceMark, my facial-recognition attendance system (NestJS + Angular + a Python AI service). This post is the technical deep-dive I promised myself I'd"
url: "https://hashnode.com/posts/i-wrote-a-circuit-breaker-and-a-bitcask-style-wal-engine-for-my-face-recognition-api-with-real-code/6b04d5c797399d8d1512219f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [I Wrote a Circuit Breaker and a Bitcask-Style WAL Engine for My Face Recognition API (With Real Code)](https://ziadtaha.hashnode.dev/i-wrote-a-circuit-breaker-and-a-bitcask-style-wal-engine-for-my-face-recognition-api-with-real-code?utm_source=hashnode&utm_medium=feed)

A few weeks ago I shared what I learned building FaceMark, my facial-recognition attendance system (NestJS + Angular + a Python AI service). This post is the technical deep-dive I promised myself I'd

14h ago · 6 min read · ziadtaha.hashnode.dev  
Read the article

-   [#nestjs](https://hashnode.com/tag/nestjs)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#python](https://hashnode.com/tag/python)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[Ziad Taha](https://hashnode.com/@ziadtaha)

@ziadtaha · Alexandria, Egypt

  
[View profile](https://hashnode.com/@ziadtaha)

Junior full-stack developer (Angular, NestJS, Python) writing about what I build and the mistakes I learn from.

Junior full-stack developer based in Alexandria, Egypt. I build with Angular, NestJS, TypeScript and Python, and write deep-dives about what I build - most recently FaceMark, a face-recognition attendance system with a hand-written circuit breaker and Bitcask-style WAL engine. Open to junior roles and freelance work: ziad.taha3456@gmail.com

## Responses 1

Markdown supported · ⌘↵ to post

[Rishabh Mishra](https://hashnode.com/@rushdeploy)

[11h ago](https://hashnode.com/posts/i-wrote-a-circuit-breaker-and-a-bitcask-style-wal-engine-for-my-face-recognition-api-with-real-code/6b04d5c797399d8d1512219f/comment/6b04feb51cf44cbd8a7e5792)

Nice work building this from scratch instead of just pulling in a library. The half-open canary is the part I would watch most, because one slow success can reopen the breaker too early. I would log the state changes so you can see exactly when it trips in real use.
