Tech

Redis Basic

Rdis基础

当调用方发起注册请求时,注册中心会将当前的调用方IP与第一步生成的客户端实例绑定,同时在redis中增加调用方IP信息,将调用方IP信息以及service+method+branch组成的api信息记录到redis中;

PostgreSQL

聚合整理一下现有的内容。

安装PostgreSQL debian

# 安装
$ apt -y install postgresql postgresql-contrib
#查看版本
$ /usr/lib/postgresql/10/bin/postgres -V
postgres (PostgreSQL) 10.12 (Ubuntu 10.12-0ubuntu0.18.04.1)


  
  
  

Service Mesh

Basic info

微服务下一步,在服务层再做一层抽象,处理服务之间的通信、认证、流量控制,blablabla~ 关键词:SideCar

A service mesh is a configurable, low‑latency infrastructure layer designed to handle a high volume of network‑based interprocess communication among application infrastructure services using application programming interfaces (APIs).

Maven

Maven最初是为了更好地为Jakarta Turbine项目(已于2011年12月11日退役)打包而开发的工具。

Maven, a Yiddish word meaning accumulator of knowledge, began as an attempt to simplify the build processes in the Jakarta Turbine project. There were several projects, each with their own Ant build files, that were all slightly different. JARs were checked into CVS. We wanted a standard way to build the projects, a clear definition of what the project consisted of, an easy way to publish project information, and a way to share JARs across several projects.

“Maven” is really just a core framework for a collection of Maven Plugins.

Maven in five minutes

mvn命令是一段脚本程序。

kill -TERM Spring Boot应用

spring 接入SSO

  • **背景说明:**项目使用spring security框架,配置了自己的登录页面(采用ldap认证方式),权限控制依赖SecurityConfig
  • **需求说明:**有SSO登录的场景,希望已经在其他地方接入了SSO之后,访问当前项目时不需要再次登录
  • **实现核心:**增加自定义的Filter,处理SSO场景(通常检查http请求header中的token信息)根据token信息进行认证,验证通过后,忽略后续的filter

注意事项:

STF

STF的核心功能可以理解为:“同步图像” + “点击”。前者使用minicap完成,后者依赖minitouch。

虽然目前依然是3.4.1版本,但由于增加了很多定制化的内容,所以从——

docker practice

学习要扎实,知识点要进行应用才能被真正的理解。自己体悟出来的知识才是属于自己的知识。学习实践基础知识。如下每一个知识点准确理解后就构建了自己的Docker知识库

Algo issues

第一周题目

链表

简单:https://leetcode.com/problems/remove-duplicates-from-sorted-list/
简单:https://leetcode.com/problems/merge-two-sorted-lists
中等:https://leetcode.com/problems/swap-nodes-in-pairs/
中等:https://leetcode.com/problems/linked-list-cycle-ii
困难:https://leetcode.com/problems/reverse-nodes-in-k-group/

四维清单

灵感发端于国庆假期开元寺禅修打坐时的念想

与已相处

与人相处

与时相处

与世相处

ARTS

*******************************************************
**                  ARTS                            ***
**    Algorithm:    solve one leetcode problem      ***
**    Review:       review an English tech article  ***
**    Tip:          learn one working tip           ***
**    Share:        share your daily though         ***
*******************************************************