xdstack / httpsqs

Automatically exported from code.google.com/p/httpsqs
1 stars 0 forks source link

文档完善请求 #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

这份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

GoogleCodeExporter commented 8 years ago
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