在数位图像处理领域中,色彩采样是指在表示图像时使用较亮度信息为低的分辨率来表示色彩(色度)信息。当对模拟分量视频或者YUV讯号进行数字抽样时,一般会用到色度抽样。 目录 1原理 2色彩采样的用法 3抽样系统及比例 4各种抽样系统介绍 4.14:4:4... Read More | Share it now!
Author Archives: Huang Shiyang
Kafka跨集群同步工具——MirrorMaker
MirrorMaker是为解决Kafka跨集群同步、创建镜像集群而存在的;下图展示了其工作原理。该工具消费源集群消息然后将数据重新推送到目标集群。 MirrorMaker使用方式 启动mirror-maker程序需要一个或多个consumer配置文件、一个producer配置文件是必须的其他参数是可选的。 kafka-run-class.sh... Read More | Share it now!
Kafka集群数据同步MirrorMaker
修改配置文件 vim $KAFKA_HOME/config/consumer.properties... Read More | Share it now!
kafka partition(分区)与 group
一、 1、原理图 2、原理描述 一个topic... Read More | Share it now!
Why many developer’s end up using both Kafka and RabbitMQ
Bradley McAllister Many companies use the latest and greatest technologies to keep their applications e5cient and fast and to make themselves productive. Today I am going to examine the major features that developers look for in their messaging... Read More | Share it now!
OpenResty
OpenResty® OpenResty® 是一个基于 Nginx 与 Lua 的高性能 Web 平台,其内部集成了大量精良的 Lua 库、第三方模块以及大多数的依赖项。用于方便地搭建能够处理超高并发、扩展性极高的动态 Web... Read More | Share it now!
Nginx virtual host traffic status module
https://github.com/vozlt/nginx-module-vts Monitoring nginx status Version This document describes nginx-module-vts v0.1.18 released on 22 Jun 2018. Dependencies nginx Compatibility Nginx 1.15.x (last tested: 1.15.0) 1.14.x (last tested:... Read More | Share it now!
用Prometheus细化Nginx监控
国内用Nginx的比较多,Nginx的监控比较老的方案可能是通过跑脚本定期收集nginx的status模块的数据,或者监控nginx的日志;后来阿里的tengine在国内开始流行,于是诞生了很多不错的lua模块;但是这些监控方案在有新的监控需求的时候,可能就需要再修改脚本或者更改nginx... Read More | Share it now!
PromQL Functions
https://prometheus.io/docs/prometheus/latest/querying/functions/ Some functions have default arguments, e.g. year(v=vector(time()) instant-vector). This means that there is one argument v which is an instant vector, which if not provided it will... Read More | Share it now!
PromQL Operators
https://prometheus.io/docs/prometheus/latest/querying/operators/ Binary operators Prometheus’s query language supports basic logical and arithmetic operators. For operations between two instant vectors, the matching behavior can be... Read More | Share it now!