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

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
主站蜘蛛池模板: 曲水县| 平湖市| 桑植县| 霍林郭勒市| 古田县| 仙桃市| 金寨县| 遵化市| 任丘市| 永登县| 镇江市| 来安县| 固阳县| 阿荣旗| 甘南县| 苍南县| 应城市| 丹寨县| 布尔津县| 利辛县| 阳江市| 额尔古纳市| 靖宇县| 锡林浩特市| 金阳县| 长武县| 正定县| 仪陇县| 肇庆市| 临清市| 高阳县| 赤城县| 梁山县| 祥云县| 吴桥县| 宜兰市| 景德镇市| 都江堰市| 邹平县| 互助| 长乐市|