-
4.(必做)根据上述自己对于 1 和 2 的演示,写一段对于不同 GC 和堆内存的总结,提交到 GitHub。
- 串行GC:堆内存越大,GC次数越少,GC pause 时长增加。
- 并行GC:堆内存越大,GC次数越少,GC pause 时长增加,比串行 GC pause 时长短。
- CMSGC:堆内存越大,GC次数越少,GC pause 时长增加,与并行GC pause 时长接近。
- G1GC:堆内存越大,GC次数越少,GC pause 时长增长慢,GC 效率非常高,4G内存情况下,GC 时长 10ms 以内。
- Gateway sb压测,内存从 512M 增长到 2G,在同等环境下,使用不同 GC 策略,对压测影响不大,RPS 在200范围内波动。
-
6.(必做)写一段代码,使用 HttpClient 或 OkHttp 访问 http://localhost:8801 ,代码提交到 GitHub
- HttpClient 实现见 com.bh1ofp.week02.HttpClientDemo
- OKHttp 实现见 com.bh1ofp.week02.OkHttpdemo
- 使用的是 SocketDemo03 实现,访问 http://localhost:8804 服务
week02's Introduction
week02's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.