- 1、本文档共46页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
图数据库 Neo4j 架构实践;关于此分享;图数据库;Social Network
Facebook / Linkedin;Spatial/GIS
路径规划
交通预测;Recommendation
“You may also like…”
“People you may know;Fraud detection
First-party bank fraud/Insurance fraud/e- Commerce fraud;Workflow engine
Access control
…;场景;场景;场景;场景;LinkedIn Flagship(职场人士)
LinkedIn Students(学生群体)
LinkedIn Influencer(职场影晌力内容发布和传播)
LinkedIn Job Search
LinkedIn Recruiter(企业征才解决方案)
LinkedIn Lookup(企业雇员信息解决方案)
Lynda(全球最大在线职业教育培训)
Slideshare(全球最大的在线演示??档共享)
Pulse(阅读和内容聚合);;;选型;OrientDB
缺少批量写,从DB文件加载并初始化非常慢
在200M+节点后写瓶颈
不健壮不稳定
CEO不靠谱 / 2015/06/the-orientdb-issues-that-made-us-give- up.html;选型;The last man standing, and the winner is;Neo4j;Schema-free with labeled property
Fast graph traversal(~2M/s)
Written in Java
Full ACID compliant
Full/incremental online backup
HTTP API or embedded in JVM
Powerful declarative query language
Cache(chunk) based sharding
Linearly scalable read, M-S replication, fault-tolerance
Plugins extensions
…;Neo4j;Distributed
replication
fault tolerance
scalability
consistency;Cluster Management
member join/leave/heartbeat
Failover
election
status propagation
Replication
distributed lock
transaction pull/push;Multi-Paxos algorithm
less complex and testable
Ready for cluster Management and election;? Multi-Paxos algorithm
? less complex and testable
? Ready for cluster Management and election;? Multi-Paxos algorithm
? less complex and testable
? Ready for cluster Management and election;? Multi-Paxos algorithm
? less complex and testable
? Ready for cluster Management and election;All transactions are committed on the master
eventually applied to the slaves
eventuality defined by update interval
When writing on a slave
lock coordinated through the master
transaction buffered on the slave
applied on the master to obtain txid
applied to the slaves;;;踩坑;?;?;GC调优
G1收集器
adaptive
JFR+JMC
on-flight
visualized
insignificant performance overhead;?;协议,传俞
Jetty+Jersey serve HTTP request/response
poor performance
数据
JSON(jackson streaming)
serializ
文档评论(0)