返回目录

众所周知

redis量个强大的缓存组件,可以部署在win32和linux环境之上,它有五大存储结构,其中有一种为列表list,它可以实现quene和stack的功能,即队列和堆栈的功能。

redis相关文章,可以看我的相关博文《Redis学习笔记~目录》,redis实现消息队列,可以看我的《Redis实现消息队列比MSMQ更方便》

node-redis-client相关下载地址为:https://github.com/fictorial/redis-node-client

说一下它们工作流程:

node之前

client->IIS/apache服务器->2M Thread->redis server(windows/linux)

node之后

client->Node.JS(event driven)->redis server(windows/linux)

我们可以看到,nodeJS出现之后,我们在与redis通讯时,不走原来的那种线程机制,而是走事件驱动,原来的IO瓶颈没有了,原来8G内存支持4000个并发量,现在不存在了,看到了这些信息,我想,对于高并发模块,咱们没有理由不使用nodeJS作为http服务器了吧,呵呵。

说干就干(下载地址

首先找到\redis-node-client-master\examples目录,运行命令node publisher.js

这时打开你的redis服务redis-server,我们用的是windows版的

这时,你的redis-server将到监视到由node.js发过来的数据,如图

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAjcAAAClCAIAAAAve0uYAAAez0lEQVR4nO2dYZLkOK6D8/6n8s12f0xUhlsiQYCSna5KfPGiw2VTIEDJWdu7OfNeL2OMMcYYY4wxHY4T/CNJ57+nvJnsx41kJvmOWd720IAU40cF9G3rZE/b4magsV/hO3X1vl/H9o5nQfw+vqLPjfL8Zx2ZFB+ZMMOtruYd6hnCOnyk8I1iFkpk54/vleVl5kk2vfQcbJ/zyuFhxBcVnkkvV/uglj9ebWYXG5sePzDK+JMNP8U3S4d8/euW9+XWfWd2iDGU6RwneD/koWmQ+WFOZ1aAs2OdlZmvEO7RLsG9XD2KT9HOpb5N2Z2H7/sNfedPA/w+4qbhbMH8JZPX1f8CzqPEO6Rq9hSG3S03njlh6w7xAc08ZF0y/7yfdYYJM+1wJQjL3D/+JbufPSISX+Jnlz6TC7QGebObvBSulPKGS6S5lQF5hlEwmupT5g7pkxzpMRHqZPqqn9IkFpmvUz+lujTZsLg3grOrLBVIK5lUpzysaktlxaqfbG64/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D/DJzCfzk9Uvzo2cQM+/mgv4wUskqWxEpH8QypgvRf2UMear4F8Kvz7GXIX/45sxA+pL4ZfIGGOMMcYYY4wxxhhjjDHGGGOMMeZPAr4WIn1jBBf3vkZ53ZdVMpONjuAfNVic26Vf11F9MjrZ07a4GWjs1+L5LJ3cvL/bO54Fj4m5OFwOzn/WkUnxkQkz3Opq3qGeIazDRwrfKGahRHb+Gr2GY6T6X1m7wvZeK4eHEV9UeCa9XNJI8UZft++XsrEpfn/Lvnjtls+ZRtgbduTWfWd2iDGU6RwneD/koWmQ+WFOZ3bgyuylTraWy9QB+1wU3MvVo/gU7Vzq25Tdefi+39AXv7+4ElvK6hu21SV/7335P0tbzf5CaqvdAAAAAElFTkSuQmCC" alt="" />

下面我们再来看一下通过客户端访问node.js进行redis存储的过程

如果你的电脑处于联网状态,那么安装可以把redis-node以npm模块的形式安装到node中,以后在引用时直接使用require("redis")就可以了,不需要写相对路径了,呵呵,安装它的方法如下:

npm install redis
npm install hiredis redis

这时,如果安装成功,就可以做实例了,呵呵!注意,我们的npm install redis这种安装模块的命令,是把模块安装到当前目录的,即你的工作项目如果需要redis,需要在工作项目中进行安装,如果你的工作项目目录是c:\noderedis,那么安装模块后,你的目

录会多一个node_modules文件夹,如图:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfkAAACuCAIAAAC6KONIAAAcY0lEQVR4nO2de1xT993H+dtt3a2vbnttz7O+NtfLOrd2HfXZ1nZTa3l8ytZt9rLWp1s7Z1WQmwiIFIq3iDdE8AKoSAEBuRMuIkJAQCu3ECEihAARIRJA5JpEQ/J7/kibh+ZyOEkOcPjl83m9X77iycnv/L6/k/PO1yNGN6nkBgAAALpxW/QZAAAAmG/gegAAoB+4HgAA6AeuBwAA+nGLRBAEQWgP+noAAKAfuB4AAOgHrgcAAPrhr+vd3NjOjf2eAADgmthtSaNYzX6dHdMWy6dm78PmKGYjsNl/IZaMXQn2joNPLADA/MGB62dvt/yt2Z72it7W+AyvWohV4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C9gN9qCY9299niffJ3+r2Wlr2T+7b/7dfYsAOq9rP4GIN1V/hPUPDSaz5SN25PxMZEH/v83T4gfhlfTiS9AJ//8QSc6Vqr+UM35cFvBxhXqm8iS5G1T5A9I+pKzUMs4KGp9P2cHo/b7xARx6I39SHTgOv5Gz/Dbfl6z9/hRwenc/YXGH6g+2bNypAk3Hzo1OuHusf5Y2WpP5R8JIeXFoU3waJ8o6VAJSQQaJ63VNdLUzJpPMZcTZun0R1pXxrH9JKb/TfDe2p7//8lXSuuD9HGZgr0b6J/LG9FBCoYuxdLpw31cNsHlJhq4dJHclgJLUHTGklMaSett5qn9MlTBMG8lbjjMXvAP5pisX7gOt1lQBO9UdtWev9jIE/E8f3dX5W756KVqWUtiNpZ+KQklJ7u327gxZSmDWO9cHuq1JPgLN7qj0gS0s1lPRYGaDYVF66hGlstQlkHNC3UksZhQ/tQ8SU/szyR235qbmyeWOGWYUpbUfSbn3AVWQ8q/YxkaUsc/vDO7un2oMofqneMT3D/ngJDsIcnx0H1BXxrX0AzGrRFH9Uzlpz5fU5JFK7PeWnDV+jdCPHXZKSbqOon6U+W/+3JQoSiWROpfvBpgbO+BRZQpfatZfyuhpcSTjmRD1RsSAXkwIn5evi4zD6ybpcvrUPmMizC36N/9ti6/3+z1/5W9H/KKWzuN8uY0YL05bo+rnXyZ5yjUBP1Z6KxGsj/V1PyD4wxYLWuT5YJ/Dh46R1Rf7VeiO3TjCol6/LdePjuPpBH6Lyo3oj+6P7AOq1SV2p1/hjuz5/ZSGW67MHc/9cJuCCCHfVe3ufD/J0/bP4tT78U+P/Bz6bxqIJnquKAAAAAElFTkSuQmCC" alt="" />

下面我们写一个实例,用来向redis服务器发set和hset串,然后再把redis服务器里所有的键名都读出来

var redis = require("redis");
var client = redis.createClient(); client.on("error", function (err) {
console.log("Error " + err);
}); client.set("string key", "string val", redis.print);
client.hset("hash key", "hashtest 1", "some value", redis.print);
client.hset(["hash key", "hashtest 2", "some other value"], redis.print);
client.hkeys("hash key", function (err, replies) {
console.log(replies.length + " replies:");
replies.forEach(function (reply, i) {
console.log(" " + i + ": " + reply);
});
client.quit();
});

运行结果如下:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfoAAACKCAIAAADNIh9rAAAICElEQVR4nO3cXYKqOBAGUJd2l3aX5tLmoWd6bPJXhIDYdc4TF6FSic6n7SCPv3///vnz5wHA7ybuAVIQ9wApiHuAFMQ9QAriHiCF17h/vpir9iwsavMiZf+bKbT23G2yEy29ZQqtPt+1nuc9lf3Xyd1eP5/O6+r10f///R33rw9EOmsdsLfO3fT7P+8/1+ULdVLcX9PnG185pw59aty/ccVuUmRT0OuqHvebvdV/TgTfp8f9I/wqXBL3a9fqpMX/lD6nveU/yztXvmZcr6srilfjvlqrPGC483v7tUKZp9X61VP21nkWemtR63/YZ2sphvMq6/QPnqgf7H/u+GqF8tFVfXb6KbWKL+wnMnTr0b397Goy0mrn+CP9DOu87mkNUR20fDTS5/S8WlrFF/YTGbr16Pj4SNwPm2gNU07v0X4KI9utOq2WXg+udtuaUaR4Z//EvJbUmR73YJ+Pdc/vxDpsHFyT+HZ83M66Tcx3eMpmZ6fPsu1dPew9dzN0eW5nT7X/eJ/D5svtzrqduh0ft7Nu9f0H476s2B940/3e5WjVeRQrtTm3PD4ynellfRaGFVoNLNyu9tOfQrDPR/f5LcdtbXdGH/bTOvjsddvV5K7F37Vuc+vz/Pl8lUPv7bzf/6PxOukUrB4/sT6tnXPrtmS7uj7DcXcdsN0//d19q2h04O6JnYJzdZ4/Xy4d8Zl29k8/PZtH965PcA3jLcVXY9fpS07suHLddrUXnNfEuu1q9fvg58+X2cTzsuvpC/Y50cbCEycaO7IdMTw+Oq/IlTnP/0TG27WgkUGr+4N1Xrvq9Dbsc/hop8nIdqvg3jpHxj3SZ+uw6X6C6zns6qTtveO25tXaP9FP/4loDbc5ZdW4kePjHfaXMTjusJld63bS9t5xW/Nq7l943f3zp9ZDnbM6ZeN1Hu3XynBqwT5bLUVaHc63Oq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b3O8+mIydI1sPteq3ho7sD7YEwHW/qhXEAO90Tdz76A3wZu6ZA5CCuAdIQdwDpCDuAVIQ9wApXHwh5sHrc1Zd3nPby4Ru2BLwS1x5IWbrn0dKrWpp89Dx+hN17vkOBPwS18d9+cl612fts+P+greT1sHiHjjRxXFfzbW5uG8VecZurlCt8yzM1e/UiUwNYL3r4/6x4sucTp0yvsvtTp3pmtX6E1PbdQpA1FtuonA87lvbr6OUx8TrdPqfqD8xNYDFLo7713+2Ho2U2mwH83pYJ376rvpB4h440R2uzDkv7ofvMQtrturPTQ1gsY++7r7cbiV1NYv7Sf2sfVqP72/V6c/r4PoANPlVLUAK4h4gBXEPkIK4B0hB3AOkIO4BUhD3AClcHPcHryhfdVn6DS9vd9E9cK4r435hUp/azKrAjdfp/OYLYI233CKt9Wi81KqWrq8/PFjcA6e4w6f7ubjfnNJ6R+nvf9SitnrKrvqdOvEJAqx0h7ifKFJN/HKU1nanznTNav252e09C2DsQ+O+tV1+mm4NGkztavG99SemBrDYHeK+zNBgke/tYF4P68RP31U/QtYD5/rdcd/J8eFhe2u26kemNny/ATjq+itzjsTZ5vRyu5XU1SzuJ/Wz9mk9vr9Vpz+vg+sD0ORXtQApiHuAFMQ9QAriHiAFcQ+QgrgHSEHcA6Qg7gFSEPcAKYh7gBTEPUAG/wDAkclHlcvbmQAAAABJRU5ErkJggg==" alt="" />

OK,这说明,我们的redis-node客户端已经和redis服务器可以正常通讯了,呵呵,下一讲中,我们将学习,通过客户端向node发post请求,将数据包通过node发到redis,敬请期待!

返回目录

NodeJS系列~第三个小例子,NodeJs与Redis实现高并发的队列存储的更多相关文章

  1. NodeJS系列~第四个小例子,NodeJs处理Get请求和Post请求

    返回目录 说在前 对于HTTP请求来说,我们通常使用的是Get和Post,除此之外还有put,delete等,而对于get来说,比较lightweight,只是对字符串的传输,它会被添加到URL地址里 ...

  2. Nodejs学习(三)-安装nodejs supervisor,提高点效率吧。

    安装好了express准备写项目,可是发现随便改一下js都要使用npm start重新启动才能生效,这个很不好,搜索一下发现有这么一个模块supervisor.那就安装一下吧. 1.安装,这个必须是全 ...

  3. CANoe 入门 Step by step系列(三)简单例子的剖析【转】

    最好的学习方式是什么?模仿.有人会问,那不是山寨么?但是我认为,那是模仿的初级阶段,当把别人最好的设计已经融化到自己的血液里,变成自己的东西,而灵活运用的时候,才是真正高级阶段.正所谓画虎画皮难画骨. ...

  4. 【转载】CANoe 入门 Step by step系列(三)简单例子的剖析

    来源:http://www.cnblogs.com/dongdonghuihui/archive/2012/09/26/2704623.html 最好的学习方式是什么?模仿.有人会问,那不是山寨么?但 ...

  5. Sqlserver系列(三) 小技巧

    (1)取别名 as 省略 as XX= select 'a' as name select 'a' name select name='a' 示例

  6. PL/SQL 三个小例子

    /* SQL语句 员工集合:select to_char(hiredate,'yyyy') from emp --> 光标 --> 循环--> 退出条件:notfound 变量 co ...

  7. Nginx系列篇三:linux中Nginx+keepalived做一个高可用的主从配置

    建议:先阅读搭建Nginx负载均衡之后再看此篇 备注: Nginx+keepalived的高可用有两种方式 一.主从配置 二.双主热备配置[下一篇] 准备: 标配四台服务器 Master:192.16 ...

  8. 既然nodejs是单线程的,那么它怎么处理多请求高并发的?

    单线程解决高并发的思路就是采用非阻塞,异步编程的思想.简单概括就是当遇到非常耗时的IO操作时,采用非阻塞的方式,继续执行后面的代码,并且进入事件循环,当IO操作完成时,程序会被通知IO操作已经完成.主 ...

  9. 面试系列15 如何保证Redis的高并发和高可用

    就是如果你用redis缓存技术的话,肯定要考虑如何用redis来加多台机器,保证redis是高并发的,还有就是如何让Redis保证自己不是挂掉以后就直接死掉了,redis高可用 我这里会选用我之前讲解 ...

随机推荐

  1. android json解析详细介绍之gson

    废话不多说,什么json是轻量级数据交换标准:自己百度去深入了解:这里有三种json解析工具.本人只用过其中两种:    1.Google Json利器之Gson   评价:简单,方便. 2.阿里巴巴 ...

  2. 16位汇编 多文件 intel汇编 编译器masm5.0 调用子程序库即静态库的自定义函数 WINDOWS

    ;以下是16位汇编 创建静态库,并调用静态库中的函数 ;多文件汇编格式 ;编译方法(此处用的是masm 5.0,如果是其他的编译器,有可能不能编译) ;第一种,编译方法 ;1.masm main.as ...

  3. Java 第8章 循环结构进阶

    循环结构进阶 什么是二重循环? 二重循环的执行顺序是什么?

  4. UIImagePickerController在ios10环境一打开就crash的问题

    在之前的系统环境下,UIImagePickerController都可以顺利打开.但是自从手机升级了ios10以后,每次打开相机和照片库都会直接崩溃. 通过google搜索找到StackOverflo ...

  5. react通过自己的jsx语法将两者放在一起通过虚拟dom来渲染

    目前较为流行的react确实有很多优点,例如虚拟dom,单向数据流状态机的思想.还有可复用组件化的思想等等.加上搭配jsx语法和es6,适应之后开发确实快捷很多,值得大家去一试.其实组件化的思想一直在 ...

  6. 黑马程序员_Java基础:集合总结

    ------- android培训.java培训.期待与您交流! ---------- 一.集合概念 相信大家都知道,java是一门面向对象的编程语言,而对事物的体现都是以对象的形式,所以为了方便对多 ...

  7. (转)Linux的启动过程

    原文链接:http://www.ruanyifeng.com/blog/2013/08/linux_boot_process.html 半年前,我写了<计算机是如何启动的?>,探讨BIOS ...

  8. pushState 和 replaceState

    使用此方法浏览器前进后退仍然可查看对应内容 设置值 history.pushState({}, "页面标题", "xxx.html"); history.rep ...

  9. STAF no JSTAF in java.library.path 的终极解决办法

    最近两天在研究利用STAF 实现程序更新包的自动部署测试.运行Demo代码时遇到一个坑.我的安装路径是默认的.C:\STAF\samples\demo在命令行窗口用执行命令:java STAFDemo ...

  10. B树系列

    参见 http://blog.csdn.net/quitepig/article/details/8041308