redis amount of a strong cache component, can be deployed on windows and linux environment, which has five memory structure, wherein there is a List is a list, and it can achieve quene stack functions, i.e., function and queue stack.
Of course, using the install python, nodejs these would not have said it before.
Before node
client-> IIS / apache server -> 2M Thread-> redis server (windows / linux)
After the node
client->Node.JS(event driven)->redis server(windows/linux)
We can see that after nodeJS appear, when we communicate with redis, do not take the kind of original thread mechanism, but take event-driven, IO bottleneck is not the original, the original 8G memory support 4000 concurrent volume, now does not exist , to see this information, I think, for high concurrency module, we have no reason not to use nodeJS as the http server.
Install redis can use our development tools webstorm
terminal
npm install redis
The following information is output
C:\Users\bo\Desktop\WebProject>npm install redis
npm WARN package.json [email protected] No repository field.
[email protected] node_modules\redis
├── [email protected]
└── [email protected]
C:\Users\bo\Desktop\WebProject>
From the above we can see that the project directory already installed package redis