上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 26 下一页

jvm调优

摘要: 一、cpu飙升在线上有时候某个时刻,可能会出现应用某个时刻突然cpu飙升的问题。对此我们应该熟悉一些指令,快速排查对应代码。1.找到最耗CPU的进程指令:top2.找到该进程下最耗费cpu的线程指令:top -Hp pid3.转换进制printf "%x\n" 153324.过滤指定线程,打印堆栈信 阅读全文
posted @ 2017-10-18 11:29 rigidwang 阅读(155) 评论(0) 推荐(0)

spring boot 配置文件

摘要: # =================================================================== # COMMON SPRING BOOT PROPERTIES # # This sample file is provided as a guideline. Do NOT copy it in its # entirety to your own app... 阅读全文
posted @ 2017-10-13 11:19 rigidwang 阅读(298) 评论(0) 推荐(0)

K-Means 基本原理

摘要: http://www.cnblogs.com/zhzhang/p/5437778.html 阅读全文
posted @ 2017-09-25 16:23 rigidwang 阅读(118) 评论(0) 推荐(0)

shiro token 分析

摘要: 1.ShiroConfig.java 定义匿名用户可以访问的资源 filterMap.put("/webjars/**", "anon"); filterMap.put("/druid/**", "anon"); filterMap.put("/api/**", "anon"); filterMap 阅读全文
posted @ 2017-09-13 14:19 rigidwang 阅读(4677) 评论(0) 推荐(0)

angularjs 安装篇

摘要: 1.安装 npm prefix --查看安装目录,在win7下 npm install -g @angular/cli --全局安装 阅读全文
posted @ 2017-08-23 12:02 rigidwang 阅读(212) 评论(0) 推荐(0)

idea 快捷键

摘要: 参考:http://blog.csdn.net/qq_31655965/article/details/52788374 DEA的常用操作(快捷键) Alt+回车 导入包,自动修正 Ctrl+N 查找类 Ctrl+Shift+N 查找文件 Ctrl+Alt+L 格式化代码 Ctrl+Alt+O 优化 阅读全文
posted @ 2017-08-21 10:58 rigidwang 阅读(265) 评论(0) 推荐(0)

rabbitmq java queue

摘要: 1.连接抽象封装 package com.pccw.rabbitmq; import com.rabbitmq.client.Channel; import java.io.IOException; import com.rabbitmq.client.*; public abstract clas 阅读全文
posted @ 2017-08-17 11:30 rigidwang 阅读(199) 评论(0) 推荐(0)

spring cloud bus rabbitmq

摘要: 普通版本架构如下 项目如下: spring-cloud-config-server pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi= 阅读全文
posted @ 2017-08-16 16:49 rigidwang 阅读(417) 评论(0) 推荐(0)

rabbitmq 安装篇

摘要: 1.环境 2.安装erlang 和 mq http://www.linuxidc.com/Linux/2016-11/136735.htm 3.配置环境变量 cd ~ vim .bash_profile source .bash_profile 4.启动服务器 rabbitmq-server 5.开 阅读全文
posted @ 2017-08-16 13:14 rigidwang 阅读(128) 评论(0) 推荐(0)

spring cloud eureka

摘要: spring-cloud-eureka-server/pom.xml spring-cloud-eureka-userserver/pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.o 阅读全文
posted @ 2017-08-14 14:29 rigidwang 阅读(226) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 26 下一页