[TOC]
2020.2 版本后的 IDEA 暂时无法破解,所以使用历史版本:2019.3.5 [download] [破解教程] [jar包在网盘中]
需要安装的插件 Plugins:
Lombok 简化 Java 代码 (读作:lang bao ke)
Alibaba Java Coding Guidelines 阿里巴巴 Java 代码规范
版本:Java8 (Lambda 特性) ,可以使用最新版本
下载地址:Open-JDK
Java 的包管理器,类似于 JS 的 npm,yarn,Python 的 pip
Maven 是免安装的,没有安装包,下载下来解压就能用
前端打包工具:webpack,相当于 C++ 中的 Makefile 工具
[Wiki Microservices] 微服务是一个软件架构形式。在这个架构中,复杂的应用程序是由多个小而独立的进程组成,每一个 进程通过独立于语言的接口进行相互交流。这些服务较小、高度解耦且专注于完成一个小任务,使得 用模块化方法建设系统更加容易。
容器化,将不同的服务相互隔离,采用统一的网关进行流量管理(类似百度的 BFE):
服务发现:注册 + 心跳
服务通信
同步调用:REST,RPC
异步调用:消息队列(Kafka,RocketMQ,ActiveMQ),Redis
服务部署
WAR包形式基于tomcat部署
JAR包形式基于自带独立web容器部署(需占用独立端口)
Docker镜像方式部署,由 k8s 管理
应用服务框架:Spring Boot
微服务框架:Spring cloud
负载均衡:haproxy
注册中心,配置中心:nacos,eureka
Web 服务器:tomcat
认证:Spring Security Oauth2
Nacos is committed to help you discover, configure, and manage your microservices. It provides a set of simple and useful features enabling you to realize dynamic service discovery, service configuration, service metadata and traffic management.
ORM(Object Relational Mapping), ORM 举例:Django ORM,Java Mybatis puls
优点:替换 SQL 语句,提供获取数据的标准化,避免因为 SQL 查询导致的各种问题,例如 SQL 注入等问题
gRPC is a modern, open source remote procedure call (RPC) framework that can run anywhere. It enables client and server applications to communicate transparently, and makes it easier to build connected systems.
haproxy
[haproxy] The Reliable, High Performance TCP/HTTP Load Balancer.
haproxy 的主要功能就是负载均衡。
HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for very high traffic web sites and powers quite a number of the world's most visited ones. Over the years it has become the de-facto standard opensource load balancer, is now shipped with most mainstream Linux distributions, and is often deployed by default in cloud platforms.
nginx
nginx 的主要功能是 web 服务器。兼职负载均衡和反向代理。
keepalived
[keepalived] 是一款路由软件。
反向代理
SourceTree Git 的一个装饰器,提供了很多可视化工具
Postman API 设计软件