 Nacos架构&原理
117 Nacos 性能报告 122 Nacos Naming 大规模测试报告 122 Nacos ⽣态 130 Nacos Spring 生态 130 Nacos Docker & Kubernetes 生态 137 Nacos 服务网格生态 148 Nacos Golang 生态 163 Nacos C# 生态 169 Nacos-Sync 简介 175 Nacos 最佳实践 179 的崛起,微服务多个模块逐步被划分,包括注册中心、配置中心,如果从 产品定位上,期望定位简单清晰,利于传播,我们需要分别开源我们内部产品,这样又会分散我们 品牌和运营资源。另外大部分客户没有阿里这么大的体量,模块拆分过细,部署和运维成本都会成 倍上涨,而且阿里巴巴也是从最早⼀个产品逐步演化成 3 个产品的,因此我们最终决定将内部三个 产品合并统⼀开源。定位为:⼀个更易于构建云原生应用的动态服务发现、配置管理和服务管理平 在系统开发过程中通常会将⼀些需要变更的参数、变量等从代码中分离出来独立管理,以独立的配 置文件的形式存在。目的是让静态的系统工件或者交付物(如 WAR,JAR 包等)更好地和实际的物 理运行环境进行适配。配置管理⼀般包含在系统部署的过程中,由系统管理员或者运维人员完成这 个步骤。配置变更是调整系统运行时的行为的有效手段之⼀。 配置管理 (Configuration Management) 在 Nacos 中,系统中所有0 码力 | 326 页 | 12.83 MB | 9 月前3 Nacos架构&原理
117 Nacos 性能报告 122 Nacos Naming 大规模测试报告 122 Nacos ⽣态 130 Nacos Spring 生态 130 Nacos Docker & Kubernetes 生态 137 Nacos 服务网格生态 148 Nacos Golang 生态 163 Nacos C# 生态 169 Nacos-Sync 简介 175 Nacos 最佳实践 179 的崛起,微服务多个模块逐步被划分,包括注册中心、配置中心,如果从 产品定位上,期望定位简单清晰,利于传播,我们需要分别开源我们内部产品,这样又会分散我们 品牌和运营资源。另外大部分客户没有阿里这么大的体量,模块拆分过细,部署和运维成本都会成 倍上涨,而且阿里巴巴也是从最早⼀个产品逐步演化成 3 个产品的,因此我们最终决定将内部三个 产品合并统⼀开源。定位为:⼀个更易于构建云原生应用的动态服务发现、配置管理和服务管理平 在系统开发过程中通常会将⼀些需要变更的参数、变量等从代码中分离出来独立管理,以独立的配 置文件的形式存在。目的是让静态的系统工件或者交付物(如 WAR,JAR 包等)更好地和实际的物 理运行环境进行适配。配置管理⼀般包含在系统部署的过程中,由系统管理员或者运维人员完成这 个步骤。配置变更是调整系统运行时的行为的有效手段之⼀。 配置管理 (Configuration Management) 在 Nacos 中,系统中所有0 码力 | 326 页 | 12.83 MB | 9 月前3
 Java 应用与开发 - Servlet 编程Servlet 配置 Servlet 部署 Servlet 示例 Java 应用与开发 Servlet 编程 王晓东 wangxiaodong@ouc.edu.cn 计算机科学与技术系 November 13, 2018 大纲 Web 基础 Servlet 概述 Servlet 编程 Servlet 生命周期 Servlet 配置 Servlet 部署 Servlet 示例 学习目标 Servlet 的在 Tomcat 服务器上的部署方式(war)。 大纲 Web 基础 Servlet 概述 Servlet 编程 Servlet 生命周期 Servlet 配置 Servlet 部署 Servlet 示例 大纲 Web 基础 Servlet 概述 Servlet 编程 Servlet 生命周期 Servlet 配置 Servlet 部署 Servlet 示例 大纲 Web Servlet 部署 Servlet 示例 Servlet 是主流 Web 框架的基础 JSP 和 JSF 都是建立在 Servlet 基础之上的,其他 Web 框架如 Struts、WebWork 和 Spring MVC 都是基于 Servlet。 大纲 Web 基础 Servlet 概述 Servlet 编程 Servlet 生命周期 Servlet 配置 Servlet 部署 Servlet0 码力 | 50 页 | 725.36 KB | 1 年前3 Java 应用与开发 - Servlet 编程Servlet 配置 Servlet 部署 Servlet 示例 Java 应用与开发 Servlet 编程 王晓东 wangxiaodong@ouc.edu.cn 计算机科学与技术系 November 13, 2018 大纲 Web 基础 Servlet 概述 Servlet 编程 Servlet 生命周期 Servlet 配置 Servlet 部署 Servlet 示例 学习目标 Servlet 的在 Tomcat 服务器上的部署方式(war)。 大纲 Web 基础 Servlet 概述 Servlet 编程 Servlet 生命周期 Servlet 配置 Servlet 部署 Servlet 示例 大纲 Web 基础 Servlet 概述 Servlet 编程 Servlet 生命周期 Servlet 配置 Servlet 部署 Servlet 示例 大纲 Web Servlet 部署 Servlet 示例 Servlet 是主流 Web 框架的基础 JSP 和 JSF 都是建立在 Servlet 基础之上的,其他 Web 框架如 Struts、WebWork 和 Spring MVC 都是基于 Servlet。 大纲 Web 基础 Servlet 概述 Servlet 编程 Servlet 生命周期 Servlet 配置 Servlet 部署 Servlet0 码力 | 50 页 | 725.36 KB | 1 年前3
 Apache Shiro 1.2.x Reference Manual 中文翻译Apache Shiro设计从一开始就支持任何应用程序——从最小的命令行应用程序最大的集群 web 应用程序。对于本教程,尽管我们创建一个简单的应用程序,你都知道运用相同的使用模 式来进行应用程序创建或部署。 本教程需要 Java 1.5 或更高版本。 我们还将使用 Apache Maven 作为我们的构建工具,当然 这对于 Apache Shiro 来说不是必须使用。你可能获得 Shiro 的 jars 这对许多应用有着很大的影响——直到 Shiro 出现,如果你需要 session 支持,你需要部署你 的应用程序到 Web 容器或使用EJB 有状态会话Bean。Shiro 的 Session 支持比这两种机制的 使用和管理更为简单,而且它在适用于任何程序,不论容器。 即使你在一个 Servlet 或 EJB 容器中部署你的应用程序,仍然有令人信服的理由来使用 Shiro 的Session 支持而不是容器的。下面是一个 的会话可以很容易地聚集通过使用任何随 手可用的网络缓存产品,像 Ehcache + Terracotta,Coherence,GigaSpaces,等等。 这意味着你可以为Shiro 配置会话群集一次且仅一次,无论你部署到什么容器中,你的会 话将以相同的方式聚集。不需要容器的具体配置! Heterogeneous Client Access - 与 EJB 或 web 会话不同,Shiro 会话可以被各种客户0 码力 | 196 页 | 2.34 MB | 1 年前3 Apache Shiro 1.2.x Reference Manual 中文翻译Apache Shiro设计从一开始就支持任何应用程序——从最小的命令行应用程序最大的集群 web 应用程序。对于本教程,尽管我们创建一个简单的应用程序,你都知道运用相同的使用模 式来进行应用程序创建或部署。 本教程需要 Java 1.5 或更高版本。 我们还将使用 Apache Maven 作为我们的构建工具,当然 这对于 Apache Shiro 来说不是必须使用。你可能获得 Shiro 的 jars 这对许多应用有着很大的影响——直到 Shiro 出现,如果你需要 session 支持,你需要部署你 的应用程序到 Web 容器或使用EJB 有状态会话Bean。Shiro 的 Session 支持比这两种机制的 使用和管理更为简单,而且它在适用于任何程序,不论容器。 即使你在一个 Servlet 或 EJB 容器中部署你的应用程序,仍然有令人信服的理由来使用 Shiro 的Session 支持而不是容器的。下面是一个 的会话可以很容易地聚集通过使用任何随 手可用的网络缓存产品,像 Ehcache + Terracotta,Coherence,GigaSpaces,等等。 这意味着你可以为Shiro 配置会话群集一次且仅一次,无论你部署到什么容器中,你的会 话将以相同的方式聚集。不需要容器的具体配置! Heterogeneous Client Access - 与 EJB 或 web 会话不同,Shiro 会话可以被各种客户0 码力 | 196 页 | 2.34 MB | 1 年前3
 Apache Shiro参考手册中文版从开始的那天起就被设计成能够支持任何应用程序——从最小的命令 行应用程序到最大的群集 Web 应用程序。即使我们为该教程创建的是一个简单的应 用,了解相同的使用模式适用于无论你的应用程序是怎样创建的及它被部署到哪里。 该教程需要 Java 1.5 及更高本。我们也使用 Apache Maven 作为我们的构建工具,但当然这不是使用 Apache Shiro 所 必需的。你可以获取 Shiro HTTP 环境! 如果在一个 Web 应用程序内部部署,默认的 Session 将会是基于 HttpSession 的。但,在一个非 Web 环境中,像这 个简单的教程应用程序,Shiro 将会默认自动地使用它的 Enterprise Session Management。这意味着你会使用相同的 API 在你的应用程序,在任何层,不论部署环境!这开辟了应用程序的新世界,由于任何需要会话的应用程序不必 这对许多应用有着很大的影响——直到 Shiro 出现,如果你需要 session 支持,你需要部署你的应用程序到 Web 容 器或使用 EJB 有状态会话 Bean。Shiro 的 Session 支持比这两种机制的使用和管理更为简单,而且它在适用于任何程 序,不论容器。 即使你在一个 Servlet 或 EJB 容器中部署你的应用程序,仍然有令人信服的理由来使用 Shiro 的 Session 支持而不是容0 码力 | 92 页 | 1.16 MB | 1 年前3 Apache Shiro参考手册中文版从开始的那天起就被设计成能够支持任何应用程序——从最小的命令 行应用程序到最大的群集 Web 应用程序。即使我们为该教程创建的是一个简单的应 用,了解相同的使用模式适用于无论你的应用程序是怎样创建的及它被部署到哪里。 该教程需要 Java 1.5 及更高本。我们也使用 Apache Maven 作为我们的构建工具,但当然这不是使用 Apache Shiro 所 必需的。你可以获取 Shiro HTTP 环境! 如果在一个 Web 应用程序内部部署,默认的 Session 将会是基于 HttpSession 的。但,在一个非 Web 环境中,像这 个简单的教程应用程序,Shiro 将会默认自动地使用它的 Enterprise Session Management。这意味着你会使用相同的 API 在你的应用程序,在任何层,不论部署环境!这开辟了应用程序的新世界,由于任何需要会话的应用程序不必 这对许多应用有着很大的影响——直到 Shiro 出现,如果你需要 session 支持,你需要部署你的应用程序到 Web 容 器或使用 EJB 有状态会话 Bean。Shiro 的 Session 支持比这两种机制的使用和管理更为简单,而且它在适用于任何程 序,不论容器。 即使你在一个 Servlet 或 EJB 容器中部署你的应用程序,仍然有令人信服的理由来使用 Shiro 的 Session 支持而不是容0 码力 | 92 页 | 1.16 MB | 1 年前3
 《Java 应用与开发》课程讲义 - 王晓东16.5.4 Servlet 映射 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218 16.6 Servlet 部署 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 16.7 Servlet 示例 . . . 象实例时导致。 • 永久区内存溢出相对少见,一般是由于需要加载海量的 Class 数据,超过了非堆 内存的容量导致。通常出现在 Web 应用刚刚启动时。因此 Web 应用推荐使用预 加载机制,方便在部署时就发现并解决该问题。 • 栈内存也会溢出,但是更加少见。 对内存溢出的处理方法不外乎这两种: 调整 JVM 内存配置; 优化代码。 创建阶段的 JVM 内存配置优化需要关注以下项: 堆内存优化 filefilter 9.6 注解(Annotation) 9.6.1 注解概述 是从 JDK5.0 开始新添加的一种语言特性,区别于代码注释(Comment)。 • 注解不直接影响程序的语义,开发和部署工具可以对其读取并以某种形式处理这 些注解,可能生成其他 Java 源文件、XML 文档或要与包含注解的程序一起使用 的其他构件。 • 本质上,注解就是可以添加到代码中的一种类似于修饰符的成分,可以用于声明0 码力 | 330 页 | 6.54 MB | 1 年前3 《Java 应用与开发》课程讲义 - 王晓东16.5.4 Servlet 映射 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218 16.6 Servlet 部署 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219 16.7 Servlet 示例 . . . 象实例时导致。 • 永久区内存溢出相对少见,一般是由于需要加载海量的 Class 数据,超过了非堆 内存的容量导致。通常出现在 Web 应用刚刚启动时。因此 Web 应用推荐使用预 加载机制,方便在部署时就发现并解决该问题。 • 栈内存也会溢出,但是更加少见。 对内存溢出的处理方法不外乎这两种: 调整 JVM 内存配置; 优化代码。 创建阶段的 JVM 内存配置优化需要关注以下项: 堆内存优化 filefilter 9.6 注解(Annotation) 9.6.1 注解概述 是从 JDK5.0 开始新添加的一种语言特性,区别于代码注释(Comment)。 • 注解不直接影响程序的语义,开发和部署工具可以对其读取并以某种形式处理这 些注解,可能生成其他 Java 源文件、XML 文档或要与包含注解的程序一起使用 的其他构件。 • 本质上,注解就是可以添加到代码中的一种类似于修饰符的成分,可以用于声明0 码力 | 330 页 | 6.54 MB | 1 年前3
 JAVA 应用与开发 - 控制台应用程序设计���的一����的��������可 ����文件�����/��为��的 Java ��文件�jar, java archive�� O jar 文件的主要作用 发布和使用类库 作为程序组件或者插件程序的基本部署单位 用于打包与组件相关联的资源文件 O 使用 jar 工具基本语法格式 1 >jar {-ctxui} [vfm0Me] [jar-file] [manifest-file] \ 2 [entry-point] ���的一����的��������可 ����文件�����/��为��的 Java ��文件�jar, java archive�� O jar 文件的主要作用 发布和使用类库 作为程序组件或者插件程序的基本部署单位 用于打包与组件相关联的资源文件 O 使用 jar 工具基本语法格式 1 >jar {-ctxui} [vfm0Me] [jar-file] [manifest-file] \ 2 [entry-point] ���的一����的��������可 ����文件�����/��为��的 Java ��文件�jar, java archive�� O jar 文件的主要作用 发布和使用类库 作为程序组件或者插件程序的基本部署单位 用于打包与组件相关联的资源文件 O 使用 jar 工具基本语法格式 1 >jar {-ctxui} [vfm0Me] [jar-file] [manifest-file] \ 2 [entry-point]0 码力 | 63 页 | 2.84 MB | 1 年前3 JAVA 应用与开发 - 控制台应用程序设计���的一����的��������可 ����文件�����/��为��的 Java ��文件�jar, java archive�� O jar 文件的主要作用 发布和使用类库 作为程序组件或者插件程序的基本部署单位 用于打包与组件相关联的资源文件 O 使用 jar 工具基本语法格式 1 >jar {-ctxui} [vfm0Me] [jar-file] [manifest-file] \ 2 [entry-point] ���的一����的��������可 ����文件�����/��为��的 Java ��文件�jar, java archive�� O jar 文件的主要作用 发布和使用类库 作为程序组件或者插件程序的基本部署单位 用于打包与组件相关联的资源文件 O 使用 jar 工具基本语法格式 1 >jar {-ctxui} [vfm0Me] [jar-file] [manifest-file] \ 2 [entry-point] ���的一����的��������可 ����文件�����/��为��的 Java ��文件�jar, java archive�� O jar 文件的主要作用 发布和使用类库 作为程序组件或者插件程序的基本部署单位 用于打包与组件相关联的资源文件 O 使用 jar 工具基本语法格式 1 >jar {-ctxui} [vfm0Me] [jar-file] [manifest-file] \ 2 [entry-point]0 码力 | 63 页 | 2.84 MB | 1 年前3
 Spring Boot 2.6.0-m2 Reference Documentation13.2.9. Kubernetes Probes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320 Checking External State with Kubernetes Probes. . . 373 14.1.2. Kubernetes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374 Kubernetes Container Lifecycle can provide information about their availability to the platform using infrastructure such as Kubernetes Probes. Spring Boot includes out-of-the box support for the commonly used “liveness” and “readiness”0 码力 | 708 页 | 13.90 MB | 1 年前3 Spring Boot 2.6.0-m2 Reference Documentation13.2.9. Kubernetes Probes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320 Checking External State with Kubernetes Probes. . . 373 14.1.2. Kubernetes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374 Kubernetes Container Lifecycle can provide information about their availability to the platform using infrastructure such as Kubernetes Probes. Spring Boot includes out-of-the box support for the commonly used “liveness” and “readiness”0 码力 | 708 页 | 13.90 MB | 1 年前3
 Spring Boot 3.0.0-M4 Reference Guide13.2.9. Kubernetes Probes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414 Checking External State with Kubernetes Probes. . . 475 14.1.2. Kubernetes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476 Kubernetes Container Lifecycle can provide information about their availability to the platform using infrastructure such as Kubernetes Probes. Spring Boot includes out-of-the box support for the commonly used “liveness” and “readiness”0 码力 | 832 页 | 14.77 MB | 1 年前3 Spring Boot 3.0.0-M4 Reference Guide13.2.9. Kubernetes Probes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414 Checking External State with Kubernetes Probes. . . 475 14.1.2. Kubernetes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476 Kubernetes Container Lifecycle can provide information about their availability to the platform using infrastructure such as Kubernetes Probes. Spring Boot includes out-of-the box support for the commonly used “liveness” and “readiness”0 码力 | 832 页 | 14.77 MB | 1 年前3
 Spring Boot 2.5.13 Reference Documentation 8.2.9. Kubernetes Probes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319 Checking External State with Kubernetes Probes . . 371 9.2.2. Kubernetes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371 Kubernetes Container Lifecycle can provide information about their availability to the platform using infrastructure such as Kubernetes Probes. Spring Boot includes out-of-the box 50 support for the commonly used “liveness” and “readiness”0 码力 | 702 页 | 13.82 MB | 1 年前3 Spring Boot 2.5.13 Reference Documentation 8.2.9. Kubernetes Probes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 319 Checking External State with Kubernetes Probes . . 371 9.2.2. Kubernetes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371 Kubernetes Container Lifecycle can provide information about their availability to the platform using infrastructure such as Kubernetes Probes. Spring Boot includes out-of-the box 50 support for the commonly used “liveness” and “readiness”0 码力 | 702 页 | 13.82 MB | 1 年前3
 Spring Boot 2.4.x-SNAPSHOT Reference Documentation6.2.9. Kubernetes Probes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277 Checking external state with Kubernetes Probes . . 320 7.2.2. Kubernetes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320 Kubernetes Container Lifecycle can provide information about their availability to the platform using infrastructure such as Kubernetes Probes. Spring Boot includes out-of-the box support for the commonly used “liveness” and “readiness”0 码力 | 650 页 | 13.12 MB | 1 年前3 Spring Boot 2.4.x-SNAPSHOT Reference Documentation6.2.9. Kubernetes Probes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277 Checking external state with Kubernetes Probes . . 320 7.2.2. Kubernetes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320 Kubernetes Container Lifecycle can provide information about their availability to the platform using infrastructure such as Kubernetes Probes. Spring Boot includes out-of-the box support for the commonly used “liveness” and “readiness”0 码力 | 650 页 | 13.12 MB | 1 年前3
共 159 条
- 1
- 2
- 3
- 4
- 5
- 6
- 16














