RepositoryKotlin
KT

ktorio/ktor

Framework for quickly creating connected applications in Kotlin with minimal effort

14.6kstars
1.3kforks
82issues
6views

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

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

2
TINIX TRENDING·Chủ đề: async

#2 Repository Của Tuần

2
TINIX TRENDING·Chủ đề: web-framework

#2 Repository Của Tuần

2
TINIX TRENDING·Chủ đề: asynchronous

#2 Repository Của Tuần

🚀 Ktor: Framework bất đồng bộ bằng Kotlin cho ứng dụng web và microservices

Ktor là framework không ràng buộc, dựa trên Kotlin coroutines, giúp xây dựng ứng dụng kết nối mạnh mẽ với công sức tối thiểu.

Ktor là một framework bất đồng bộ được viết hoàn toàn bằng Kotlin, dùng để tạo ra các ứng dụng web, microservices và nhiều hơn nữa. Được phát triển bởi JetBrains, Ktor tận dụng sức mạnh của Kotlin coroutines để cung cấp mô hình lập trình bất đồng bộ dễ sử dụng mà không làm phức tạp hóa mã nguồn.

✨ Điểm nổi bật

  • Không ràng buộc: Ktor không ép buộc công nghệ cụ thể cho logging, templating, persistence... cho phép lựa chọn tự do.
  • Bất đồng bộ toàn diện: Sử dụng Kotlin coroutines cho toàn bộ pipeline, tránh chặn luồng với I/O bất đồng bộ.
  • DSL khai báo: Các API của Ktor dựa trên hàm gọi với lambda, nhờ Kotlin DSL mà mã nguồn trông rất sạch và dễ đọc.
  • Hỗ trợ nhiều host: Chạy trên Netty, Jetty, hoặc bất kỳ servlet container nào hỗ trợ Servlet 3.0+.
  • Dễ dàng cấu hình: Hỗ trợ plugin Gradle để cấu hình BOM, task chạy và triển khai tự động.
  • Thân thiện kiểm thử: Cung cấp môi trường test giả lập server, giúp test nhanh mà không cần mạng thực sự.
  • Cộng đồng mạnh: Là dự án chính thức từ JetBrains, được hỗ trợ bởi cộng đồng và tài liệu tích cực.

💡 Vì sao đáng chú ý

Ktor nổi bật nhờ sự kết hợp giữa tính đơn giản và linh hoạt. Không như các framework truyền thống ép buộc kiến trúc, Ktor để người phát triển tự do kết hợp thành phần. Đặc biệt, khả năng sử dụng coroutines giúp viết code bất đồng bộ trở nên tự nhiên như đồng bộ, rất phù hợp cho microservices hoặc backend hiệu năng cao.


#Kotlin #WebFramework #Microservices #Async #OpenSource #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryDart
flutter/flutter

Flutter makes it easy and fast to build beautiful apps for mobile and beyond

180.4k
Oct 26, 2026
RepositoryPython
donnemartin/system-design-primer

Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

376.1k
Sep 15, 2026
Repository
getify/You-Dont-Know-JS

A book series (2 published editions) on the JS language.

184.8k
Feb 15, 2026
RepositoryKotlin
Kotlin/kotlinx.coroutines

Library support for Kotlin coroutines

13.8k
Oct 23, 2026
RepositoryTypeScript
angular/angular

Deliver web apps with confidence 🚀

101.1k
Oct 23, 2026
RepositoryTypeScript
expo/expo

An open-source framework for making universal native apps with React. Expo runs on Android, iOS, and the web.

53.1k
Oct 27, 2026
RepositoryRust
yewstack/yew

Rust / Wasm framework for creating reliable and efficient web applications

32.8k
Oct 25, 2026
RepositoryRust
rwf2/Rocket

A web framework for Rust.

25.8k
Oct 23, 2026
RepositoryRust
actix/actix-web

Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.

24.9k
Oct 25, 2026