avatar
Articles
642
Tags
191
Categories
83
Home
Archives
Tags
Categories
About
ByteCodingGraal VM:云原生时代的Java(转载) Back to Home
Home
Archives
Tags
Categories
About

Graal VM:云原生时代的Java(转载)

Created2021-06-19|Cloud NativeJava
|Word Count:0|Reading Time:1mins
Author: zhongmingmao
Link: https://blog.zhongmingmao.top/2021/06/19/cloud-native-java/
Copyright Notice: All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.
Cloud Native
cover of previous post
Previous
声明式API -- 基本概念
命令式 vs 声明式命令式12# kubectl create -f nginx.yaml# kubectl replace -f nginx.yaml 声明式1# kubectl apply -f nginx.yaml 所谓声明式,即只需要提交一个定义好的API对象来声明所期待的状态即可 声明式API允许多个API写端,以PATCH的方式对API对象进行修改,而无需关心本地原始YAML文件的内容 声明式API最主要的能力:_PATCH API_ 声明式API是Kubernetes编排能力赖以生存的核心所在 本质区别 kubectl replace kubectl apply 执行过程 使用新API对象替换旧API对象 执行对旧API对象的PATCH操作类似:kubectl set image、kubectl edit kube-apiserver 一次只能处理一个写请求,否则可能产生冲突 一次能处理多个写请求,具备Merge能力 Kubernetes编程范式 使用控制器模式,与Kubernetes里API对象的『增、删、改、查』进行协作,进而完成用户业务逻辑的编写 ...
cover of next post
Next
容器编排 -- Job
编排对象 在线业务:Deployment、StatefulSet、DaemonSet 离线业务:Job、CronJob Jobjob.yaml Job对象不需要定义spec.selector(借助UUID) job.yaml12345678910111213141516apiVersion: batch/v1kind: Jobmetadata: name: pispec: template: spec: containers: - name: pi image: resouer/ubuntu-bc command: - sh - '-c' - "echo 'scale=10000; 4*a(1)' | bc -l" restartPolicy: Never backoffLimit: 4 创建Job123456# kubectl apply -f job.yamljob.batch/pi ...
Related Articles
cover
2025-01-24
Observability - Prometheus Server V1
OpenTelemetry vs Prometheus123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106关系概述:互补为主,渐趋融合OpenTelemetry 和 Prometheus 在指标领域主要是互补关系,而非冲突。两个项目都在积极合作以实现更好的互操作性。1. 定位差异Prometheus:- 完整的监控系统(采集、存储、查询、告警)- 专注于指标监控- 拉模型(Pull-based)为主- 拥有成熟的时序数据库和查询语言 PromQLOpenTelemetry:- 标准化的遥测数据收集框架- 支持三大信号:指标、追踪、日志- 推模型(Push-based)为主- 不提供存储和查询后端2. 技术模型对比| 特性 | Promet...
cover
2025-01-23
Observability - Prometheus Concepts
Data model Prometheus fundamentally stores all data as time series streams of timestamped values belonging to the same metric and the same set of labeled dimensions. Besides stored time series, Prometheus may generate temporary derived time series as the result of queries. Metric names and labelsEvery time series is uniquely identified by its metric name and optional key-value pairs called labels. Metric names Metric names SHOULD specify the general feature of a system that is measured e.g. http_req...
cover
2025-01-22
Observability - Prometheus Introduction
Summary Open source metrics and monitoring for your systems and services. Monitor your applications, systems, and services with the leading open source monitoring solution. Instrument, collect, store, and query your metrics for alerting, dashboarding, and other use cases. Feature Desc Dimensional data model Prometheus models time series in a flexible dimensional data model.Time series are identified by a metric name and a set of key-value pairs. Powerful queries The PromQL query language allow...
cover
2025-01-21
Observability - OpenTelemetry Java Zero Code
Java Agent Zero-code instrumentation with Java uses a Java agent JAR attached to any Java 8+ application. It dynamically injects bytecode to capture telemetry from many popular libraries and frameworks. It can be used to capture telemetry data at the “edges” of an app or service such as inbound requests, outbound HTTP calls, database calls, and so on. Getting startedSetup Download opentelemetry-javaagent.jar from Releases of the opentelemetry-java-instrumentation repository place the JAR in your pre...
cover
2025-01-20
Observability - OpenTelemetry Java
Intro to OpenTelemetry Java OpenTelemetry Java is the set of OpenTelemetry observability tools for the Java ecosystem. At a high level, it consists of the API, the SDK, and instrumentation. Overview The API is a set of classes and interfaces for recording telemetry across key observability signals. It supports multiple implementations, with a low-overhead minimalist Noop and SDK reference implementation provided out of the box. It is designed to be taken as a direct dependency by libraries, framewor...
cover
2025-01-05
Observability - OpenTelemetry Python
OverviewStatus and Releases Traces Metrics Logs Stable Stable Development Version supportOpenTelemetry-Python supports Python 3.9 and higher. Installation The API and SDK packages are available on PyPI, and can be installed via pip: 12pip install opentelemetry-apipip install opentelemetry-sdk In addition, there are several extension packages which can be installed separately as: 12pip install opentelemetry-exporter-{exporter}pip install opentelemetry-instrumentation-{instrumen...
avatar
zhongmingmao
Focus on Infrastructure.
Articles
642
Tags
191
Categories
83
Announcement
Things are always unexpected!
Recent Posts
Observability - Prometheus Server V1
Observability - Prometheus Server V12025-01-24
Observability - Prometheus Concepts
Observability - Prometheus Concepts2025-01-23
Observability - Prometheus Introduction
Observability - Prometheus Introduction2025-01-22
Observability - OpenTelemetry Java Zero Code
Observability - OpenTelemetry Java Zero Code2025-01-21
Observability - OpenTelemetry Java
Observability - OpenTelemetry Java2025-01-20
© 2015 - 2025 By zhongmingmao
Life is like a box of chocolates. You can't know what you'll eat until you open it.