# 高速失敗

## フェイルファスト戦略とは？

大規模データ収集では、ネットワーク遅延、ブロッキング、異常応答などにより、収集タスクが長時間停滞したり、非効率的に待機することがあります。

Listly Enterpriseは、これらの問題を最小限に抑えるため、データ収集機能に\*\*「フェイルファスト戦略」\*\*を適用しています。

「フェイルファスト」機能を使用すると、グループ抽出中に一定の割合または数の失敗が検出された場合、グループ内の残りのすべてのタスクを停止し、次のタスクに移動するようシステムを設定できます。

***

## 使い方

{% stepper %}
{% step %}

#### ソースページを抽出後、\[+グループ]ボタンをクリック

<figure><img src="https://content.gitbook.com/content/I8js41AfLS5QdXKB7e8A/blobs/FdQCJIrnEp0fkIoUpOC9/fast%20fail%201.png" alt=""><figcaption></figcaption></figure>

**この機能は**[**グループ抽出**](https://help.listly.io/docs/ja/~/revisions/BRSLbUB6NrSu5yrQZiRv/getting-started/result-page-features/group-extraction)**タスク作成過程で設定できます。** ソースページを抽出後、結果ページ上部の **\[+グループ]** ボタンをクリックします。
{% endstep %}

{% step %}

#### 新しいグループにURLを入力後、フェイルファストオプションを設定

<figure><img src="https://content.gitbook.com/content/I8js41AfLS5QdXKB7e8A/blobs/8Zl44XyHPJP113aQGWoy/fast%20fail%202.png" alt=""><figcaption></figcaption></figure>

**新しいグループにURLを入力後、フェイルファストオプションを設定します。**

<mark style="color:red;">➊</mark> パーセンテージ設定：選択したパーセンテージでタスクが失敗すると、残りのタスクは失敗としてマークされます。

<mark style="color:yellow;">➋</mark> カウント設定：入力したカウント数でタスクが失敗すると、残りのタスクは失敗としてマークされます。<br>

テストのため、パーセンテージを30%に設定し、10個のURLを入力してグループを作成しました。失敗シナリオをシミュレートするため、意図的に間違ったURLを入力しました。

<figure><img src="https://content.gitbook.com/content/I8js41AfLS5QdXKB7e8A/blobs/SmiOVAjmglM61roBDlzZ/fast%20fail%203.png" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### タスクの進行状況を確認

以下は例の結果画面です。30%（10個のURLのうち3個）で抽出が失敗した場合、残りの7つのタスクが自動的にフェイルファスト処理されたことが確認できます。

<figure><img src="https://content.gitbook.com/content/I8js41AfLS5QdXKB7e8A/blobs/tu9yQQkeKKVSeJW1yCuV/fast%20fail%204.png" alt=""><figcaption></figcaption></figure>

このようにフェイルファスト機能を活用することで、特定の状況での不要な待機時間を削減し、**全体的なプロセス時間を大幅に短縮**できます。
{% endstep %}
{% endstepper %}


---

# 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://help.listly.io/docs/ja/getting-started/enterprise-solutions/fail-fast.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.
