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
400
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
オブザーバビリティプラットフォーム開発におけるオブザーバビリティとの向き合い / Hatena Engineer Seminar #34 オブザーバビリティの実現と運用編
arthur1
0
160
Perlアプリケーションで トレースを実装するまでの 工夫と苦労話
masayoshi
0
180
経験がないことを言い訳にしない、 AI時代の他領域への染み出し方
parayama0625
0
280
AI駆動開発 with MixLeap Study【大阪支部 #3】
lycorptech_jp
PRO
0
280
みんなのSRE 〜チーム全員でのSRE活動にするための4つの取り組み〜
kakehashi
PRO
2
100
「育てる」サーバーレス 〜チーム開発研修で学んだ、小さく始めて大きく拡張するAWS設計〜
yu_kod
1
200
[MIRU25] NaiLIA: Multimodal Retrieval of Nail Designs Based on Dense Intent Descriptions
keio_smilab
PRO
1
150
恐怖!テストコードなき夜
tsukuboshi
2
100
メモ整理が苦手な者による頑張らないObsidian活用術
optim
1
160
ML Pipelineの開発と運用を OpenTelemetryで繋ぐ @ OpenTelemetry Meetup 2025-07
getty708
0
330
激動の時代、新卒エンジニアはAIツールにどう向き合うか。 [LayerX Bet AI Day Countdown LT Day1 ツールの選択]
tak848
0
620
KCD Lima: eBee in Peru!
lizrice
0
110
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.9k
Making Projects Easy
brettharned
117
6.3k
Code Reviewing Like a Champion
maltzj
524
40k
Why You Should Never Use an ORM
jnunemaker
PRO
58
9.5k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Into the Great Unknown - MozCon
thekraken
40
1.9k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
110
19k
Building Applications with DynamoDB
mza
95
6.5k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
How to train your dragon (web standard)
notwaldorf
96
6.1k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.7k
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?