Quay lại Trending
RepositoryC#
ME

mehdihadeli/food-delivery-microservices

🍔 A practical and cloud-native food delivery microservices, built with .Net Aspire, .Net 10, Wolverine, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.

1.0ksao
197fork
74issue
1lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: message-broker

#1 Repository của tuần

2
TINIX TRENDING·Chủ đề: ddd-example

#2 Repository của tuần

2
TINIX TRENDING·Chủ đề: message-bus

#2 Repository của tuần

🍔 Mẫu thực tế về microservices giao hàng thực phẩm cloud-native bằng .NET

Dự án không tập trung vào nghiệp vụ mà là cách tiếp cận kỹ thuật với đủ thứ công nghệ hiện đại.

Food Delivery Microservices là một dự án mã nguồn mở minh họa cách xây dựng hệ thống microservices giao hàng thực phẩm bằng .NET Aspire, .NET 10, Wolverine, kết hợp các mô hình kiến trúc như Domain-Driven Design (DDD), CQRS, Vertical Slice Architecture và Event-Driven Architecture. Dự án này hướng tới việc triển khai một hệ thống phân tán có khả năng mở rộng cao, sử dụng RabbitMQ thông qua thư viện MassTransit để truyền tin bất đồng bộ giữa các dịch vụ.

✨ Điểm nổi bật

  • Microservice + Vertical Slice: Kết hợp kiến trúc microservice với cách tổ chức mã theo tính năng (vertical slice).
  • Event-Driven với RabbitMQ: Truyền thông bất đồng bộ giữa các dịch vụ bằng RabbitMQ và MassTransit.
  • DDD & CQRS: Áp dụng Domain-Driven Design trong các dịch vụ như Customer, Catalog và tách riêgbiệt read/write model bằng CQRS.
  • Event Sourcing: Sử dụng EventStoreDB trong các dịch vụ trạng thái quan trọng như Order và Payment.
  • Outbox & Inbox Patterns: Đảm bảo giao tiếp đáng tin cậy và xử lý trùng lặp tin nhắn.
  • OpenTelemetry: Theo dõi phân distribúd traces, metrics và logs với Jaeger, Prometheus, Loki.
  • Multi-database: PostgreSQL cho write, MongoDB và Elasticsearch cho read.
  • Testing đa cấp: Unit test, integration test và E2E test bằng testcontainers.
  • .NET Aspire orchestration: Quản lý toàn bộ hệ sinh thái dịch vụ và công cụ phát triển đám mây.

💡 Vì sao đáng chú ý

Khác với các dự án mẫu đơn giản, dự án này tích hợp nhiều mô hình thiết kế phần mềm nâng cao cùng lúc: từ DDD và CQRS cho logic nghiệp vụ, đến Event Sourcing và Outbox Pattern cho độ tin cậy, cho đến OpenTelemetry cho quan sát hệ thống. Đây là nguồn tham khảo tuyệt vời cho những ai muốn học cách thiết kế và triển khai một hệ thống microservices thực tế bằng .NET, đặc biệt là trong môi trường đòi hỏi độ tin cậy cao và khả năng mở rộng lớn.


#Microservices #DotNet #CloudNative #DDD #CQRS #EventDriven #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryC#
kgrzybek/modular-monolith-with-ddd

Full Modular Monolith application with Domain-Driven Design approach.

14.2k
Jun 4, 2024
RepositoryC#
meysamhadeli/booking-microservices

A practical microservices with the latest technologies and architectures like Vertical Slice Architecture, Event Sourcing, CQRS, DDD, gRpc, MongoDB, RabbitMq, Wolverine, and Aspire in .Net 10.

1.4k
Oct 6, 2026
RepositoryC#
mehdihadeli/food-delivery-modular-monolith

🌭 A practical and imaginary food and grocery delivery modular monolith, built with .Net 8, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.

425
Oct 14, 2026
RepositoryC#
mehdihadeli/game-leaderboard-microservices

🎮 Implementation of an imaginary Game Leader Board application, based on Microservices Architecture, Event Driven Architecture, Vertical Slice Architecture, Event Sourcing with EventStoreDB, Redis SortedSet, Redis Pub/Sub, SignalR and .Net 9.

66
Jul 12, 2025
RepositoryLua
Kong/kong

🦍 The API and AI Gateway

44.4k
Nov 23, 2026
RepositoryGo
istio/istio

Connect, secure, control, and observe services.

38.5k
Nov 30, 2026
RepositoryC#
dotnet/aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.

38.6k
Nov 30, 2026
RepositoryC#
BeyondDimension/SteamTools

🛠「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。

27.9k
Dec 1, 2026
RepositoryC#
icsharpcode/ILSpy

.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!

27.2k
Nov 30, 2026