CWYAlpha

Just another WordPress.com site

Thought this was cool: uWSGI features you want to abuse

leave a comment »


按照这个帖子,挖个坑

现代网站架构一般不能缺这几个东西:

  • serialization tool like Protobuf, Apache Thrift, JSON, etc. 跨进程、服务器共享数据
  • Pub-sub system, or RPC system 远程跨语言调用功能
  • async background workers 用于处理繁重数据
  • task queue/message queue 用于离线消息缓存和TTL支持,以及一些routing和过滤功能
  • signal system 跨进程异步操作
  • Key-value based cache or memory db 公用共享数据
  • task scheduler or cronjob 周期性任务

而这一切都可以在一个强大小巧稳定的Web服务器主进程中实现。这就是适合我这种偏执狂滥用的东西——uWSGI。

以后慢慢写了

from est's blog: http://blog.est.im/post/36341183105

Written by cwyalpha

十一月 24, 2012 在 3:27 下午

发表在 Uncategorized

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: