> For the complete documentation index, see [llms.txt](https://www.selinux.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.selinux.tech/reactive/reactor.md).

# Reactor

Reactor 是一种非阻塞式响应式编程框架。它可以直接与 Java8的函数式 API 集成到一起,尤其是CompletableFuture，Stream和Duration。它提供了可组合的异步 API，例如Flux 和Mon，并且广泛实现了Reactive Streams规范。

Reactor还支持与Reactor-Netty项目的非阻塞进程间通信。 适用于微服务架构，Reactor Netty为HTTP（包括Websockets），TCP和UDP提供了支持背压的网络引擎。 完全支持反应式编码和解码。

在这里提到了一个词 **背压(backpressure)** ，这在reactor 中是比较关键的一项内容，后面会详细介绍到。
