<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/jvqhwdbmm" -->

---
title: “이번 달도 밤샘 정산입니다.” — 정산 시스템은 어떻게 만들었을까 (실전편) | daily.dev
description: MUSINSA's settlement system (MASS) combines event-driven and batch processing architectures to handle financial reconciliation reliably. The system uses Kafka...
canonical: https://daily.dev/posts/jvqhwdbmm
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: “이번 달도 밤샘 정산입니다.” — 정산 시스템은 어떻게 만들었을까 (실전편) | daily.dev
og:description: MUSINSA's settlement system (MASS) combines event-driven and batch processing architectures to handle financial reconciliation reliably. The system uses Kafka...
og:url: https://daily.dev/posts/jvqhwdbmm
og:image: https://api.daily.dev/og/posts/jvQHwdbMM.png
og:image:alt: Post cover image
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# “이번 달도 밤샘 정산입니다.” — 정산 시스템은 어떻게 만들었을까 (실전편)

**[Korean Devs](https://daily.dev/sources/koreandevs)** · [@seyoungcho](https://daily.dev/seyoungcho) · 0 upvotes · 0 comments

## Summary

MUSINSA's settlement system (MASS) combines event-driven and batch processing architectures to handle financial reconciliation reliably. The system uses Kafka for real-time data ingestion with idempotent processing, Spring Batch for deterministic settlement calculations with explicit state management (PENDING/PROCESSING/COMPLETED), and Argo Workflow for orchestration on EKS. The architecture prioritizes recoverability over speed—failed batches can be safely rerun from scratch using state-based marking, and duplicate events are handled through upsert operations. DLT isolation keeps problematic events from blocking the pipeline (0.001% failure rate). MySQL serves as the single source of truth for settlement results, ensuring transactional consistency across retries and recovery scenarios.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://techblog.musinsa.com/%EC%9D%B4%EB%B2%88-%EB%8B%AC%EB%8F%84-%EB%B0%A4%EC%83%98-%EC%A0%95%EC%82%B0%EC%9E%85%EB%8B%88%EB%8B%A4-%EC%A0%95%EC%82%B0-%EC%8B%9C%EC%8A%A4%ED%85%9C%EC%9D%80-%EC%96%B4%EB%96%BB%EA%B2%8C-%EB%A7%8C%EB%93%A4%EC%97%88%EC%9D%84%EA%B9%8C-%EC%8B%A4%EC%A0%84%ED%8E%B8-74d8a5d22ba1>

## Similar posts on daily.dev

- [Eventually Consistent: How Do We Know the Systems Eventually Agree?](https://daily.dev/posts/eventually-consistent-how-do-we-know-the-systems-eventually-agree--6uzcackko) · Kogan.com · 0 upvotes · 1 comments
- [Payments Reliability Is Not a Database Problem. It's a Data Architecture Problem Part 1](https://daily.dev/posts/payments-reliability-is-not-a-database-problem-it-s-a-data-architecture-problem-part-1-3jmefs9d3) · Event Store · 2 upvotes · 0 comments
- [\[Video Podcast\] Building Resilient Event-Driven Microservices in Financial Systems with Muzeeb Mohammad](https://daily.dev/posts/video-podcast-building-resilient-event-driven-microservices-in-financial-systems-with-muzeeb-moham-nibbcctpc) · InfoQ · 0 upvotes · 0 comments
- [The Complete Guide to Message Queues and Event Streaming: Building Scalable, Reliable, and Real-Time Distributed Systems](https://daily.dev/posts/the-complete-guide-to-message-queues-and-event-streaming-building-scalable-reliable-and-real-time-72zillsk8) · Medium · 0 upvotes · 0 comments
- [How to Build Real-Time Data Monetization Systems](https://daily.dev/posts/how-to-build-real-time-data-monetization-systems-vvhzkzryo) · Confluent Blog · 6 upvotes · 0 comments

---

Tags: [#architecture](https://daily.dev/tags/architecture), [#kafka](https://daily.dev/tags/kafka), [#spring](https://daily.dev/tags/spring)

[View this post on daily.dev](https://daily.dev/posts/jvqhwdbmm)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/jvqhwdbmm","headline":"“이번 달도 밤샘 정산입니다.” — 정산 시스템은 어떻게 만들었을까 (실전편)","text":"Shared: “이번 달도 밤샘 정산입니다.” — 정산 시스템은 어떻게 만들었을까 (실전편)","url":"https://daily.dev/posts/jvqhwdbmm","datePublished":"2026-01-28T23:15:07.390Z","dateModified":"2026-05-14T02:13:21.010Z","author":{"@type":"Person","name":"SeyoungCho","url":"https://daily.dev/seyoungcho","image":"https://media.daily.dev/image/upload/s---QniJFEK--/f_auto/v1724901542/avatars/avatar_O3ucZSadxc0iLADSOH3rX","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":10490}},"image":"https://media.daily.dev/image/upload/s--0_ODbtD2--/f_auto/v1722860399/public/Placeholder%2008","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"sharedContent":{"@type":"WebPage","url":"https://api.daily.dev/r/P017SSvO8"},"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/koreandevs","name":"Korean Devs"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Korean Devs","item":"https://daily.dev/squads/koreandevs"},{"@type":"ListItem","position":3,"name":"“이번 달도 밤샘 정산입니다.” — 정산 시스템은 어떻게 만들었을까 (실전편)"}]}
```

