
		<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
			<channel>
				<title>TungDaDev&#39;s Blog – stories, insights &amp; ideas</title>
				<link>https://www.tungdadev.com/blog</link>
				<description>A personal space on the cloud where I document my programming journey, sharing lessons, insights and resources for fellow developers.</description>
				<language>vi</language>
				<managingEditor>bthanhtung.ite@gmail.com (TungDaDev)</managingEditor>
				<webMaster>bthanhtung.ite@gmail.com (TungDaDev)</webMaster>
				<lastBuildDate>Sat, 29 Aug 2026 00:00:00 GMT</lastBuildDate>
				<atom:link href="https://www.tungdadev.com/tags/system-design/feed.xml" rel="self" type="application/rss+xml"/>
				
		<item>
			<guid>https://www.tungdadev.com/blog/automating-database-operations-at-scale</guid>
			<title>Vận hành database cluster: chạy lại script mà không mất Quorum</title>
			<link>https://www.tungdadev.com/blog/automating-database-operations-at-scale</link>
			<description>Script bảo trì cụm database đứt giữa chừng, chạy lại liệu có làm mất Quorum? Thiết kế tác vụ idempotent, state machine cho từng node và circuit breaker để dừng đúng lúc.</description>
			<pubDate>Sat, 29 Aug 2026 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (TungDaDev)</author>
			<category>database</category><category>devops</category><category>system-design</category>
		</item>
	
		<item>
			<guid>https://www.tungdadev.com/blog/cqrs</guid>
			<title>CQRS trong Spring Boot: tách đọc ghi cho hệ thống đặt vé cao tải</title>
			<link>https://www.tungdadev.com/blog/cqrs</link>
			<description>Tách luồng đọc và ghi bằng CQRS cho hệ thống đặt vé cao tải: cách làm với Spring Boot, quản lý giao dịch bằng Saga, Transactional Outbox và Read Model.</description>
			<pubDate>Sat, 22 Feb 2025 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (TungDaDev)</author>
			<category>architecture</category><category>system-design</category><category>spring-boot</category>
		</item>
	
		<item>
			<guid>https://www.tungdadev.com/blog/database-sharding-system-design</guid>
			<title>Database sharding: khi nào cần, chọn key nào và trả giá ra sao</title>
			<link>https://www.tungdadev.com/blog/database-sharding-system-design</link>
			<description>Primary đã nghẽn ghi và ai đó đề xuất shard? Ước tính dung lượng trước, rồi chọn sharding key, xử lý transaction xuyên shard và routing datasource trong Spring Boot.</description>
			<pubDate>Fri, 04 Sep 2026 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (TungDaDev)</author>
			<category>system-design</category><category>database</category><category>architecture</category>
		</item>
	
		<item>
			<guid>https://www.tungdadev.com/blog/discord-trillion-messages-scylladb</guid>
			<title>Discord từ Cassandra sang ScyllaDB: 177 node còn 72, p99 còn 15ms</title>
			<link>https://www.tungdadev.com/blog/discord-trillion-messages-scylladb</link>
			<description>Cụm Cassandra 177 node của Discord khổ vì GC pause, tombstone và hot partition. Cách họ chia bucket, thêm data service Rust và chuyển sang ScyllaDB còn 72 node.</description>
			<pubDate>Sun, 23 Aug 2026 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (TungDaDev)</author>
			<category>system-design</category><category>database</category><category>performance</category>
		</item>
	
		<item>
			<guid>https://www.tungdadev.com/blog/document-storage-system-design-banking</guid>
			<title>Thiết kế hệ thống lưu trữ tài liệu cho ngân hàng hàng chục triệu khách</title>
			<link>https://www.tungdadev.com/blog/document-storage-system-design-banking</link>
			<description>Ngân hàng triệu khách mỗi ngày sinh hàng triệu file CCCD, hợp đồng, sao kê. Kiến trúc lưu trữ: upload chia chunk, tầng nóng ấm lạnh, RBAC+ABAC, mã hoá envelope.</description>
			<pubDate>Sat, 31 Oct 2026 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (TungDaDev)</author>
			<category>system-design</category><category>fintech</category><category>security</category>
		</item>
	
		<item>
			<guid>https://www.tungdadev.com/blog/figma-horizontal-sharding-postgresql</guid>
			<title>Figma shard PostgreSQL: colo, DBProxy và failover 10 giây</title>
			<link>https://www.tungdadev.com/blog/figma-horizontal-sharding-postgresql</link>
			<description>PostgreSQL đã ở instance RDS to nhất mà vẫn nghẽn ghi. Figma tự shard ngang thế nào: colo, DBProxy parse SQL, shard logic bằng view và failover chỉ khoảng 10 giây.</description>
			<pubDate>Tue, 22 Sep 2026 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (TungDaDev)</author>
			<category>system-design</category><category>postgresql</category><category>database</category>
		</item>
	
		<item>
			<guid>https://www.tungdadev.com/blog/interview-experience-company-a-star</guid>
			<title>Kinh nghiệm phỏng vấn công ty A*: giải đề test Java backend 5 câu</title>
			<link>https://www.tungdadev.com/blog/interview-experience-company-a-star</link>
			<description>Giải đề test Java backend 5 câu của công ty fintech A*: đa luồng với CountDownLatch, sliding window, API 3 tầng mã hoá lai RSA+AES, SDLC và mô hình OSI, kèm các vòng phỏng vấn phía sau.</description>
			<pubDate>Wed, 28 Oct 2026 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (TungDaDev)</author>
			<category>interview</category><category>java</category><category>concurrency</category><category>system-design</category>
		</item>
	
		<item>
			<guid>https://www.tungdadev.com/blog/netflix-llm-recommendation</guid>
			<title>Netflix dạy LLM gợi ý phim để bạn xem mãi không dừng</title>
			<link>https://www.tungdadev.com/blog/netflix-llm-recommendation</link>
			<description>Hàng phim trúng gu tới mức hơi rợn trên Netflix đến từ đâu? Coi lịch sử xem như một câu văn, dạy foundation model và LLM (GenRec) đoán phim kế tiếp, và team nhỏ dùng lại được gì.</description>
			<pubDate>Sat, 17 Oct 2026 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (TungDaDev)</author>
			<category>system-design</category><category>llm</category><category>ai</category>
		</item>
	
		<item>
			<guid>https://www.tungdadev.com/blog/resilience4j-circuit-breaker-microservices</guid>
			<title>Resilience4j trong Spring Boot: circuit breaker, bulkhead, thứ tự chạy</title>
			<link>https://www.tungdadev.com/blog/resilience4j-circuit-breaker-microservices</link>
			<description>Cổng thanh toán đối tác treo 30 giây, và trang giỏ hàng chết theo. Cấu hình Circuit Breaker, Bulkhead, RateLimiter của Resilience4j trong Spring Boot và thứ tự chúng chạy.</description>
			<pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (TungDaDev)</author>
			<category>microservices</category><category>spring-boot</category><category>system-design</category>
		</item>
	
		<item>
			<guid>https://www.tungdadev.com/blog/saga-pattern</guid>
			<title>Saga pattern: rollback xuyên microservices bằng bước bù</title>
			<link>https://www.tungdadev.com/blog/saga-pattern</link>
			<description>Thanh toán fail khi đơn đã tạo, hàng đã giữ? Dùng Saga để rollback xuyên service: chọn choreography hay orchestration, viết bước bù idempotent, xử lý timeout.</description>
			<pubDate>Fri, 29 May 2026 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (TungDaDev)</author>
			<category>microservices</category><category>system-design</category><category>architecture</category>
		</item>
	
		<item>
			<guid>https://www.tungdadev.com/blog/shopify-case-study-redis-to-mysql</guid>
			<title>Shopify bỏ Redis, giữ chỗ tồn kho bằng MySQL: hot row và SKIP LOCKED</title>
			<link>https://www.tungdadev.com/blog/shopify-case-study-redis-to-mysql</link>
			<description>Black Friday 2025, đỉnh 5.1 triệu USD/phút, Shopify giữ chỗ tồn kho bằng MySQL thay Redis. Vì sao bỏ Redis, vì sao UPDATE trừ số lượng chưa đủ, và lời giải SKIP LOCKED.</description>
			<pubDate>Sat, 22 Aug 2026 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (TungDaDev)</author>
			<category>system-design</category><category>redis</category><category>database</category>
		</item>
	
		<item>
			<guid>https://www.tungdadev.com/blog/what-happens-when-you-press-enter-llm</guid>
			<title>Chuyện gì xảy ra bên dưới khi bạn prompt xong và nhấn Enter?</title>
			<link>https://www.tungdadev.com/blog/what-happens-when-you-press-enter-llm</link>
			<description>Theo chân một prompt từ lúc nhấn Enter tới khi chữ hiện lên màn hình: chat template, prefill, KV cache, decode, sampling và cách tối ưu chi phí, độ trễ LLM.</description>
			<pubDate>Wed, 07 Oct 2026 00:00:00 GMT</pubDate>
			<author>bthanhtung.ite@gmail.com (TungDaDev)</author>
			<category>llm</category><category>ai</category><category>performance</category><category>system-design</category>
		</item>
	
			</channel>
		</rss>
	