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 ar
finance48
 
telephone data systems USMProxyExhibit13_0610K
telephone data systems  USMProxyExhibit13_0610Ktelephone data systems  USMProxyExhibit13_0610K
telephone data systems USMProxyExhibit13_0610K
finance48
 
advance auto parts 2006ar
advance auto parts 2006aradvance auto parts 2006ar
advance auto parts 2006ar
finance48
 
Understanding Of Knowledge Management
Understanding Of Knowledge ManagementUnderstanding Of Knowledge Management
Understanding Of Knowledge Management
charisma59420
 
Õpilasfirma Ülle Tõnutare Kodutöö
Õpilasfirma Ülle Tõnutare KodutööÕpilasfirma Ülle Tõnutare Kodutöö
Õpilasfirma Ülle Tõnutare Kodutöö
Tonutare
 
BarTab Instructional Powerpoint
BarTab Instructional PowerpointBarTab Instructional Powerpoint
BarTab Instructional Powerpoint
guest3126d5
 
ncr annual reports 2005
ncr annual reports 2005ncr annual reports 2005
ncr annual reports 2005
finance46
 
Presentation
PresentationPresentation
Presentation
smartwtp
 
3projects
3projects3projects
3projects
klee4vp
 

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

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

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