近几年很火的云原生(Cloud Native)概念,到底怎么理解?
不清楚大家有没有像我一样的困惑:既然是原生,是不是就会有与其对应的“非云原生”?
但是好像也没有类似的概念,我就在想是不是因为“native”翻译为中文的原因,才导致这个“原生”有一些歧义。
看下Spring Cloud官方的解释:
https://cloud.spring.io/spring-cloud-commons/reference/html/
https://cloud.spring.io/spring-cloud-commons/multi/multi_pr01.html
Cloud Native is a style of application development that encourages easy adoption of best practices in the areas of continuous delivery and value-driven development. A related discipline is that of building 12-factor Applications, in which development practices are aligned with delivery and operations goals — for instance, by using declarative programming and management and monitoring. Spring Cloud facilitates these styles of development in a number of specific ways. The starting point is a set of features to which all components in a distributed system need easy access.
Many of those features are covered by Spring Boot, on which Spring Cloud builds. Some more features are delivered by Spring Cloud as two libraries: Spring Cloud Context and Spring Cloud Commons. Spring Cloud Context provides utilities and special services for the
ApplicationContext
of a Spring Cloud application (bootstrap context, encryption, refresh scope, and environment endpoints). Spring Cloud Commons is a set of abstractions and common classes used in different Spring Cloud implementations (such as Spring Cloud Netflix and Spring Cloud Consul).If you get an exception due to "Illegal key size" and you use Sun’s JDK, you need to install the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files. See the following links for more information:
Extract the files into the JDK/jre/lib/security folder for whichever version of JRE/JDK x64/x86 you use.
Spring Cloud is released under the non-restrictive Apache 2.0 license. If you would like to contribute to this section of the documentation or if you find an error, you can find the source code and issue trackers for the project at {docslink}[github].
从第一句话应该就能看出来,Cloud Native仅仅是application development的一种style。这种style包括continuous delivery(CD)和value-driven development。
再看VMware Tanzu的官方阐述:
Adoption of cloud-native application architectures is helping many organizations transform their IT into a force for true agility in the marketplace.
云原生是一种agility的architectures。
看到这,各位对云原生有没有多一点的理解呢?:)