Anothr is now iNezha.com!
Sign Up
|
Login
|
Forum
|
Help
|
Feeds
Posts
Home
My iNezha
Friends
Feeds
Tools
Subscribe
AlbertLee 's Blog: Django中继承RabbitMQ消息中间件,实现消息异步处理
8/28/2008
From
Planet of Woodpecker.org.cn for CPUG
Summary:
目的: web访问中的事件直接传递到其他系统中,异步处理。
传统做法:将消息写入数据库 或文件中,另一个程序后台轮询读取处理。或者通过IPC, socket,发给对方处理程序。
缺点:耦合。两个系统需要共享一个存储空间,数据库或文件,或者直接发送到对方程序中。不论怎样,都需要知道处理程序的存在的具体位置。
利用MQ解决: 直接在django中发送给MQ一个消息,由订阅此消息的外围程序异步处理。
r...
Read More
Bookmark
|
Comment
|
Forward
|
Twitter
|
More articles from
Planet of Woodpecker.org.cn for CPUG
Subscribe it
Nicholas Ding: 玩了下 syslog
2008-12-02 00:09
Gawain's Jail: 拿到结婚证
2008-12-01 10:32
Limodou: UliPadµÄһЩ²¹³äÎĵµ
2008-11-30 12:09
Nicholas Ding: Komodo Edit 更新到了 5.0
2008-11-29 20:41
Limodou: ÔÚLinuxÏÂÔËÐÐUliPadÖÐÎÄÊäÈë·¨µÄÎÊÌâ
2008-11-28 16:08
80's Blog: Away3D Tutorial update
2008-11-28 14:55
Limodou: ¹ØÓÚwxPythonÖйØÓÚActiveXµÄеķâ×°
2008-11-28 12:37
HuangYi 's Blog: 日记11.25
2008-11-26 00:35
Comments:
-
Comments
Username:
Login
Sign Up
What's fun in inezha?
Track your favorite blogs
Just-in-time notification
Web-based RSS reader
Share your subscriptions
Register now
Related feeds
WordPress Planet
Planet Mozilla
Planet Python
Planet Jabber
Planet Mozilla
Planet Turbogears
Planet Debian
Planet GNOME
planet.freedesktop.org
Planet Eclipse
Recent feeds
Media Experiences 2 Go
My first notebook
FT.com - Companies Asia-Pacific
IDasia.org | Industrial Design Asia » Design Competitions
Anothr/tag/qzone
Wiley: All New Reference Titles
Quelques notes...
News Alerts--http://videos.1max2rallye.com/
Zakk's place
Wiley: All New Culinary & Hospitality Titles