欢迎来到天天文库
浏览记录
ID:22834208
大小:2.72 MB
页数:46页
时间:2018-10-22
《图数据库neo4j架构实践》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、图数据库Neo4j架构实践技术创新,变革未来关于此分享内容受众“…使用图结构(graphstructure)来实现语义查询,使用点(vertex)、边(edge)和属性(property)来表示和存储数据。最重要的概念是边(关系),在存储中,它直接将数据项关联起来…”https://en.wikipedia.org/wiki/Graph_database图数据库图数据库SocialNetworkFacebook/Linkedin场景Spatial/GIS路径规划交通预测场景Recommendation“Youmayalsolike…”“Peopleyoumay
2、know…”场景FrauddetectionFirst-partybankfraud/Insurancefraud/e-Commercefraud场景WorkflowengineAccesscontrol…场景场景场景GraphQueryResponseTime=ƒ(graphdensity,graphsize,querydegree)graphdensity:avg.(relationspernode)graphsize:∑(node)querydegree:hopsperquery场景场景LinkedInFlagship(职场人士)LinkedInStud
3、ents(学生群体)LinkedInInfluencer(职场影晌力内容发布和传播)LinkedInJobSearchLinkedInRecruiter(企业征才解决方案)LinkedInLookup(企业雇员信息解决方案)Lynda(全球最大在线职业教育培训)Slideshare(全球最大的在线演示文档共享)Pulse(阅读和内容聚合)自景自景选型选型OrientDB缺少批量写,从DB文件加载并初始化非常慢在200M+节点后写瓶颈不健壮不稳定CEO不靠谱http://orientdbleaks.blogspot.com/2015/06/the-orientd
4、b-issues-that-made-us-give-up.html选型选型Titan更像是APIlayer,可选backendengine,Cassandra、HBase、BDB和ElasticSearchACID不完备,依赖backendengineKeyindex使用限制较多缺乏客户案例DevfreezeThelastmanstanding,andthewinneris选型Neo4jSchema-freewithlabeledpropertyFastgraphtraversal(~2M/s)WritteninJavaFullACIDcompliantFu
5、ll/incrementalonlinebackupHTTPAPIorembeddedinJVMPowerfuldeclarativequerylanguageCache(chunk)basedshardingLinearlyscalableread,M-Sreplication,fault-tolerancePlugins&extensions…Neo4jNeo4jDistributedreplicationfaulttolerancescalabilityconsistencyNeo4jClusterManagementmemberjoin/leave/h
6、eartbeatFailoverelectionstatuspropagationReplicationdistributedlocktransactionpull/pushNeo4jMulti-PaxosalgorithmlesscomplexandtestableReadyforclusterManagementandelectionNeo4j•Multi-Paxosalgorithm•lesscomplexandtestable•ReadyforclusterManagementandelectionNeo4j•Multi-Paxosalgorithm•
7、lesscomplexandtestable•ReadyforclusterManagementandelectionNeo4j•Multi-Paxosalgorithm•lesscomplexandtestable•ReadyforclusterManagementandelectionNeo4jAlltransactionsarecommittedonthemastereventuallyappliedtotheslaveseventualitydefinedbyupdateintervalWhenwritingonaslavelockcoordinate
8、dthroughthemastertr
此文档下载收益归作者所有