swadhinbiswas πŸš€ release: 2.0.8 β€” write-path fix (ADR-080), fork-safe GIL pool (ADR-081), HTTP/3 (ADR-082), Security DI fix, docs honesty pass Β· 8/6/2026
731fffe
102 lines Β· 3.6 KB
Raw Download

title: Glossary
description: Key terms and concepts used throughout the JustAPI documentation for a high-performance FastAPI alternative built in Rust.
keywords: glossary, terminology, FastAPI alternative, Rust web framework, JustAPI concepts

A

APIRouter β€” A class for grouping related routes into modular files. Supports the same decorators as JustAPIApp.

ASGI β€” Asynchronous Server Gateway Interface, the Python standard for async web servers (used by Starlette/FastAPI/Uvicorn). JustAPI is a native Rust runtime and does not implement ASGI; it runs its own pipeline for maximum throughput.

B

BackgroundTasks β€” Post-response task execution. Register callables to run after the HTTP response is sent.

Bulkhead β€” Resilience pattern that limits concurrent requests to prevent resource exhaustion.

C

Circuit Breaker β€” Resilience pattern that stops calling a failing service when errors exceed a threshold.

CORS β€” Cross-Origin Resource Sharing. HTTP mechanism for controlling cross-origin requests.

D

Depends β€” Dependency injection function. Resolves and injects callable results into route handlers.

Dependency Injection β€” Design pattern where a component's dependencies are provided externally.

G

GIL β€” Global Interpreter Lock. CPython's mechanism preventing multiple threads from executing Python bytecode simultaneously.

GIL Pool β€” Subsystem managing GIL-bound worker threads for Python handler execution.

gRPC β€” High-performance RPC framework using Protocol Buffers.

H

Hyper β€” Rust HTTP library used by JustAPI for HTTP/1.1 and HTTP/2 parsing.

J

JSON-RPC 2.0 β€” Lightweight remote procedure call protocol using JSON encoding.

JustAPIApp β€” The core application class. Register routes, middleware, plugins, and configuration.

M

matchit β€” Rust radix-trie router library. Provides O(1) path matching.

MCP β€” Model Context Protocol. Protocol for exposing tools and context to AI agents.

Middleware β€” Request/response processing layer that runs before and after route handlers.

N

Native Fast Path β€” Route execution entirely in Rust with native=True. Maximum performance (724k+ RPS).

O

OpenAPI β€” Standard specification for REST API documentation. JustAPI auto-generates OpenAPI 3.1 specs.

OTel β€” OpenTelemetry. Observability framework for distributed tracing and metrics.

P

PyO3 β€” Rust bindings for Python. Used to build the JustAPI Python extension module.

Pydantic β€” Python library for data validation. JustAPI supports Pydantic v2 models as route schemas.

R

Radix Trie β€” Tree data structure used by matchit for O(1) route matching.

Rustls β€” Rust TLS library. Provides TLS 1.2/1.3 support.

S

Schema β€” JustAPI's built-in validation class. Supports Field constraints and Rust-side validation.

serde_json β€” Rust JSON serialization library. Used for response serialization.

SSE β€” Server-Sent Events. HTTP protocol for server-to-client streaming.

sqlx β€” Rust SQL library with compile-time query checking. Powers JustAPI's database layer.

T

Tokio β€” Rust async runtime. Powers JustAPI's network I/O and concurrency.

Z

Zero-Copy β€” Data transfer technique avoiding unnecessary memory copies. Used at the Rust↔Python FFI boundary.

See Also