RepositoryRustHUHungary
rust-dd

rust-dd/tako

Multi-transport Rust web framework: HTTP/1.1, HTTP/2, HTTP/3, WebSocket, SSE, gRPC, TCP/UDP and Unix sockets behind one router, on Tokio or Compio.

185sao
9fork
1issue
4lượ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ủ đề: compio

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: hyper

#1 Repository của tuần

4
TINIX TRENDING·Chủ đề: tokio

#4 Repository của tuần

🐙 Tako — Framework đa giao thức Rust hiện đại

Tako ("một con bạc nhật" trong tiếng Nhật) là framework thực tế, thuận tiện và có khả năng mở rộng cho các dịch vụ vượt qua HTTP thông thường.

Tako là một framework web nhẹ và mạnh mẽ được viết bằng Rust, dựa trên Tokio và Hyper. Nó cho phép xây dựng một ứng dụng duy nhất hỗ trợ nhiều giao thức như HTTP/1.1, HTTP/2, HTTP/3, WebSocket, SSE, gRPC, TCP, UDP, Unix sockets và WebTransport chỉ với một mô hình routing, middleware và giám sát chung. Framework này hướng tới việc giảm đáng kể độ phứ tạp khi phát triển dịch vụ mạng đa giao thức.

✨ Điểm nổi bật

  • Đa giao thức: Hỗ trợ HTTP/1.1, HTTP/2, HTTP/3 (QUIC), WebSocket, WebTransport, SSE, gRPC, TCP, UDP, Unix sockets và PROXY protocol.
  • Hai nền tảng thời gian chạy: Cùng phong cách phát triển trên Tokio hoặc Compio, với TLS và HTTP/2 hỗ trợ trên cả hai.
  • Đầy đủ tính năng: Middleware, xác thực, đo lường, tín hiệu, hàng đợi, tắt dịch vụ êm ái và streaming là một phần của framework.
  • Hiệu suất cao: JSON dạng SIMD, trích xuất zero-copy tùy chọn, nén brotli/gzip/deflate/zstd, jemalloc và HTTP/3.
  • Trích xuất kiểu mạnh: Hơn 22 trình trích xuất: JSON (tùy chọn SIMD), form, query, path, headers, cookies, JWT, API keys, Accept, Range, protobuf, multipart.
  • Middleware đa dạng: Xác thực JWT/Basic/Bearer/API-key, CSRF, session, security headers, request IDs, giới hạn body, rate limiting, CORS, idempotency, compression, metrics.

💡 Vì sao đáng chú ý

Tako khác biệt bằng khả năng hỗ trợ đa giao thức trong một framework duy nhất, giúp tránh việc phải chuyển đổi giữa các framework khác nhau khi xây dựng dịch vụ mạng phức tạp. Điều này giúp giảm đáng kể chi phí phát triển và bảy trì. Framework đã được áp dụng thành công trong các dịch vụ thực tế như stochastic-api và shrtn.ink, chứng minh khả năng ổn định và hiệu suất trong môi trường sản xuất.


#Rust #WebFramework #Async #Tokio #Hyper #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.

RepositoryRust
mountain-loop/yaak

The most intuitive desktop API client. Organize and execute REST, GraphQL, WebSockets, Server Sent Events, and gRPC 🦬

19.6k
Nov 23, 2026
RepositoryPython
aio-libs/aiohttp

Asynchronous HTTP client/server framework for asyncio and Python

16.6k
Nov 27, 2026
RepositoryPython
sparckles/Robyn

Robyn is a Super Fast Async Python Web Framework with a Rust runtime.

7.4k
Nov 23, 2026
RepositoryGo
techschool/simplebank

Backend master class: build a simple bank service in Go

6.6k
Apr 20, 2025
RepositoryTypeScript
TanStack/query

🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

50.8k
Dec 3, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
156.6M
Jun 1, 2026
RepositoryRust
hyperium/hyper

An HTTP library for Rust

16.5k
Nov 30, 2026
RepositoryRust
grpc/grpc-rust

A native gRPC client & server implementation with async/await support.

12.6k
Dec 1, 2026
RepositoryRust
telemt/telemt

MTProxy for Telegram on Rust + Tokio

5.8k
Nov 15, 2026