SlideShare a Scribd company logo
1 of 27
Download to read offline
Real Value in Real Time
                 MongoDB-based Analytics at TeachStreet




Daryn Nakhuda
Chief Technology Officer
TeachStreet.com



                                                          1
TeachStreet

                A marketplace for learning
                We help people find classes and teachers
                We help teachers get more students




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com        2
                                                          2
TeachStreet

                Based in Seattle
                7 Full-time employees - 50% dev/engineering
                Launched in April 2008




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com        3
                                                              3
Tech Stack
                Handful of physical servers
                Ruby on Rails
                Linux, Nginx, Mongrel, PostgreSQL, Sphinx
                MongoDB (MongoMapper, because we <3 jnunemaker)



Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com             4
                                                                  4
Product

 Profile Page
 Class Listing and Session Pages
 Phone tracking, payment processing, marketing tools, etc.




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com                    5
                                                             5
The Problem

    People love the idea, but they have no idea if
    it is really working for them.


“I’ve never once been contacted by a student who found me on TeachStreet”



Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com        6
                                                                            6
June 2009
                             The site is working for you, really!




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com                7
                                                                    7
Teacher Dashboard (v1)


     Quick Snapshot of Activity
     Built on Google Analytics API




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com    8
                                           8
Teacher Dashboard (v1)
                                  PROS


           •    Provided insight into a former void
           •    Easy to understand
           •    Quickly implemented, no IT impact




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com       9
                                                      9
Teacher Dashboard (v1)
                                  CONS
           •    Cumulative data only
           •    No date filters / trending information
           •    Not real-time
           •    URL-based, fragile
           •    “Operationally-Annoying”



Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com       10
                                                        10
May 2010
                                 That’ll be $3 please




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com             11
                                                        11
Metrics Dashboard v2
           •    Track conversions as well as traffic
           •    Real-time
           •    Date-filters / Trends
           •    Keep it simple and easy to use
           •    Flexible

Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com         12
                                                      12
Page Events
                                 ‘page_events’ collection



           •    Views to profile, listing & session pages
           •    Can also be used for homepage, search,
                featured placements, etc.




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com              13
                                                            13
Lead Events
                                 ‘lead_events’ collection

           •    Messages
           •    Phone Calls
           •    URL Clicks
           •    Enrollments
           •    More Information / Affiliates

                  These are the things people will ‘do the math’ with

Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com              14
                                                                        14
Tracking Models


                EventAttributes




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com    15
                                             15
Tracking Models

               PageEvent




               PageViewEvent


Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com    16
                                             16
