官术网_书友最值得收藏!

Implementing microservices with Python

Python is an amazingly versatile language.

As you probably already know, it's used to build many different kinds of applications--from simple system scripts that perform tasks on a server to large object-oriented applications that run services for millions of users.

According to a study conducted by Philip Guo in 2014, published on the Association for Computing Machinery (ACM) website, Python has surpassed Java in top U.S. universities, and is the most popular language to learn computer science.

This trend is also true in the software industry. Python sits now in the top five languages in the TIOBE index (http://www.tiobe.com/tiobe-index/), and it's probably even bigger in the web development land, since languages like C are rarely used as main languages to build web applications.

This book makes the assumption that you are already familiar with the Python programming language. If you are not an experienced Python developer, you can read the book Expert Python Programming, Second Edition, where you will learn advanced programming skills in Python.

However, some developers criticize Python for being slow and unfit for building efficient web services. Python is slow, and this is undeniable. But it still is a language of choice for building microservices, and many major companies are happily using it.

This section will give you some background on the different ways you can write microservices using Python, some insights on asynchronous versus synchronous programming, and conclude with some details on Python performances.

This section is composed of five parts:

  • The WSGI standard
  • Greenlet and Gevent
  • Twisted and Tornado
  • asyncio
  • Language performances
主站蜘蛛池模板: 永平县| 虎林市| 普陀区| 建昌县| 德清县| 根河市| 浪卡子县| 乌什县| 筠连县| 海宁市| 察隅县| 内江市| 儋州市| 焦作市| 和静县| 双鸭山市| 子洲县| 吉林市| 方山县| 大埔县| 锡林浩特市| 凯里市| 辽中县| 札达县| 务川| 萝北县| 称多县| 乌拉特后旗| 沅江市| 东兰县| 崇文区| 锦州市| 黑山县| 邛崃市| 格尔木市| 咸阳市| 大渡口区| 江油市| 安阳市| 新余市| 东明县|