Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Grafos distribuídos com Titan:db
Search
Mike Dias
July 23, 2015
Technology
0
410
Grafos distribuídos com Titan:db
Palestra sobre Big Graph Data com Titan:db apresentada no @TheDevConf nas trilhas BigData e NoSQL
Mike Dias
July 23, 2015
Tweet
Share
More Decks by Mike Dias
See All by Mike Dias
Elytics: Métricas em tempo real no Elo7
mikedias
0
120
Grafos com TinkerPop3 e TitanDB - TDC2016
mikedias
0
88
Index Activiti data on Elasticsearch
mikedias
0
380
TinkerPop Blueprints
mikedias
0
72
Other Decks in Technology
See All in Technology
モダンな現場と従来型の組織——そこに生じる "不整合" を解消してこそチームがパフォーマンスを発揮できる / Team-oriented Organization Design 20250825
mtx2s
3
350
Rethinking Incident Response: Context-Aware AI in Practice - Incident Buddy Edition -
rrreeeyyy
0
130
我々は雰囲気で仕事をしている / How can we do vibe coding as well
naospon
2
190
プロジェクトマネジメントは不確実性との対話だ
hisashiwatanabe
0
190
AWSの最新サービスでAIエージェント構築に楽しく入門しよう
minorun365
PRO
10
570
Engineering Failure-Resilient Systems
infraplumber0
0
130
生成AIによるデータサイエンスの変革
taka_aki
0
3.1k
Autonomous Database Serverless 技術詳細 / adb-s_technical_detail_jp
oracle4engineer
PRO
18
52k
ABEMAにおける 生成AI活用の現在地 / The Current Status of Generative AI at ABEMA
dekatotoro
0
590
Android Studio の 新しいAI機能を試してみよう / Try out the new AI features in Android Studio
yanzm
0
200
はじめての転職講座/The Guide of First Career Change
kwappa
5
4.5k
OpenAPIから画面生成に挑戦した話
koinunopochi
0
110
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
53
7.7k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
The Cost Of JavaScript in 2023
addyosmani
53
8.8k
Mobile First: as difficult as doing things right
swwweet
223
9.9k
How to Ace a Technical Interview
jacobian
279
23k
Rails Girls Zürich Keynote
gr2m
95
14k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.5k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Documentation Writing (for coders)
carmenintech
73
5k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Designing for Performance
lara
610
69k
Transcript
Titan:db Grafos distribuídos com @mike_dias
@mike_dias
[email protected]
O que são grafos?
mother name: hercules age: 30 type: demigod name: alcmene age:
24 type: human name: jupter age: 5000 type: god father
mother name: hercules age: 30 type: demigod name: alcmene age:
24 type: human name: jupter age: 5000 type: god father Vertex
mother name: hercules age: 30 type: demigod name: alcmene age:
24 type: human name: jupter age: 5000 type: god father Edge
mother name: hercules age: 30 type: demigod name: alcmene age:
24 type: human name: jupter age: 5000 type: god father Property
Property Graph
Por que usar grafos?
Modelagem intuitiva
Queries expressivas
Vários tipos de análises • Ranking • Path expressions •
Scoring • Inference • Motifs • Mixing patterns • Geodesic • Etc..
Casos de uso Recomendações personalizadas Influência social
Casos de uso Melhor rota Detecção de fraude
Por que usar o Titan?
Titan:db • Grafos de tamanhos “infinitos" • Capacidades OLTP e
OLAP • Licença Apache 2
Backend flexível
Titan:db + • Disponibilidade contínua sem ponto único de falha
• Sem gargalos na leitura ou escrita no grafo • Escalabilidade elástica • Cache de dados frequentemente acessados
• Leituras e escritas estritamente consistentes • Escalabilidade linear •
Integração com o ecossistema Hadoop • Hadoop MapReduce jobs + HBase tables. Titan:db +
g.V.has('name',CONTAINS,'Bob') g.V.has('place',WITHIN,Geoshape.circle(37.97,23.72,50)) Full text & Geo Search
Integração com Hadoop GraphSON
Graph derivation
Graph statistic
TinkerPop Blueprints
Preparado para o TinkerPop3
Como usar o Titan?
Local server mode TitanGraph g = TitanFactory.build() .set("storage.backend","cassandra")
.set("storage.hostname","127.0.0.1") .open();
Remote server mode TitanGraph g = TitanFactory.build() .set("storage.backend","cassandra")
.set("storage.hostname","77.77.77.77,77.77.77.78") .open();
Remote server mode usando Rexter GET http://rexster.titan.machine1/mygraph/vertices/1 GET http://rexster.titan.machine2/mygraph/tp/gremlin
?script=g.v(1).out('follows').out('created')
Quem está usando?
http://arli.us/magazinaluiza
http://arli.us/edu-planet-scale
http://arli.us/cisco-sec1
http://pt.slideshare.net/Hadoop_Summit/t-235p230-ctang
None
Concluindo… • Vários casos de uso resolvidos com Grafos •
Titan transforma Big Data em Big "Graph" Data • Rexter expõe o Titan para qualquer linguagem • Tecnologia open source e madura
Obrigado! @mike_dias
[email protected]
Dúvidas?