Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 24 for parallelism (0.08 seconds)

  1. docs/en/docs/async.md

    This idea of **asynchronous** code described above is also sometimes called **"concurrency"**. It is different from **"parallelism"**.
    
    **Concurrency** and **parallelism** both relate to "different things happening more or less at the same time".
    
    But the details between *concurrency* and *parallelism* are quite different.
    
    To see the difference, imagine the following story about burgers:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 23.4K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/async.md

    # 並行與 async / await { #concurrency-and-async-await }
    
    有關*路徑操作函式*的 `async def` 語法的細節與非同步 (asynchronous) 程式碼、並行 (concurrency) 與平行 (parallelism) 的一些背景知識。
    
    ## 趕時間嗎? { #in-a-hurry }
    
    <abbr title="too long; didn't read - 太長不看"><strong>TL;DR:</strong></abbr>
    
    如果你正在使用要求你以 `await` 語法呼叫的第三方函式庫,例如:
    
    ```Python
    results = await some_library()
    ```
    
    然後,使用 `async def` 宣告你的*路徑操作函式*:
    
    
    ```Python hl_lines="2"
    @app.get('/')
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 21.7K bytes
    - Click Count (0)
  3. docs/ko/docs/async.md

    ### 동시성이 병렬성보다 더 나은가요? { #is-concurrency-better-than-parallelism }
    
    아니요! 그게 이 이야기의 교훈은 아닙니다.
    
    동시성은 병렬성과 다릅니다. 그리고 많은 기다림이 포함되는 **특정한** 시나리오에서는 더 낫습니다. 그 때문에 웹 애플리케이션 개발에서는 일반적으로 병렬성보다 훨씬 더 낫습니다. 하지만 모든 것에 해당하진 않습니다.
    
    그래서 균형을 맞추기 위해, 다음의 짧은 이야기를 상상해보세요:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  4. docs/en/docs/_llm-test.md

    * the `Authorization` header
    * the forwarded header
    
    * the dependency injection system
    * the dependency
    * the dependable
    * the dependant
    
    * I/O bound
    * CPU bound
    * concurrency
    * parallelism
    * multiprocessing
    
    * the env var
    * the environment variable
    * the `PATH`
    * the `PATH` variable
    
    * the authentication
    * the authentication provider
    * the authorization
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  5. docs/zh/docs/async.md

    你可以同时拥有并行性和异步性,你可以获得比大多数经过测试的 NodeJS 框架更高的性能,并且与 Go 不相上下, Go 是一种更接近于 C 的编译语言([全部归功于 Starlette](https://www.techempower.com/benchmarks/#section=data-r17&hw=ph&test=query&l=zijmkf-1))。
    
    ### 并发比并行好吗? { #is-concurrency-better-than-parallelism }
    
    不!这不是故事的本意。
    
    并发不同于并行。而是在需要大量等待的特定场景下效果更好。因此,在 Web 应用程序开发中,它通常比并行要好得多,但这并不意味着全部。
    
    因此,为了平衡这一点,想象一下下面的短篇故事:
    
    > 你必须打扫一个又大又脏的房子。
    
    *是的,这就是完整的故事。*
    
    ---
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  6. docs/ja/docs/async.md

    ### 並行処理は並列処理より優れている? { #is-concurrency-better-than-parallelism }
    
    いいえ!それがこの話の教訓ではありません。
    
    並行処理は並列処理とは異なります。そして多くの待ち時間を伴う**特定の**シナリオでは優れています。そのため、一般に Web アプリ開発では並列処理よりはるかに適しています。しかし、すべてに対して最良というわけではありません。
    
    バランスを取るために、次の短い物語を想像してください。
    
    > 大きくて汚れた家を掃除しなければならない。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 27.9K bytes
    - Click Count (0)
  7. docs/tr/docs/async.md

    ### Eşzamanlılık ve Burgerler { #concurrency-and-burgers }
    
    Yukarıda anlatılan **asenkron** kod fikrine bazen **"eşzamanlılık"** (concurrency) da denir. **"Paralellik"**ten (parallelism) farklıdır.
    
    **Eşzamanlılık** ve **paralellik**, "aynı anda az çok birden fazla şeyin olması" ile ilgilidir.
    
    Ama *eşzamanlılık* ve *paralellik* arasındaki ayrıntılar oldukça farklıdır.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 23.7K bytes
    - Click Count (0)
  8. docs/fr/docs/async.md

    ### Concurrence + Parallélisme : Web + Machine Learning { #concurrency-parallelism-web-machine-learning }
    
    Avec **FastAPI** vous pouvez bénéficier de la concurrence qui est très courante en développement web (c'est l'attrait principal de NodeJS).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 27.3K bytes
    - Click Count (0)
  9. docs/pt/docs/async.md

    ### Concorrência + Paralelismo: Web + Aprendizado de Máquina { #concurrency-parallelism-web-machine-learning }
    
    Com **FastAPI** você pode levar a vantagem da concorrência que é muito comum para desenvolvimento web (o mesmo atrativo de NodeJS).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 25.2K bytes
    - Click Count (0)
  10. docs/ru/docs/async.md

    ### Конкурентность лучше параллелизма? { #is-concurrency-better-than-parallelism }
    
    Нет! Мораль истории не в этом.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 37.9K bytes
    - Click Count (0)
Back to Top