在windows上安装httpsqs:
httpsqs官方网站:http://code.google.com/p/httpsqs/
参考blog:http://blog.s135.com/httpsqs/
安装tokyocabinet-1.4.47.tar.gz时,提示:
tcutest.c:31: error: conflicting types for ‘iprintf’
\cygwin\usr\include/stdio.h:259: error: previous declaration of ‘iprintf’ was
here
修改iprintf为_iprintf
static void _iprintf(const char *format, ...);
make报错:
tcutest.c:117: error: conflicting types for ‘iprintf’
\cygwin\usr\include/stdio.h:259: error: previous declaration of ‘iprintf’ was
here
修改方法iprintf为_iprintf
/* print formatted information string and flush the buffer */
static void _iprintf(const char *format, ...){
va_list ap;
va_start(ap, format);
vprintf(format, ap);
fflush(stdout);
va_end(ap);
}
需要修改文件:
tcutest.c
tcumttest.c
tcucodec.c
tchtest.c
tchmttest.c
tcbtest.c
tcbmttest.c
tcftest.c
tcfmttest.c
tcttest.c
tctmttest.c
tcatest.c
tcamttest.c
之后安装成功!
安装httpsqs时报错:
install -m 4755 -o root httpsqs /usr/bin
install: invalid user `root'
修改Makefile
install $(INSTALL_FLAGS) -m 4755 -o Administrator httpsqs $(DESTDIR)/usr/bin
httpsqs安装成功!
$ make install
install -m 4755 -o Administrator httpsqs /usr/bin!
输入httpsqs -h
$ httpsqs -h
--------------------------------------------------------------------------------
------------------
HTTP Simple Queue Service - httpsqs v1.7 (April 14, 2011)
Author: Zhang Yan (http://blog.s135.com), E-mail: net@s135.com
This is free software, and you are welcome to modify and redistribute it under t
he New BSD License
-l <ip_addr> interface to listen on, default is 0.0.0.0
-p <num> TCP port number to listen on (default: 1218)
-x <path> database directory (example: /opt/httpsqs/data)
-t <second> keep-alive timeout for an http request (default: 60)
-s <second> the interval to sync updated contents to the disk (default: 5)
-c <num> the maximum number of non-leaf nodes to be cached (default: 1024)
-m <size> database memory cache size in MB (default: 100)
-i <file> save PID in <file> (default: /tmp/httpsqs.pid)
-a <auth> the auth password to access httpsqs (example: mypass123)
-d run as a daemon
-h print this help and exit
Use command "killall httpsqs", "pkill httpsqs" and "kill `cat /tmp/httpsqs.pid`"
to stop httpsqs.
Please note that don't use the command "pkill -9 httpsqs" and "kill -9 PID of ht
tpsqs"!
Please visit "http://code.google.com/p/httpsqs" for more help information.
--------------------------------------------------------------------------------
------------------
-l <ip_addr> 监听的IP地址,默认值为 0.0.0.0
-p <num> 监听的TCP端口(默认值:1218)
-x <path> 数据库目录,目录不存在会自动创建(例如:/opt/httpsqs/data)
-t <second> HTTP请求的超时时间(默认值:3)
-s <second> 同步内存缓冲区内容到磁盘的间隔秒数(默认值:5)
-c <num> 内存中缓存的最大非叶子节点数(默认值:1024)
-m <size> 数据库内存缓存大小,单位:MB(默认值:100)
-i <file> 保存进程PID到文件中(默认值:/tmp/httpsqs.pid)
-a <auth> 访问HTTPSQS的验证密码(例如:mypass123)
-d 以守护进程运行
-h 显示这个帮助
分享到:
相关推荐
httpsqs安装完整版,不必找国处网站资料,里面包含了libevent-2.0.12-stable.tar.gz tokyocabinet-1.4.48.tar.gz httpsqs-1.7.tar.gz 与安装说明文件,亲测没有BUG,做队列服务器神器。
NULL 博文链接:https://feitu-jeff.iteye.com/blog/1893741
libevent-2.0.12-stable.tar.gz tokyocabinet-1.4.47.tar.gz httpsqs-1.7.tar.gz httpsqs安装包和依赖包
googlecode上的httpsqs linux安装包与依赖包,httpsqs官方介绍见:http://zyan.cc/httpsqs/,在Ubuntu下安装遇到的问题及解决可以看下我的博客
HTTPSQS(HTTP Simple Queue Service)是一款基于 HTTP GET/POST 协议的轻量级开源简单消息队列服务,使用 Tokyo Cabinet 的 B+Tree Key/Value 数据库来做数据的持久化存储。 本包为1.7版 已包含所需要的依赖:...
主要是在调用存储在httpsqs消息队列中的消息 java客户端代码
httpsqs libevent tokyocabinet 安装包,附上安装文档(实际操作的)
httpsqs安装文档,用于缓存和队列,速度上不错
httpsqs安装需要的依赖包和安装包,下载安装即可使用 具体安装步骤可以自行百度
httpsqs 安装过程以及在安装过程中遇到错误的解决办法总结
包含httpsqs-1.7.tar.gz,libevent-2.0.12-stable.tar.gz,tokyocabinet-1.4.47.tar.gz,还有安装说明
本文档对HTTPSQS进行了简单的分析,以及在使用用发现的问题。
里面是 httpsqs4j队列所需要的所有jar包,
HTTPSQS 具有以下特征: ● 非常简单,基于 HTTP GET/POST 协议。PHP、Java、Perl、Shell、Python、Ruby等支持HTTP协议的编程语言均可调用。 ● 非常快速,入队列、出队列速度超过10000次/秒。 ● 高并发,...
Ubuntu Linux系统下配置Httpsqs,配置完成后有客户端测试代码 开发工具用的是 Eclipse 而不是MyEclipse
httpsqs4j httpsqs4j-java-client-1.0
httpsqs 从code.google.com/p/httpsqs自动导出作者zyan home 安装 ulimit -SHn 65535wget ...
HTTPSQS(HTTP Simple Queue Service)是一款基于 HTTP GET/POST 协议的轻量级开源简单消息队列服务,使用 Tokyo Cabinet 的 B+Tree Key/Value 数据库来做数据的持久化存储。源代码不超过700行,整个软件不超过900KB...
基于libev的缓存队列httpsqs源码和文档,并发性能还不错,基于http协议访问用起来比较方便
ucmq-基于张宴的httpsqs进行二次开发的C++消息队列轻量级