Home
fozu的技术站
Cancel

utf-8

UTF-8 is a variable-length character encoding standard used for electronic communication. Defined by the Unicode Standard, the name is derived from Unicode (or Universal Coded Character Set) Transf...

git merging

Conflicts <<<<<<< HEAD:index.html <div id="footer">contact : email.support@github.com</div> ======= <div id="footer"> please contact us at support@github.co...

cocoapods

CocoaPods Trunk CocoaPods Trunk is an authentication and CocoaPods API service. To publish new or updated libraries to CocoaPods for public release you will need to be registered with Trunk and ha...

popular image formats

PNG, JPG, or JPEG: What is the Difference Between These Image Formats and How to Choose Them? PNG is a preferred format for editing while JPEG is the most common image format for storing images P...

ios hit-testing

point(inside:with:) Returns a Boolean value indicating whether the receiver contains the specified point. hitTest(_:with:) Returns the farthest descendant of the receiver in the view hierarchy (...

ios kvo

Q & A observation = observe( \.textView.contentSize, options: [.new] ) {[unowned self] object, change in } Fatal erro...

git clean

Stash git stash [push] # --keep-index tells Git to not only include all staged content in the stash being created, but simultaneously leave it in the index. git stash --keep-index # list stashes...

cluster

集群 多台机器提供同样的服务,即有多台镜像机器 负载均衡的一种方式

load balance

负载均衡 减轻单台机器的服务压力,将请求分发给其他的服务机器 Nginx Nginx将请求分发给具体的服务 对Nginx做集群

service register center

服务注册中心 用来解决服务治理的问题 记录数据(Provider or Server) 服务IP 接口 负载状态(请求计数) 服务下线后更新数据(通过心跳,健康检查来监测) 服务治理 服务注册和发现 负载均衡