redis、memcache、mongoDB有哪些区别?
Memcached Memcached的优点: Memcached可以利用多核优势,单实例吞吐量极高,可以达到几十万QPS(取决于key、value的字节大小以及服务器硬件性能,日常环境中QPS高峰大约在4-6w左右)。适用于最大程度扛量。 支持直接配置为session handle。 坑少。 Memcached的局限性:...
View Articleshell同步指定文件
#!/bin/sh root='/Users/leandre/Desktop/work/test/r2/' count=0 logpath='/Users/leandre/Desktop/work/test/online.log' date=$(date +%Y-%m-%d_%H:%M:%S) echo $"----------------" >> $logpath echo...
View ArticleCentOS VPS创建pptpd VPN服务(转)
http://www.hi-vps.com/shell/vpn_centos6.sh #!/bin/bash function installVPN(){ echo "begin to install VPN services"; #check wether vps suppot ppp and tun yum remove -y pptpd ppp iptables --flush...
View ArticleCentOS下shadowsocks-libev一键安装脚本(转)
https://github.com/teddysun/shadowsocks_install #! /bin/bash PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin export PATH...
View Article
More Pages to Explore .....