This commit is contained in:
@@ -415,7 +415,7 @@
|
|||||||
6. SIGN_OBJECTE 标记位,值固定为0xEE (short)<br/>
|
6. SIGN_OBJECTE 标记位,值固定为0xEE (short)<br/>
|
||||||
</p>
|
</p>
|
||||||
<footer class="site-footer">
|
<footer class="site-footer">
|
||||||
<span class="site-footer-owner"><a href="https://github.com/redkale/redkale">Redkale</a> © 欢迎加入Redkale技术交流QQ群: 527523235</span>
|
<span class="site-footer-owner"> 欢迎加入Redkale QQ群: 527523235</span>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -65,7 +65,7 @@
|
|||||||
<p> Redkale官网: <a href="http://redkale.org" target="_blank"><b>http://redkale.org</b></a></p>
|
<p> Redkale官网: <a href="http://redkale.org" target="_blank"><b>http://redkale.org</b></a></p>
|
||||||
|
|
||||||
<footer class="site-footer">
|
<footer class="site-footer">
|
||||||
<span class="site-footer-owner"><a href="https://github.com/redkale/redkale">Redkale</a> © 欢迎加入Redkale技术交流QQ群: 527523235</span>
|
<span class="site-footer-owner"> 欢迎加入Redkale QQ群: 527523235</span>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
2
net.html
2
net.html
@@ -673,7 +673,7 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<footer class="site-footer">
|
<footer class="site-footer">
|
||||||
<span class="site-footer-owner"><a href="https://github.com/redkale/redkale">Redkale</a> © 欢迎加入Redkale技术交流QQ群: 527523235</span>
|
<span class="site-footer-owner"> 欢迎加入Redkale QQ群: 527523235</span>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -690,7 +690,7 @@
|
|||||||
</pre></div>
|
</pre></div>
|
||||||
|
|
||||||
<footer class="site-footer">
|
<footer class="site-footer">
|
||||||
<span class="site-footer-owner"><a href="https://github.com/redkale/redkale">Redkale</a> © 欢迎加入Redkale技术交流QQ群: 527523235</span>
|
<span class="site-footer-owner"> 欢迎加入Redkale QQ群: 527523235</span>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -303,7 +303,7 @@
|
|||||||
如上描述,一个请求处理耗时 180ms,同时占用一个线程的时间也是 180ms。若换成NIO使IO耗时减少,为了方便计算假设IO耗时为0(当然实际情况是不可能的), 那么步骤1、4的耗时忽略不计,线程的占用时间由180ms变成160ms。 假设数据查询接口IO操作本身耗时也是10ms,那么有140ms是用于等待。若采用DataSource异步接口, 则140ms的等待时间可以释放当前线程资源。虽然整个请求的处理时间还是180ms,但是线程的占用时间却只有20ms。可以看出减少耗时多的步骤的等待时间才能事半功倍,大幅度地提高性能。异步接口的主要作用是远程请求在等待过程中释放当前线程资源。大大减少线程数,也减少大量线程之间的切换消耗。
|
如上描述,一个请求处理耗时 180ms,同时占用一个线程的时间也是 180ms。若换成NIO使IO耗时减少,为了方便计算假设IO耗时为0(当然实际情况是不可能的), 那么步骤1、4的耗时忽略不计,线程的占用时间由180ms变成160ms。 假设数据查询接口IO操作本身耗时也是10ms,那么有140ms是用于等待。若采用DataSource异步接口, 则140ms的等待时间可以释放当前线程资源。虽然整个请求的处理时间还是180ms,但是线程的占用时间却只有20ms。可以看出减少耗时多的步骤的等待时间才能事半功倍,大幅度地提高性能。异步接口的主要作用是远程请求在等待过程中释放当前线程资源。大大减少线程数,也减少大量线程之间的切换消耗。
|
||||||
</p>
|
</p>
|
||||||
<footer class="site-footer">
|
<footer class="site-footer">
|
||||||
<span class="site-footer-owner"><a href="https://github.com/redkale/redkale">Redkale</a> © 欢迎加入Redkale技术交流QQ群: 527523235</span>
|
<span class="site-footer-owner"> 欢迎加入Redkale QQ群: 527523235</span>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -227,7 +227,7 @@
|
|||||||
<span class="nt"></persistence></span></pre></div>
|
<span class="nt"></persistence></span></pre></div>
|
||||||
|
|
||||||
<footer class="site-footer">
|
<footer class="site-footer">
|
||||||
<span class="site-footer-owner"><a href="https://github.com/redkale/redkale">Redkale</a> © 欢迎加入Redkale技术交流QQ群: 527523235</span>
|
<span class="site-footer-owner"> 欢迎加入Redkale QQ群: 527523235</span>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
@@ -112,13 +112,11 @@ a:hover {
|
|||||||
.project-name {
|
.project-name {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-left:0.6rem;
|
|
||||||
margin-right: 1rem;
|
|
||||||
padding-left: 2.4rem;
|
padding-left: 2.4rem;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
text-decoration-color: #FFFFFF;
|
text-decoration-color: #FFFFFF;
|
||||||
background: url(/logo_96.png) no-repeat left center ;
|
background: url(/logo_96.png) no-repeat left center ;
|
||||||
background-size: 1.98em;
|
background-size: 2em;
|
||||||
letter-spacing: 0;
|
letter-spacing: 0;
|
||||||
text-shadow: 0px 1px 0px #999, 0px 1px 0px #888, 0px 2px 0px #777, 0px 2px 0px #666, 0px 3px 0px #555, 0px 3px 0px #444, 0px 4px 0px #333, 0px 4px 7px #001135;
|
text-shadow: 0px 1px 0px #999, 0px 1px 0px #888, 0px 2px 0px #777, 0px 2px 0px #666, 0px 3px 0px #555, 0px 3px 0px #444, 0px 4px 0px #333, 0px 4px 7px #001135;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
@@ -155,14 +153,12 @@ a:hover {
|
|||||||
@media screen and (min-width: 42em) and (max-width: 64em) {
|
@media screen and (min-width: 42em) and (max-width: 64em) {
|
||||||
.project-name {
|
.project-name {
|
||||||
font-size: 2.25rem;
|
font-size: 2.25rem;
|
||||||
background-size: 1.6em;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 42em) {
|
@media screen and (max-width: 42em) {
|
||||||
.project-name {
|
.project-name {
|
||||||
font-size: 1.75rem;
|
font-size: 1.75rem;
|
||||||
background-size: 1.2em;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -194,6 +190,7 @@ a:hover {
|
|||||||
@media screen and (max-width: 42em) {
|
@media screen and (max-width: 42em) {
|
||||||
.project-tagline {
|
.project-tagline {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<footer class="site-footer">
|
<footer class="site-footer">
|
||||||
<span class="site-footer-owner"><a href="https://github.com/redkale/redkale">Redkale</a> © 欢迎加入Redkale技术交流QQ群: 527523235</span>
|
<span class="site-footer-owner"> 欢迎加入Redkale QQ群: 527523235</span>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|||||||
Reference in New Issue
Block a user