随笔分类 -  集群

1 2 3 4 下一页
nignx、haproxy、apache、keepalived
Elasticsearch集群和索引常用命令
摘要:https://www.cnblogs.com/pilihaotian/p/5846173.html REST API用途 ES提供了很多全面的API,大致可以分成如下几种: 1 检查集群、节点、索引的健康情况 2 管理集群、节点,索引数据、元数据 3 执行CRUD,创建、读取、更新、删除 以及 查 阅读全文
posted @ 2018-10-29 18:11 一天不进步,就是退步 阅读(218) 评论(0) 推荐(0) 编辑
数据库更新记录,但程序查不到新记录问题
摘要:背景: 公司提供了操作数据库的页面, 1.使用dml update一条记录 2. 使用sql select查询出新的记录 3. java程序直接去读这条记录,发现是旧的记录 4. 出去喝杯茶回来,发现查询到了新的记录 问题查找 1. 根据配置的数据库找dba确认schema是否正确 ok 2. 确认 阅读全文
posted @ 2016-09-08 17:14 一天不进步,就是退步 阅读(1871) 评论(1) 推荐(1) 编辑
zookeeper源码分析之二客户端启动
摘要:ZooKeeper Client Library提供了丰富直观的API供用户程序使用,下面是一些常用的API: create(path, data, flags): 创建一个ZNode, path是其路径,data是要存储在该ZNode上的数据,flags常用的有: PERSISTEN, PERSI 阅读全文
posted @ 2015-11-20 12:09 一天不进步,就是退步 阅读(11640) 评论(0) 推荐(2) 编辑
solrcloud集群搭建
摘要:solrcloud 集群搭建初始条件:1. 三台服务器 IP 地址分别为 192.168.1.133 192.168.1.134 192.168.1.135 2. 使用 solr-5.3.1,zookeeper-3.4.63. Linux version 3.16.0-23-generic,... 阅读全文
posted @ 2015-11-16 09:40 一天不进步,就是退步 阅读(440) 评论(0) 推荐(1) 编辑
shiro session管理
摘要:http://shiro.apache.org/session-management.htmlUsing SessionsThe SessionManagerSession TimeoutPer-Session TimeoutSession ListenersSession StorageEHCac... 阅读全文
posted @ 2015-07-10 10:52 一天不进步,就是退步 阅读(6581) 评论(0) 推荐(0) 编辑
graylog2 架构--转载
摘要:原文地址:http://docs.graylog.org/en/latest/pages/architecture.htmlArchitectural considerationsThere are a few rules of thumb when scaling resources for Gr... 阅读全文
posted @ 2015-05-08 09:22 一天不进步,就是退步 阅读(1933) 评论(0) 推荐(0) 编辑
How to Setup Replicated LevelDB Persistence in Apache ActiveMQ 5.9--转载
摘要:原文地址:https://simplesassim.wordpress.com/2013/11/03/how-to-setup-replicated-leveldb-persistence-in-apache-activemq-5-9/1)Install Apache ZooKeeper.2)Cha... 阅读全文
posted @ 2015-05-05 14:05 一天不进步,就是退步 阅读(2210) 评论(0) 推荐(0) 编辑
分布式ActiveMQ集群--转载
摘要:原文地址:http://shensy.iteye.com/blog/1752529回顾总结前一段时间学习的ActiveMQ分布式集群相关的知识,分享出来希望对看到的人有所帮助。一、分布式ActiveMQ集群的部署配置细节:官方资料:http://activemq.apache.org/cluster... 阅读全文
posted @ 2015-05-04 09:55 一天不进步,就是退步 阅读(313) 评论(0) 推荐(0) 编辑
True Zero Downtime HAProxy Reloads--转载
摘要:原文地址:http://engineeringblog.yelp.com/2015/04/true-zero-downtime-haproxy-reloads.htmlHAProxy: Cornerstone of Reliable WebsitesOne primary goal of the i... 阅读全文
posted @ 2015-04-23 18:22 一天不进步,就是退步 阅读(529) 评论(0) 推荐(0) 编辑
jgroup 概述--官方文档
摘要:原文地址:http://www.jgroups.org/manual/html/ch01.html#Chapter1.Overview1.1. Channel1.2. Building Blocks1.3. The Protocol StackGroup communication uses the... 阅读全文
posted @ 2015-04-20 10:07 一天不进步,就是退步 阅读(1069) 评论(0) 推荐(0) 编辑
Dubbo架构设计详解--转载
摘要:原文地址:http://shiyanjun.cn/archives/325.htmlDubbo是Alibaba开源的分布式服务框架,它最大的特点是按照分层的方式来架构,使用这种方式可以使各个层之间解耦合(或者最大限度地松耦合)。从服务模型的角度来看,Dubbo采用的是一种非常简单的模型,要么是提供方... 阅读全文
posted @ 2015-03-30 14:10 一天不进步,就是退步 阅读(830) 评论(0) 推荐(0) 编辑
Spring JTA multiple resource transactions in Tomcat with Atomikos example--转载
摘要:原文地址:http://www.javacodegeeks.com/2013/07/spring-jta-multiple-resource-transactions-in-tomcat-with-atomikos-example.htmlIn this tutorial we shall show... 阅读全文
posted @ 2015-03-19 17:38 一天不进步,就是退步 阅读(988) 评论(0) 推荐(0) 编辑
使用Java API创建(create),查看(describe),列举(list),删除(delete)Kafka主题(Topic)--转载
摘要:原文:http://blog.csdn.net/changong28/article/details/39325079使用Kafka的同学都知道,我们每次创建Kafka主题(Topic)的时候可以指定分区数和副本数等信息,如果将这些属性配置到server.properties文件中,以后调用Java... 阅读全文
posted @ 2015-03-04 16:55 一天不进步,就是退步 阅读(20044) 评论(1) 推荐(0) 编辑
Distributed locks with Redis--官方
摘要:原文:http://redis.io/topics/distlockDistributed locks with RedisDistributed locks are a very useful primitive in many environments where different proce... 阅读全文
posted @ 2015-02-28 10:02 一天不进步,就是退步 阅读(1890) 评论(0) 推荐(0) 编辑
redis的hash操作在集中式session中的应用
摘要:在集群部署时,为了高可用性的目的,往往把session进行共享,共享分为两种:session复制和集中式管理。redis在session集中式管理中可以起到比较大的作用。制约session集中式共享的两大因素:1. session必须有ha机制,集群中部分服务器发生故障时,保证session不丢失。... 阅读全文
posted @ 2015-02-27 09:52 一天不进步,就是退步 阅读(694) 评论(0) 推荐(0) 编辑
Load Balance Tomcat with Nginx and Store Sessions in Redis--reference
摘要:An awkward title, but that’s exactly what we’re going to do. For some time, I was looking for a way to push code to production systems with zero downt... 阅读全文
posted @ 2015-01-10 22:25 一天不进步,就是退步 阅读(643) 评论(0) 推荐(0) 编辑
基于keepalived对redis做高可用配置---转载
摘要:关于keepalived的详细介绍,请移步本人相关博客:http://wangfeng7399.blog.51cto.com/3518031/1405785功能ip地址安装软件主redis10.13.6.13redis,keepalived从redis10.13.6.16redis,keepaliv... 阅读全文
posted @ 2014-12-23 16:20 一天不进步,就是退步 阅读(386) 评论(0) 推荐(1) 编辑
rabbitmq Clustering Guide--官方
摘要:官方文档地址:http://www.rabbitmq.com/documentation.htmlA RabbitMQbrokeris a logical grouping of one or several Erlangnodes, each running the RabbitMQapplica... 阅读全文
posted @ 2014-11-04 11:22 一天不进步,就是退步 阅读(1933) 评论(0) 推荐(0) 编辑
10 Powerful Apache Modules--reference
摘要:Apache is the most popular web server in the world,because it is more efficient than others.Thrust of this article is to share some useful apache modu... 阅读全文
posted @ 2014-10-09 09:19 一天不进步,就是退步 阅读(317) 评论(0) 推荐(0) 编辑
Using SSL Certificates with HAProxy--reference
摘要:原文地址:http://serversforhackers.com/editions/2014/07/29/haproxy-ssl-termation-pass-through/OverviewIf your application makes use of SSL certificates, th... 阅读全文
posted @ 2014-07-31 10:15 一天不进步,就是退步 阅读(1661) 评论(0) 推荐(0) 编辑

1 2 3 4 下一页