RabbitMQ重新实现了erlang的gen_server -> gen_server2。 本文从源码角度对比二者的实现。...
分类:
其他好文 时间:
2014-09-03 16:52:06
阅读次数:
234
1 官方入门教程。 2 官方命令使用文档 3 中文教程 第一部分: Hello World 第二部分: 工作队列(Work queues) 第三部分: 发布/订阅(Publish/Subscribe) 第四部分: 路由(Routing)
分类:
其他好文 时间:
2014-09-03 14:42:26
阅读次数:
152
# --*-- coding:utf-8 --*--import pikaimport datetimeconnection = pika.BlockingConnection(pika.ConnectionParameters( 'localhost'))channel...
分类:
其他好文 时间:
2014-09-03 12:39:16
阅读次数:
167
5 Topics
Receiving messages based on a pattern
Python | Java | Ruby | PHP| C#
转载请注明出处:jiq?钦's technical Blog
Topics
(using the .NET client)
前面的教程我们已经加强了我们的日志系统,我们将只具备无脑广播的 fa...
分类:
Web程序 时间:
2014-09-03 00:19:35
阅读次数:
438
1 # -*- coding:utf-8 -*- 2 #! /usr/bin/env python 3 ''' 4 Created on 2014年9月2日 5 ''' 6 import gevent 7 from gevent.queue import Queue, Empty 8 import....
分类:
其他好文 时间:
2014-09-02 19:42:25
阅读次数:
385
前段时间看完LINUX的线程,同步,信息号之类的知识之后,再在理解PYTHON线程感觉又不一样了。作一些测试吧。thread:模块提供了基本的线程和锁的支持threading:提供了更高级别,功能更强的线程管理的功能Queue:允许用户创建一个可以用于多个线程之间共享数据的队列数据结构#!/usr/...
分类:
编程语言 时间:
2014-09-02 19:35:25
阅读次数:
258
1 # -*- coding:utf-8 -*- 2 #! /usr/bin/env python 3 ''' 4 Created on 2014年9月2日 5 ''' 6 import gevent 7 from gevent.queue import Queue 8 import random....
分类:
其他好文 时间:
2014-09-02 19:32:15
阅读次数:
223
好久没有写了,最近项目用到RabbitMQ,找了一些资料试验,最后终于成功了,把安装配置的步骤分享给大家。一、Erlang安装具体过程:1.双击otp_win32_R16801.exe(不同版本可能命名字不一样),选择next2.默认安装在C盘,建议程序安装在非系统盘比如D盘(如果安装在C盘可能会出...
分类:
其他好文 时间:
2014-09-02 19:31:45
阅读次数:
466
Invitation Cards http://poj.org/problem?id=1511dij+priority queue o (elogv) 1 #include 2 #include 3 #include 4 #define mt(a,b) memset(a,b,sizeof(a...
分类:
其他好文 时间:
2014-09-02 15:23:45
阅读次数:
238
Routing
(using the .NET client)
Where to get help
If you're having trouble going through this tutorial you can contact usthrough the discussion list or
directly.
In the previou...
分类:
Web程序 时间:
2014-09-02 00:24:44
阅读次数:
320