Easter79 Easter79
4年前
SpringCloud(第 049 篇)Netflix Eureka 源码深入剖析(上)
SpringCloud(第049篇)NetflixEureka源码深入剖析(上)一、大致介绍1、鉴于一些朋友的提问并提议讲解下eureka的源码分析,由此应运而产生的本章节的内容;2、所以我站在自我的理解角度试着整理了这篇
Stella981 Stella981
4年前
Spark源码剖析(八):stage划分原理与源码剖析
引言对于Spark开发人员来说,了解stage的划分算法可以让你知道自己编写的sparkapplication被划分为几个job,每个job被划分为几个stage,每个stage包括了你的哪些代码,只有知道了这些之后,碰到某个stage执行特别慢或者报错,你才能快速定位到对应的代码,对其进行性能优化和排错。stage划分原理与源码
Stella981 Stella981
4年前
PHP巧用call_user_func避免全局变量污染
我们在编写复杂的业务逻辑中,经常需要对数组做循环处理。例如:$array'crazymus','tom','jim';foreach($arrayas$key$value){echo$key,PHP_EOL;echo$value
Easter79 Easter79
4年前
TiKV 源码解析系列文章(二十)Region Split 源码解析
在学习了之前的几篇raftrs,raftstore相关文章之后(如RaftPropose的Commit和Apply情景分析(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fpingcap.com%2Fblogcn%2Ftikvsourcecod
Wesley13 Wesley13
4年前
PHP 截取字符串
1.截取GB2312中文字符串<?php//截取中文字符串functionmysubstr($str,$start,$len){$tmpstr"";$strlen$start$len;for($i0;
Stella981 Stella981
4年前
Mybatis源码分析(一)
准备在阅读源码前,需要先clone源码地址:https://github.com/mybatis/mybatis3(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fgithub.com%2Fmybatis%2Fmybatis3)Mybatis框架使用大量常见的设
Wesley13 Wesley13
4年前
VS2017 配置ImageMagick
以下配置仅供参考,我配置完了怎样都用不了...直接下载源码使用VS进行编译。源码下载地址:http://imagemagick.org/script/installsource.phpwindows(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fimagemagick
Easter79 Easter79
4年前
TiKV源码解析系列文章(二十)Region Split源码解析
在学习了之前的几篇raftrs,raftstore相关文章之后(如RaftPropose的Commit和Apply情景分析(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzI3NDIxNTQyOQ
Stella981 Stella981
4年前
AmpOne V1.0 版本发布
AmpOne!(https://static.oschina.net/uploads/space/2017/0615/183211_6w8f_2275181.png)基于Windows平台的Apache、PHP、Mysql极简轻量级开发环境|OneintergratedtoolspackageofApache
Stella981 Stella981
4年前
Flask 【第十篇】自定义Form组件
一、wtforms源码流程1、实例化流程分析源码流程1.执行type的__call__方法,读取字段到静态字段cls._unbound_fields中;meta类读取到cls._wtforms_meta中2.执行构造方法a.循环cls.