SlideShare a Scribd company logo
1 of 21
Off the Reservation with TweetReach Hayes Davis Co-Founder, Appozite [email_address] @hayesdavis
So what's this all about? ,[object Object]
A few requirements ,[object Object]
Be simple(ish)
Be reasonably fast for a resonable number of users
Fit within Twitter API limits
What to use? ,[object Object]
Persistence layer: Tokyo Cabinet + Tokyo Tyrant + Memcache-client
Twitter API: Grackle
What is Sinatra? ,[object Object]
Handles just the view and controller part ,[object Object]
Views can use ERB (and others) ,[object Object]
Sinatra Example set :port, 3000 get '/' do erb :index end get '/reach' do @query = params[:q] tr = TweetReach.new(username,pass) @results = tr.measure_reach(@query) erb :reach_results end
What is Tokyo Cabinet? ,[object Object]
Stats: 2.5M inserts/second, 3M queries/second, Store 8 exabytes
Has a server called Tokyo Tyrant
More Tokyo Cabinet ,[object Object]
B-tree: functionally the same as the hash DB but with ordered keys based on a user-defined function
Fixed-length: basically a giant array which you index into by offset keys
Table: similar to a relational DB except no predefined schema (ala CouchDB). Can index columns and query them
Tokyo Tyrant ,[object Object]

More Related Content

Viewers also liked

fidelity national information 2005 ar
fidelity national information  2005 arfidelity national information  2005 ar
fidelity national information 2005 arfinance48
 
telephone data systems USMProxyExhibit13_0610K
telephone data systems  USMProxyExhibit13_0610Ktelephone data systems  USMProxyExhibit13_0610K
telephone data systems USMProxyExhibit13_0610Kfinance48
 
advance auto parts 2006ar
advance auto parts 2006aradvance auto parts 2006ar
advance auto parts 2006arfinance48
 
Si Los NúMeros No Fueran Al Azar, Podriamos Cambiar Nuestro Futuro
Si Los NúMeros No Fueran Al Azar, Podriamos Cambiar Nuestro FuturoSi Los NúMeros No Fueran Al Azar, Podriamos Cambiar Nuestro Futuro
Si Los NúMeros No Fueran Al Azar, Podriamos Cambiar Nuestro FuturoTrendster
 
Understanding Of Knowledge Management
Understanding Of Knowledge ManagementUnderstanding Of Knowledge Management
Understanding Of Knowledge Managementcharisma59420
 
Present Tense Verbs
Present Tense VerbsPresent Tense Verbs
Present Tense Verbsguest1d32ab
 
Tennesse.Teresa Bergera
Tennesse.Teresa BergeraTennesse.Teresa Bergera
Tennesse.Teresa Bergeramariavigarces
 
Õpilasfirma Ülle Tõnutare Kodutöö
Õpilasfirma Ülle Tõnutare KodutööÕpilasfirma Ülle Tõnutare Kodutöö
Õpilasfirma Ülle Tõnutare KodutööTonutare
 
The 22 Deadly Sins
The 22 Deadly SinsThe 22 Deadly Sins
The 22 Deadly SinsRajesh Goyal
 
Registering & Booking Appointments
Registering & Booking AppointmentsRegistering & Booking Appointments
Registering & Booking AppointmentsUCEW
 
BarTab Instructional Powerpoint
BarTab Instructional PowerpointBarTab Instructional Powerpoint
BarTab Instructional Powerpointguest3126d5
 
ncr annual reports 2005
ncr annual reports 2005ncr annual reports 2005
ncr annual reports 2005finance46
 
Presentation
PresentationPresentation
Presentationsmartwtp
 
3projects
3projects3projects
3projectsklee4vp
 

Viewers also liked (20)

fidelity national information 2005 ar
fidelity national information  2005 arfidelity national information  2005 ar
fidelity national information 2005 ar
 
telephone data systems USMProxyExhibit13_0610K
telephone data systems  USMProxyExhibit13_0610Ktelephone data systems  USMProxyExhibit13_0610K
telephone data systems USMProxyExhibit13_0610K
 
advance auto parts 2006ar
advance auto parts 2006aradvance auto parts 2006ar
advance auto parts 2006ar
 
Report Examples
Report ExamplesReport Examples
Report Examples
 
Si Los NúMeros No Fueran Al Azar, Podriamos Cambiar Nuestro Futuro
Si Los NúMeros No Fueran Al Azar, Podriamos Cambiar Nuestro FuturoSi Los NúMeros No Fueran Al Azar, Podriamos Cambiar Nuestro Futuro
Si Los NúMeros No Fueran Al Azar, Podriamos Cambiar Nuestro Futuro
 
Understanding Of Knowledge Management
Understanding Of Knowledge ManagementUnderstanding Of Knowledge Management
Understanding Of Knowledge Management
 
Present Tense Verbs
Present Tense VerbsPresent Tense Verbs
Present Tense Verbs
 
Tennesse.Teresa Bergera
Tennesse.Teresa BergeraTennesse.Teresa Bergera
Tennesse.Teresa Bergera
 
Õpilasfirma Ülle Tõnutare Kodutöö
Õpilasfirma Ülle Tõnutare KodutööÕpilasfirma Ülle Tõnutare Kodutöö
Õpilasfirma Ülle Tõnutare Kodutöö
 
presentacion
presentacionpresentacion
presentacion
 
Info Flexing 2009
Info Flexing 2009Info Flexing 2009
Info Flexing 2009
 
The 22 Deadly Sins
The 22 Deadly SinsThe 22 Deadly Sins
The 22 Deadly Sins
 
Registering & Booking Appointments
Registering & Booking AppointmentsRegistering & Booking Appointments
Registering & Booking Appointments
 
Testa
TestaTesta
Testa
 
Defining An Intellectual Property Policy For INERA Burkina Faso
Defining An Intellectual Property Policy For INERA Burkina FasoDefining An Intellectual Property Policy For INERA Burkina Faso
Defining An Intellectual Property Policy For INERA Burkina Faso
 
BarTab Instructional Powerpoint
BarTab Instructional PowerpointBarTab Instructional Powerpoint
BarTab Instructional Powerpoint
 
ncr annual reports 2005
ncr annual reports 2005ncr annual reports 2005
ncr annual reports 2005
 
Presentation
PresentationPresentation
Presentation
 
Wdh 27012010
Wdh 27012010Wdh 27012010
Wdh 27012010
 
3projects
3projects3projects
3projects
 

Recently uploaded

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 

Recently uploaded (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

Building TweetReach with Sinatra, Tokyo Cabinet and Grackle: Austin on Rails 2009-03-24