Questions

  1. What is the main advantage of using aiohttp regarding the requests module for HTTP requests?
  2. What are the classes from the concurrent.futures package that use the executor abstract base class?
  3. What is the most important concept within asyncio that allows us to write asynchronous code using either callbacks or coroutines?
  4. Which class from asyncio is a subclass of asyncio.Future and allows you to encapsulate and manage coroutines?
  5. Which keyword from asyncio tells the Python interpreter that the succeeding expression is going to take some time to evaluate so that it can spend that time on other tasks?
  6. Which Tornado class is responsible for defining the URIs that are available for the web server?
  7. Which Tornado class can perform HTTP requests asynchronously?
  8. Which method, when creating a protocol with Twisted, will be called for each portion of data that has been received?
  9. What is the event, when working with Twisted, that will be called every time an incoming connection is found, so that you can assign a protocol to it?
  10. What Twisted class can we use to create clients to establish a connection with the server?
..................Content has been hidden....................

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