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

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
主站蜘蛛池模板: 长宁区| 贵德县| 石家庄市| 商水县| 宜丰县| 左权县| 牙克石市| 通化市| 久治县| 宜城市| 尼勒克县| 鹤岗市| 汉阴县| 越西县| 安溪县| 镇原县| 克什克腾旗| 泾阳县| 达尔| 石景山区| 东城区| 遵义县| 思茅市| 平江县| 富源县| 平潭县| 嘉义市| 泰顺县| 博白县| 库伦旗| 海盐县| 阿克苏市| 海安县| 峨眉山市| 镇巴县| 皋兰县| 奉贤区| 天长市| 财经| 泸水县| 阿城市|