Concurrent File I/O in Python: Faster File I/O With Threads, Processes, and AsyncIO
Brownlee, Jason
- 出版商: Independently Published
- 出版日期: 2023-08-16
- 售價: $1,470
- 貴賓價: 9.5 折 $1,397
- 語言: 英文
- 頁數: 414
- 裝訂: Quality Paper - also called trade paper
- ISBN: 9798857796528
- ISBN-13: 9798857796528
-
相關分類:
Python
海外代購書籍(需單獨結帳)
商品描述
File I/O can be faster in Python when using concurrency.
Don't worry if you are new to file I/O or concurrency, you will also get primers on the background required to get the most out of this book. Including:
Each tutorial is carefully designed to teach one critical aspect of how to bring concurrency to file I/O tasks. Stop copy-pasting code from StackOverflow answers.
Learn Python concurrency correctly, step-by-step.
- Discover how to write files 3x faster with processes!
- Discover how to read files 3x faster with processes and threads!
- Discover how to unzip files 4x faster with processes and threads!
- Discover so much more...
- How to perform file I/O operation in the background.
- How to concurrently read files from disk and write files to disk.
- How to concurrently delete files from disk.
- How to concurrently copy, move, and rename files on disk.
- How to efficiently append files on disk.
- How to concurrently zip files and unzip files on disk.
Don't worry if you are new to file I/O or concurrency, you will also get primers on the background required to get the most out of this book. Including:
- The importance of concurrency for high-performance file I/O.
- How to perform common file I/O operations in Python.
- How to use Python concurrency APIs including threading, multiprocessing, and asyncio.
- How to perform file I/O with coroutines in asyncio using the aiofiles library.
- How to use programming patterns for concurrent file I/O.
Each tutorial is carefully designed to teach one critical aspect of how to bring concurrency to file I/O tasks. Stop copy-pasting code from StackOverflow answers.
Learn Python concurrency correctly, step-by-step.