可观测性
Overview 日志 Logging 追踪 Tracing 度量 Metrics →Read more
手握灵珠常奋笔, 心开天籁不吹箫
Overview 日志 Logging 追踪 Tracing 度量 Metrics →Read more
Spring Boot includes a number of additional features to help you monitor and manage your application when you push it to production. You can choose to manage and monitor your application by using HTTP endpoints or with JMX. Auditing, health, and metrics gathering can also be automatically applied to your application. Predefined Endpoints of Spring […] →Read more
When a Jenkins job executes, it sets some environment variables that you may use in your shell script, batch command, Ant script or Maven POM. The following table contains a list of all of these environment variables. Environment Variable BUILD_NUMBER The current build number, such as "153" BUILD_ID The current build id, such as "2005-08-22_23-59-59" […] →Read more
GStreamer Bus Overview The GstBus is an object responsible for delivering GstMessage packets in a first-in first-out way from the streaming threads (see GstTask) to the application. Since the application typically only wants to deal with delivery of these messages from one thread, the GstBus will marshall the messages between different threads. This is important […] →Read more
GstElement is the abstract base class needed to construct an element that can be used in a GStreamer pipeline. Please refer to the plugin writers guide for more information on creating GstElement subclasses. GstElement 是构建元素的抽象基类 The name of a GstElement can be get with gst_element_get_name and set with gst_element_set_name. For speed, GST_ELEMENT_NAME can be used […] →Read more
Gstreamer 提供了一些工具来生成 plugin 的样板代码 git clone https://gitlab.freedesktop.org/gstreamer/gst-template.git cd gst-template/gst-plugin/src ../tools/make_element MyFilter 然后我们就可以来构建自己的 plugin meson build ninja -C build 另外一个更加推荐的选择是采用 gst-plugins-bad 仓库中的 gst-element-maker 工具 →Read more
read rtsp and demux to video and audio gst-launch-1.0 rtspclientsink name=s location=rtsp://localhost:8554/mystream libcamerasrc ! video/x-raw, width=640, height=480, framerate=30/1 ! videoconvert ! videoscale ! clockoverlay time-format="%d/%m/%y %H:%M:%S" ! x264enc speed-preset=ultrafast bitrate=600 key-int-max=40 ! queue ! s.sink_0 alsasrc ! queue ! audioconvert ! opusenc ! s.sink_1 read and record gst-launch-1.5 v4l2src do-timestamp=true ! videoconvert ! videoscale ! […] →Read more
Micro Profile 5.0 →Read more
Quality of Service in GStreamer is about measuring and adjusting the real-time performance of a pipeline. The real-time performance is always measured relative to the pipeline clock and typically happens in the sinks when they synchronize buffers against the clock. When buffers arrive late in the sink, i.e. when their running-time is smaller than that […] →Read more
GraalVM 提前将您的 Java 应用程序编译成独立的二进制文件。 与在 Java 虚拟机 (JVM) 上运行的应用程序相比,这些二进制文件更小,启动速度快 100 倍,无需预热即可提供峰值性能,并且使用更少的内存和 CPU。 GraalVM 减少了应用程序的攻击面。 它从应用程序二进制文件中排除未使用的类、方法和字段。 它将反射和其他动态 Java 语言功能限制为仅构建时间。 它在运行时不会加载任何未知代码。 Spring Boot、Micronaut、Helidon 和 Quarkus 等流行的微服务框架以及 Oracle Cloud Infrastructure、Amazon Web Services、Google Cloud Platform 和 Microsoft Azure 等云平台都支持 GraalVM。 与在 Java 虚拟机 (JVM) 上运行的应用程序相比,通过配置文件引导的优化和 G1(垃圾优先)垃圾收集器,您可以获得更低的延迟以及同等或更好的峰值性能和吞吐量。 您可以像 IDE 中的任何其他 Java 开发工具包一样使用 GraalVM JDK →Read more