stone9981/httpsqs

文档完善请求

GoogleCodeExporter opened this issue · 1 comments


这份http://blog.s135.com/httpsqs/文档里的
"4、HTTPSQS 服务器使用文档" 小节

请麻烦更新补充以下说明:

如何创建不同的队列?

httpsqs -d -p 1218 -x /usr/local/project/httpsqs/q2
httpsqs -d -p 1218 -x /usr/local/project/httpsqs/q1

q1和q2为队列名字,对应于客户端 
http://x.x.x.x:1218/?name=q2&opt=put..
里的name参数。

方便后来人。





Original issue reported on code.google.com by BM888...@gmail.com on 10 Feb 2010 at 9:04

HTTPSQS同一个进程,支持多队列。

启动一个进程httpsqs -d -p 1218 -x /usr/local/project/httpsqs/即可。

http://x.x.x.x:1218/?name=q1&opt=put

http://x.x.x.x:1218/?name=q2&opt=put

就是两个不同的队列。

Original comment by blog.s13...@gmail.com on 18 Mar 2010 at 8:00