原创 redis 安裝簡介
1 cd /usr/local 2 yum install wget yum install -y tcl gcc gcc-c++ 3 wget http://download.redis.io/releases/redis-
原创 elasticsearch的安裝
elasticsearch(下面稱爲ES)是一個基於Lucene的搜索服務器 安裝jdk # yum install -y java-1.8.0-openjdk* #vim /etc/profile 在尾部加上 expo
原创 linux下ls、pwd等命令顯示command not found
環境變量PATH被修改了(我使用騰訊雲會出現此問題) 解決 export PATH=/bin:/usr/bin:$PATH 運行以上的語句,修改環境,解決。
原创 分佈式id leaf
全局唯一 局部唯一 按情況保持遞增 leaf 基於雪花算法 基於uuid 基於數據庫主鍵 基於redis 基於zk etcd 基於leaf 基於uuid-generater
原创 the cap theorem is a dundamental theorem in distributed system
Enthusiastic and well-organized java developer with 3 years of experience eager to join ** to bring in top -class java
原创 連接數據庫時出現2059錯誤
ALTER USER 'root'@'localhost' IDENTIFIED BY 'password' PASSWORD EXPIRE NEVER; #修改加密規則 ALTER USER 'root'@'localhost'
原创 好用的數據結構網站
https://www.cs.usfca.edu/~galles/visualization/Algorithms.html
原创 spring boot 整合 dubbo的簡單介紹
參考官方文檔 http://dubbo.apache.org/zh-cn/blog/download.html https://github.com/apache/dubbo-admin 接口實現類 @Service 用apach
原创 innoDb 聚集索引
聚集索引,包含所有數據 innoDb 非聚集索引 包含主鍵數據 myisam
原创 雲原生的簡單介紹
雲是和本地相對的,傳統的應用必須跑在本地服務器上,現在流行的應用都跑在雲端,雲包含了IaaS,、PaaS和SaaS。 原生就是土生土長的意思,我們在開始設計應用的時候就考慮到應用將來是運行雲環境裏面的,要充分利用雲資源的優點,比如️雲
原创 cover letter for english
i enjoy being challenged and engaging with projects that requre me to work ouside my comfort and knowledge set, as
原创 java.sql.SQLException: java.lang.ClassCastException: class java.math.BigInteger cannot be cast to**
pom 文件裏面mysql 驅動版本不匹配引起的 <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifac
原创 架構師不可不知的相關詞彙
分佈式 高併發 高性能 高可用 可擴展 松耦合 高內聚 可複用 邊界 安全 成本 規模 ,網格等等 服務 緩存 消息 搜索 調度 任務 數據 監控 配置 網關等 緩存 cache 緩衝 buffer
原创 hash表的增刪改查時間複雜度都是o(1)
hash表的增刪改查時間複雜度都是o(1)