Skip to content

Spring Boot 3 中利用虚拟线程处理批量 I/O:超时、限流、故障隔离与回退 | Chen's Blog #4

Description

@chen-wangming

https://chen-wangming.github.io/spring-boot-3-i-o/?t=202608020035

  1. 概述与适用边界虚拟线程是引入到 Java 平台的轻量级线程,由 JVM 调度到平台载体线程上执行。由于创建成本低且在执行阻塞 I/O 操作时会自动让出载体线程,虚拟线程非常适合 I/O 阻塞型任务。但必须明确的是,把阻塞 I/O 放入虚拟线程只表示实现了异步执行,并不等于非阻塞 I/O;同时,CPU 密集型任务是否适用异步编排取决于执行器配置、并行度和

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions