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
70
Other Decks in Technology
See All in Technology
生成AI活用の組織格差を解消する 〜ビジネス職のCursor導入が開発効率に与えた好循環〜 / Closing the Organizational Gap in AI Adoption
upamune
7
5.2k
united airlines ™®️ USA Contact Numbers: Complete 2025 Support Guide
flyunitedhelp
1
330
LangChain Interrupt & LangChain Ambassadors meetingレポート
os1ma
2
310
SmartNewsにおける 1000+ノード規模 K8s基盤 でのコスト最適化 – Spot・Gravitonの大規模導入への挑戦
vsanna2
0
130
Lakebaseを使ったAIエージェントを実装してみる
kameitomohiro
0
120
20250707-AI活用の個人差を埋めるチームづくり
shnjtk
4
3.8k
Operating Operator
shhnjk
1
590
LLM時代の検索
shibuiwilliam
1
150
Beyond Kaniko: Navigating Unprivileged Container Image Creation
f30
0
130
いつの間にか入れ替わってる!?新しいAWS Security Hubとは?
cmusudakeisuke
0
120
Connect 100+を支える技術
kanyamaguc
0
200
Lazy application authentication with Tailscale
bluehatbrit
0
210
Featured
See All Featured
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.4k
Six Lessons from altMBA
skipperchong
28
3.9k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
950
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.4k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Balancing Empowerment & Direction
lara
1
430
The Cost Of JavaScript in 2023
addyosmani
51
8.5k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
181
54k
Raft: Consensus for Rubyists
vanstee
140
7k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
50
5.5k
Transcript
Titan:db Grafos distribuídos com @mike_dias
@mike_dias
vagas@icolabora.com.br
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 mike.rodrigues.dias@gmail.com Dúvidas?