Building Communication Channels with asyncio

Communication channels are a big part of applied concurrency in the field of computer science. In this chapter, we will cover the fundamental theories of transports, which are classes provided by the asyncio module in order to abstract various forms of communication channels. We will also cover an implementation of a simple echoing server-client logic in Python, in order to further illustrate the use of asyncio and concurrency in communication systems. The code for this example will serve as the foundation for an advanced example that will appear later in this book.

The following topics will be covered in this chapter:

  • The fundamentals of communication channels and applying asynchronous programming to them
  • How to build an asynchronous server in Python by using asyncio and aiohttp
  • How to make requests to multiple servers asynchronously and handle asynchronous file reading and writing
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.226.34.25