Fast & Asynchronous: Accelerate Your Requests Using Python's asyncio

Written by dcast | Published 2020/04/21
Tech Story Tags: python | asyncio | async | beginner | learning | python-programming | aiohttp | await

TLDR Python's asyncio is a Python library that allows you to execute some tasks in a seemingly concurrent manner. It is commonly used in web-servers and database connections. In this tutorial, we'll build a sequential and an asynchronous version of a small program. Both programs will do the same: read a list of ISBNs (international identifier of books) Request the books' metadata to the Google Books API. Parse the results from the requests and print the results to the screen. In the next section we'll see how to make this algorithm faster using asyncio.via the TL;DR App

no story

Written by dcast | I write at dylancastillo.co
Published by HackerNoon on 2020/04/21