1、Nignx双机主备(keepalive实现)
nginx进程需要与keepalive同生同死,才能保证主备(keepalive是监控的keepalive),脚本保证两个进程同生死。
https://blog.csdn.net/lbr2008/article/details/78811759
2、redis主从复制+哨兵(sentinel)实现高可用缓存框架
3台redis(主从复制)+3台sentinel监控,搭建高可用缓存框架
不论怎么切换主从节点,通过哨兵连接池JedisSentinePool始终可以返回当前的主节点连接。
https://blog.csdn.net/guduyishuai/article/details/72823535
3、