# Hystrix向导

## Hystrix是什么？

在介绍Hystrix是什么之前，我们先研究下断路器

> &#x20;断路器(英文名称:circuit-breaker，circuit breaker)是指能够关合、承载和开断正常回路条件下的电流并能关合、在规定的时间内承载和开断异常回路条件下的电流的开关装置。&#x20;

俗语一例

> 宿舍用吹风机、宿舍用电磁炉等操作除了引起舍管大叔的不满外，还会导致电流超过宿舍预设的最大阈值，断路器发生跳闸——“安全宿舍”；

而Hystrix就是类似断路器的作用，而跳闸后要做什么格外重要

> 跳闸之后，我们要检查室内的异常电器使用情况，做出判断处理，上闸。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://zzqfsy.gitbook.io/hystrix-tutorial/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
