- 授权协议: Apache
- 开发语言: Python
- 操作系统: 跨平台
- 软件首页: https://github.com/nameko/nameko
- 软件文档: https://nameko.readthedocs.io/
软件介绍
Nameko 是一个 Python 的微服务框架,可以让你专注于应用逻辑。
主要特性:
AMQP RPC and Events (pub-sub)
HTTP GET, POST & websockets
简化开发的命令行工具
单元和集成测试工具
示例代码:
# helloworld.py
from nameko.rpc import rpc
class GreetingService:
name = "greeting_service"
@rpc
def hello(self, name):
return "Hello, {}!".format(name)运行方法:
$ nameko run helloworld starting services: greeting_service ...
测试:
$ nameko shell >>> n.rpc.greeting_service.hello(name="ナメコ") 'Hello, ナメコ!'
High Performance JavaScript
Nicholas C. Zakas / O'Reilly Media / 2010-4-2 / USD 34.99
If you're like most developers, you rely heavily on JavaScript to build interactive and quick-responding web applications. The problem is that all of those lines of JavaScript code can slow down your ......一起来看看 《High Performance JavaScript》 这本书的介绍吧!
