---
title: "Discussion on \"Building a Stock System That Cannot Be Wrong\" | Hashnode"
description: "Discussion on \"Building a Stock System That Cannot Be Wrong\". How event-sourced ledger architecture eliminated stock discrepancies in our optical retail app"
url: "https://hashnode.com/posts/building-a-stock-system-that-cannot-be-wrong/69bd603d475ca1797405a81a"
---

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

Discussion

# [Building a Stock System That Cannot Be Wrong](https://blog.alvinend.tech/building-a-stock-system-that-cannot-be-wrong?utm_source=hashnode&utm_medium=feed)

How event-sourced ledger architecture eliminated stock discrepancies in our optical retail app

Mar 20 · 13 min read · blog.alvinend.tech  
Read the article

-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#prisma](https://hashnode.com/tag/prisma)
-   [#postgresql](https://hashnode.com/tag/postgresql)

## Written by

[Alvin Endratno](https://hashnode.com/@alvinend)

@alvinend · Kyoto, Japan

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

Frontend engineer who loves coffee and dogs!

Hi there 👋 I'm an Indonesian who loves coffee and dogs!! Also, code sometimes. Currently studying at Kyoto College of Graduate Studies for Informatics. 🏫 Work as Full-Stack Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