Sample Page Event
              { "_id" : ObjectId("4bbbed8c4e40d3593b000001"),
              "updated_at" : "Tue Apr 06 2010 19:27:24 GMT-0700
              (PDT)", "current_user_id" : null,
              "parent_teacher_id" : null, "listing_session_id" :
              null, "sub_page" : "main", "page_type" : "User",
              "session_id" : "747469eb432e27fc4a678a8805563dbf",
              "url" : "http://www.teachstreet.com/teacher/diablo-k9-
              academy", "subdomain" : null, "listing_id" : null,
              "teacher_id" : 18467, "_type" : "PageViewEvent",
              "count" : 1, "created_at" : "Tue Apr 06 2010 19:27:24
              GMT-0700 (PDT)" }




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com         17
                                                                       17
Tracking Models

               LeadEvent



               CallEvent



Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com    18
                                             18
Sample Lead Event
              { "_id" : ObjectId("4bbbf00a3352585b29000003"),
              "updated_at" : "Tue Apr 06 2010 19:38:02 GMT-0700
              (PDT)", "parent_teacher_id" : 116845,
              "current_user_id" : null, "listing_session_id" :
              194028, "session_id" :
              "4a2146ae80971b47ec6acd86827506f9", "url" : "http://
              www.teachstreet.com/redirect?
              source_id=cl-87e9otqv6o&url=http%3A%2F
              %2Fwww.wyzant.com%2Ftutorprofile3480833",
              "subdomain" : null, "listing_id" : 153395,
              "teacher_id" : 119644, "_type" : "ClickThroughEvent",
              "count" : 1, "source_type" : "ListingSession",
              "created_at" : "Tue Apr 06 2010 19:38:02 GMT-0700
              (PDT)" }



Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com         19
                                                                      19
How we track
      JavaScript - for page actions, to filter robots




     Or, just directly to the logger



Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com        20
                                                       20
Reporting
                Dashboard Presenters:
                •     Used from web as well as weekly activity emails
                •     Aggregate functions
                •     Map/Reduce queries




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com              21
                                                                        21
Some Presenter Code




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com   22
                                      22
Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com   23
                                      23
Metrics Dashboard (v2)




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com   24
                                      24
Weekly Summary Email




Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com   25
                                      25
Q &A


Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com    26
                                        26
Thanks!
                If you like what you’ve seen, do me a favor:

              Find great local and online
   <a href=”http://www.teachstreet.com/”>Classes</a>
                     on TeachStreet


                             Email: daryn@teachstreet.com
                                     Twitter: @daryn

Real Value in Real Time
Mongo Seattle - July 2010
Daryn Nakhuda, TeachStreet.com            27
                                                               27

More Related Content

Viewers also liked

Frenchgradsession2008newb
Frenchgradsession2008newbFrenchgradsession2008newb
Frenchgradsession2008newbcsich
 
Video Upload Slide Share
Video Upload Slide ShareVideo Upload Slide Share
Video Upload Slide ShareTeachStreet
 
Sponges&Cnidarians 08
Sponges&Cnidarians 08Sponges&Cnidarians 08
Sponges&Cnidarians 08Erin Nash
 
Final Gran Fury
Final   Gran FuryFinal   Gran Fury
Final Gran Furypmbaird
 
URL Best Practices | Rand Fishkin | SMX East NYC 2009
URL Best Practices | Rand Fishkin | SMX East NYC 2009URL Best Practices | Rand Fishkin | SMX East NYC 2009
URL Best Practices | Rand Fishkin | SMX East NYC 2009Fabio Ricotta
 
Land 'Grabbing' in the Nile Basin and implications for the regional water sec...
Land 'Grabbing' in the Nile Basin and implications for the regional water sec...Land 'Grabbing' in the Nile Basin and implications for the regional water sec...
Land 'Grabbing' in the Nile Basin and implications for the regional water sec...Ana Cascao
 
Improving the correlation hunting in a large quantity of SOM component planes
Improving the correlation hunting in a largequantity of SOM component planesImproving the correlation hunting in a largequantity of SOM component planes
Improving the correlation hunting in a large quantity of SOM component planesaskroll
 
Local and Global Gating of Synaptic Plasticity
Local and Global Gating of Synaptic PlasticityLocal and Global Gating of Synaptic Plasticity
Local and Global Gating of Synaptic Plasticitycijat
 
Becoming Accidental Entrepreneurs
Becoming Accidental Entrepreneurs Becoming Accidental Entrepreneurs
Becoming Accidental Entrepreneurs Natalie Downe
 
Open Only If You Have Time For God
Open Only If You Have Time For GodOpen Only If You Have Time For God
Open Only If You Have Time For Godsutrisno2629
 
Ulmer chapter1definingcrisiscommunication
Ulmer chapter1definingcrisiscommunicationUlmer chapter1definingcrisiscommunication
Ulmer chapter1definingcrisiscommunicationOwen Kulemeka
 

Viewers also liked (20)

Frenchgradsession2008newb
Frenchgradsession2008newbFrenchgradsession2008newb
Frenchgradsession2008newb
 
Video Upload Slide Share
Video Upload Slide ShareVideo Upload Slide Share
Video Upload Slide Share
 
10 Food
10 Food10 Food
10 Food
 
Sponges&Cnidarians 08
Sponges&Cnidarians 08Sponges&Cnidarians 08
Sponges&Cnidarians 08
 
Arte Rococó
Arte RococóArte Rococó
Arte Rococó
 
Final Gran Fury
Final   Gran FuryFinal   Gran Fury
Final Gran Fury
 
URL Best Practices | Rand Fishkin | SMX East NYC 2009
URL Best Practices | Rand Fishkin | SMX East NYC 2009URL Best Practices | Rand Fishkin | SMX East NYC 2009
URL Best Practices | Rand Fishkin | SMX East NYC 2009
 
Christmas
ChristmasChristmas
Christmas
 
Antphilo
AntphiloAntphilo
Antphilo
 
Comiat del curs de Perl
Comiat del curs de PerlComiat del curs de Perl
Comiat del curs de Perl
 
Land 'Grabbing' in the Nile Basin and implications for the regional water sec...
Land 'Grabbing' in the Nile Basin and implications for the regional water sec...Land 'Grabbing' in the Nile Basin and implications for the regional water sec...
Land 'Grabbing' in the Nile Basin and implications for the regional water sec...
 
10 Roses
10 Roses10 Roses
10 Roses
 
Life in Korea
Life in KoreaLife in Korea
Life in Korea
 
Improving the correlation hunting in a large quantity of SOM component planes
Improving the correlation hunting in a largequantity of SOM component planesImproving the correlation hunting in a largequantity of SOM component planes
Improving the correlation hunting in a large quantity of SOM component planes
 
2. Initiatie
2. Initiatie2. Initiatie
2. Initiatie
 
Local and Global Gating of Synaptic Plasticity
Local and Global Gating of Synaptic PlasticityLocal and Global Gating of Synaptic Plasticity
Local and Global Gating of Synaptic Plasticity
 
Becoming Accidental Entrepreneurs
Becoming Accidental Entrepreneurs Becoming Accidental Entrepreneurs
Becoming Accidental Entrepreneurs
 
Open Only If You Have Time For God
Open Only If You Have Time For GodOpen Only If You Have Time For God
Open Only If You Have Time For God
 
Ulmer chapter1definingcrisiscommunication
Ulmer chapter1definingcrisiscommunicationUlmer chapter1definingcrisiscommunication
Ulmer chapter1definingcrisiscommunication
 
The Four Taus Band 1964
The Four Taus Band 1964The Four Taus Band 1964
The Four Taus Band 1964
 

Similar to Real Value in Real Time: MongoDB-based Analytics at TeachStreet

SATToSE_2023_Presentation_slideshare.pdf
SATToSE_2023_Presentation_slideshare.pdfSATToSE_2023_Presentation_slideshare.pdf
SATToSE_2023_Presentation_slideshare.pdfnatarajan8993
 
Human Computation for Big Data
Human Computation for Big DataHuman Computation for Big Data
Human Computation for Big DataeXascale Infolab
 
Synthetic data in finance
Synthetic data in financeSynthetic data in finance
Synthetic data in financeQuantUniversity
 
F+ presentation public en
F+ presentation public enF+ presentation public en
F+ presentation public enSergiy Gladkyy
 
The world is increasingly immersive
The world is increasingly immersiveThe world is increasingly immersive
The world is increasingly immersivemsalomon
 
Institutional Repository Single Sources of Truth
Institutional Repository Single Sources of TruthInstitutional Repository Single Sources of Truth
Institutional Repository Single Sources of TruthLighton Phiri
 
Synthetic data in finance
Synthetic data in financeSynthetic data in finance
Synthetic data in financeQuantUniversity
 
Intro to Python for Data Science
Intro to Python for Data ScienceIntro to Python for Data Science
Intro to Python for Data ScienceTJ Stalcup
 
Recognising bot activity in collaborative software development
Recognising bot activity in collaborative software developmentRecognising bot activity in collaborative software development
Recognising bot activity in collaborative software developmentTom Mens
 
Web Analytics: A new Statistical Domain
Web Analytics: A new Statistical DomainWeb Analytics: A new Statistical Domain
Web Analytics: A new Statistical DomainPaul Askew
 
The Future of Social Analytics - Defrag 2010
The Future of Social Analytics - Defrag 2010The Future of Social Analytics - Defrag 2010
The Future of Social Analytics - Defrag 2010Dion Hinchcliffe
 
Infoactive Hacks/Hackers presentation
Infoactive Hacks/Hackers presentationInfoactive Hacks/Hackers presentation
Infoactive Hacks/Hackers presentationRoberto Rocha
 
Workshop: Lessons from Knowledge Management - Connecting People with Informat...
Workshop: Lessons from Knowledge Management - Connecting People with Informat...Workshop: Lessons from Knowledge Management - Connecting People with Informat...
Workshop: Lessons from Knowledge Management - Connecting People with Informat...Digital Workplace Experience
 
Virtual Worlds Overview
Virtual Worlds Overview Virtual Worlds Overview
Virtual Worlds Overview Robin Teigland
 
Where 2012 prototyping workshop
Where 2012 prototyping workshopWhere 2012 prototyping workshop
Where 2012 prototyping workshopMatt Biddulph
 
Imagine you are an interviewee who is using a websitehttpsugr.docx
Imagine you are an interviewee who is  using a websitehttpsugr.docxImagine you are an interviewee who is  using a websitehttpsugr.docx
Imagine you are an interviewee who is using a websitehttpsugr.docxsheronlewthwaite
 

Similar to Real Value in Real Time: MongoDB-based Analytics at TeachStreet (20)

SATToSE_2023_Presentation_slideshare.pdf
SATToSE_2023_Presentation_slideshare.pdfSATToSE_2023_Presentation_slideshare.pdf
SATToSE_2023_Presentation_slideshare.pdf
 
Human Computation for Big Data
Human Computation for Big DataHuman Computation for Big Data
Human Computation for Big Data
 
Not Your Mom's SEO
Not Your Mom's SEONot Your Mom's SEO
Not Your Mom's SEO
 
Synthetic data in finance
Synthetic data in financeSynthetic data in finance
Synthetic data in finance
 
Building data science teams
Building data science teamsBuilding data science teams
Building data science teams
 
F+ presentation public en
F+ presentation public enF+ presentation public en
F+ presentation public en
 
The world is increasingly immersive
The world is increasingly immersiveThe world is increasingly immersive
The world is increasingly immersive
 
Institutional Repository Single Sources of Truth
Institutional Repository Single Sources of TruthInstitutional Repository Single Sources of Truth
Institutional Repository Single Sources of Truth
 
Synthetic data in finance
Synthetic data in financeSynthetic data in finance
Synthetic data in finance
 
Intro to Python for Data Science
Intro to Python for Data ScienceIntro to Python for Data Science
Intro to Python for Data Science
 
Recognising bot activity in collaborative software development
Recognising bot activity in collaborative software developmentRecognising bot activity in collaborative software development
Recognising bot activity in collaborative software development
 
Web Analytics: A new Statistical Domain
Web Analytics: A new Statistical DomainWeb Analytics: A new Statistical Domain
Web Analytics: A new Statistical Domain
 
Metadata: Queen to King Content?
Metadata: Queen to King Content?Metadata: Queen to King Content?
Metadata: Queen to King Content?
 
The Future of Social Analytics - Defrag 2010
The Future of Social Analytics - Defrag 2010The Future of Social Analytics - Defrag 2010
The Future of Social Analytics - Defrag 2010
 
Managed Metadata Austin SPS
Managed Metadata Austin SPSManaged Metadata Austin SPS
Managed Metadata Austin SPS
 
Infoactive Hacks/Hackers presentation
Infoactive Hacks/Hackers presentationInfoactive Hacks/Hackers presentation
Infoactive Hacks/Hackers presentation
 
Workshop: Lessons from Knowledge Management - Connecting People with Informat...
Workshop: Lessons from Knowledge Management - Connecting People with Informat...Workshop: Lessons from Knowledge Management - Connecting People with Informat...
Workshop: Lessons from Knowledge Management - Connecting People with Informat...
 
Virtual Worlds Overview
Virtual Worlds Overview Virtual Worlds Overview
Virtual Worlds Overview
 
Where 2012 prototyping workshop
Where 2012 prototyping workshopWhere 2012 prototyping workshop
Where 2012 prototyping workshop
 
Imagine you are an interviewee who is using a websitehttpsugr.docx
Imagine you are an interviewee who is  using a websitehttpsugr.docxImagine you are an interviewee who is  using a websitehttpsugr.docx
Imagine you are an interviewee who is using a websitehttpsugr.docx
 

More from TeachStreet

December 2009 TeachStreet Teacher Webinar & Meet-up
December 2009 TeachStreet Teacher Webinar & Meet-upDecember 2009 TeachStreet Teacher Webinar & Meet-up
December 2009 TeachStreet Teacher Webinar & Meet-upTeachStreet
 
Create A Stellar Listing
Create A Stellar ListingCreate A Stellar Listing
Create A Stellar ListingTeachStreet
 
Call Tracker Update
Call Tracker UpdateCall Tracker Update
Call Tracker UpdateTeachStreet
 
Introducing the Teacher Dashbaord
Introducing the Teacher DashbaordIntroducing the Teacher Dashbaord
Introducing the Teacher DashbaordTeachStreet
 
Introduction to Twitter (w/ Allen Klosowski)
Introduction to Twitter (w/ Allen Klosowski)Introduction to Twitter (w/ Allen Klosowski)
Introduction to Twitter (w/ Allen Klosowski)TeachStreet
 
Getting Started On Twitter
Getting Started On TwitterGetting Started On Twitter
Getting Started On TwitterTeachStreet
 
Manage Photos on TeachStreet
Manage Photos on TeachStreetManage Photos on TeachStreet
Manage Photos on TeachStreetTeachStreet
 
TeachStreet Happy Hour
TeachStreet Happy HourTeachStreet Happy Hour
TeachStreet Happy HourTeachStreet
 

More from TeachStreet (11)

December 2009 TeachStreet Teacher Webinar & Meet-up
December 2009 TeachStreet Teacher Webinar & Meet-upDecember 2009 TeachStreet Teacher Webinar & Meet-up
December 2009 TeachStreet Teacher Webinar & Meet-up
 
Invoicing
InvoicingInvoicing
Invoicing
 
Create A Stellar Listing
Create A Stellar ListingCreate A Stellar Listing
Create A Stellar Listing
 
Listings Update
Listings UpdateListings Update
Listings Update
 
Call Tracker Update
Call Tracker UpdateCall Tracker Update
Call Tracker Update
 
Introducing the Teacher Dashbaord
Introducing the Teacher DashbaordIntroducing the Teacher Dashbaord
Introducing the Teacher Dashbaord
 
Introduction to Twitter (w/ Allen Klosowski)
Introduction to Twitter (w/ Allen Klosowski)Introduction to Twitter (w/ Allen Klosowski)
Introduction to Twitter (w/ Allen Klosowski)
 
Getting Started On Twitter
Getting Started On TwitterGetting Started On Twitter
Getting Started On Twitter
 
Manage Photos on TeachStreet
Manage Photos on TeachStreetManage Photos on TeachStreet
Manage Photos on TeachStreet
 
Reviews 101
Reviews 101Reviews 101
Reviews 101
 
TeachStreet Happy Hour
TeachStreet Happy HourTeachStreet Happy Hour
TeachStreet Happy Hour
 

Recently uploaded

A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 

Recently uploaded (20)

A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 

Real Value in Real Time: MongoDB-based Analytics at TeachStreet

  • 1. Real Value in Real Time MongoDB-based Analytics at TeachStreet Daryn Nakhuda Chief Technology Officer TeachStreet.com 1
  • 2. TeachStreet A marketplace for learning We help people find classes and teachers We help teachers get more students Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 2 2
  • 3. TeachStreet Based in Seattle 7 Full-time employees - 50% dev/engineering Launched in April 2008 Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 3 3
  • 4. Tech Stack Handful of physical servers Ruby on Rails Linux, Nginx, Mongrel, PostgreSQL, Sphinx MongoDB (MongoMapper, because we <3 jnunemaker) Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 4 4
  • 5. Product Profile Page Class Listing and Session Pages Phone tracking, payment processing, marketing tools, etc. Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 5 5
  • 6. The Problem People love the idea, but they have no idea if it is really working for them. “I’ve never once been contacted by a student who found me on TeachStreet” Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 6 6
  • 7. June 2009 The site is working for you, really! Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 7 7
  • 8. Teacher Dashboard (v1) Quick Snapshot of Activity Built on Google Analytics API Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 8 8
  • 9. Teacher Dashboard (v1) PROS • Provided insight into a former void • Easy to understand • Quickly implemented, no IT impact Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 9 9
  • 10. Teacher Dashboard (v1) CONS • Cumulative data only • No date filters / trending information • Not real-time • URL-based, fragile • “Operationally-Annoying” Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 10 10
  • 11. May 2010 That’ll be $3 please Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 11 11
  • 12. Metrics Dashboard v2 • Track conversions as well as traffic • Real-time • Date-filters / Trends • Keep it simple and easy to use • Flexible Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 12 12
  • 13. Page Events ‘page_events’ collection • Views to profile, listing & session pages • Can also be used for homepage, search, featured placements, etc. Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 13 13
  • 14. Lead Events ‘lead_events’ collection • Messages • Phone Calls • URL Clicks • Enrollments • More Information / Affiliates These are the things people will ‘do the math’ with Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 14 14
  • 15. Tracking Models EventAttributes Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 15 15
  • 16. Tracking Models PageEvent PageViewEvent Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 16 16
  • 17. Sample Page Event { "_id" : ObjectId("4bbbed8c4e40d3593b000001"), "updated_at" : "Tue Apr 06 2010 19:27:24 GMT-0700 (PDT)", "current_user_id" : null, "parent_teacher_id" : null, "listing_session_id" : null, "sub_page" : "main", "page_type" : "User", "session_id" : "747469eb432e27fc4a678a8805563dbf", "url" : "http://www.teachstreet.com/teacher/diablo-k9- academy", "subdomain" : null, "listing_id" : null, "teacher_id" : 18467, "_type" : "PageViewEvent", "count" : 1, "created_at" : "Tue Apr 06 2010 19:27:24 GMT-0700 (PDT)" } Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 17 17
  • 18. Tracking Models LeadEvent CallEvent Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 18 18
  • 19. Sample Lead Event { "_id" : ObjectId("4bbbf00a3352585b29000003"), "updated_at" : "Tue Apr 06 2010 19:38:02 GMT-0700 (PDT)", "parent_teacher_id" : 116845, "current_user_id" : null, "listing_session_id" : 194028, "session_id" : "4a2146ae80971b47ec6acd86827506f9", "url" : "http:// www.teachstreet.com/redirect? source_id=cl-87e9otqv6o&url=http%3A%2F %2Fwww.wyzant.com%2Ftutorprofile3480833", "subdomain" : null, "listing_id" : 153395, "teacher_id" : 119644, "_type" : "ClickThroughEvent", "count" : 1, "source_type" : "ListingSession", "created_at" : "Tue Apr 06 2010 19:38:02 GMT-0700 (PDT)" } Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 19 19
  • 20. How we track JavaScript - for page actions, to filter robots Or, just directly to the logger Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 20 20
  • 21. Reporting Dashboard Presenters: • Used from web as well as weekly activity emails • Aggregate functions • Map/Reduce queries Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 21 21
  • 22. Some Presenter Code Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 22 22
  • 23. Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 23 23
  • 24. Metrics Dashboard (v2) Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 24 24
  • 25. Weekly Summary Email Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 25 25
  • 26. Q &A Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 26 26
  • 27. Thanks! If you like what you’ve seen, do me a favor: Find great local and online <a href=”http://www.teachstreet.com/”>Classes</a> on TeachStreet Email: daryn@teachstreet.com Twitter: @daryn Real Value in Real Time Mongo Seattle - July 2010 Daryn Nakhuda, TeachStreet.com 27 27