Comments (14)
Day5
IO - 同步,异步,阻塞,非阻塞 (亡羊补牢篇)
http://blog.csdn.net/historyasamirror/article/details/5778378
http://wiki.jikexueyuan.com/project/java-socket/
http://ifeve.com/netty1/
from wiki.
Day6
面试苏宁
Zookeeper脑裂
redis里的批处理操作
非静态文件的缓存
数据库发分库分表设计
技术架构
from wiki.
如何测试电话机?
网络不通,怎么分析
from wiki.
Day7 2017年07月13日08:19:44
瀚思二面
对无状态的理解 时序性的破坏也是破坏了状态
JVM的堆栈、计数器的作用
不能上网,如果一步步定位问题在哪?防火墙,vpn,dns什么的
from wiki.
Day7 2017年07月13日15:58:15
内推阿里@并发编程网
http://ifeve.com/neitui/
浅谈Java中的锁
http://zhwbqd.github.io/2015/02/13/lock-in-java.html
https://my.oschina.net/mingdongcheng/blog/139263
from wiki.
Day8
服务化之-负载均衡与路由的设计
http://calvin1978.blogcn.com/articles/routing.html
from wiki.
有赞一面
redis缓存的脏数据问题
https://fdx321.github.io/2016/09/09/%E7%BC%93%E5%AD%98%E4%BD%BF%E7%94%A8%E6%80%BB%E7%BB%93/
分布式锁
redis是怎么实现对象有效时间的
观察者模式react模式
强软弱虚
from wiki.
RDS重塑之路
http://www.infoq.com/cn/presentations/the-road-of-rds-reconstruction
密集索引 稀疏索引
mysql ha
from wiki.
Day10
http://www.neitui.me/j/732713
https://m.bosszhipin.com/weijd/v2/job/7a74991711414cae1nZ_3968ElM~?date8=20170707&sid=tosee_jd_31c9770303c2eeda1nZ62t21FVY~
from wiki.
Day11 2017年07月17日08:23:58
密集索引 稀疏索引
MyisAM索引与InnoDB索引
zookeeper 脑裂和羊群
http://arthinking.github.io/2016/06/08/Zookeeper%20%E5%9F%BA%E7%A1%80%E9%97%AE%E9%A2%98/
from wiki.
Day11 2017年07月17日16:55:56
上午有赞二面
http://tech.youzan.com/
两个栈实现一个队列
数据库的联合索引
from wiki.
Day12 2017年07月18日10:13:19
开源世界旅行手册
https://i.linuxtoy.org/docs/guide/
刷完了http://tech.youzan.com/
from wiki.
Day13 2017年07月19日10:11:00
https://troywu0.gitbooks.io/spark/content/java_collection.html
from wiki.
你好,毗卢
以下是我写的答案。
源码归档在
https://github.com/baohongfei/think-in-java/tree/master/src/com/baohongfei/dp/strategy
其中 Demo 的输出结果为:
10人,分100元,使用Random Strategy策略,结果是
[19.93, 19.31, 0.68, 12.77, 1.24, 11.83, 7.78, 13.39, 12.14, 0.93]
10人,分100元,使用Average Strategy策略,结果是
[10.00, 10.00, 10.00, 10.00, 10.00, 10.00, 10.00, 10.00, 10.00, 10.00]
测试环境是
jdk1.8.0_91
OSX 10.12.5
性能测试结果为每秒10万次
另外在附件里也附加了一份代码。
from wiki.
Related Issues (17)
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.
from wiki.