Parse.ly: Inside a modern RIA built with Solr

25
1 Inside a modern RIA powered by Solr Andrew Montalenti Co-Founder & Technology Lead [email protected]

description

 

Transcript of Parse.ly: Inside a modern RIA built with Solr

Page 1: Parse.ly: Inside a modern RIA built with Solr

1

Inside a modern RIA powered by Solr

Andrew MontalentiCo-Founder &

Technology [email protected]

Page 2: Parse.ly: Inside a modern RIA built with Solr

22

Page 3: Parse.ly: Inside a modern RIA built with Solr

Mainstream

30,000

3

Blogs

900,000

1From Technorati’s 2008 State of the Blogosphere

1

Page 4: Parse.ly: Inside a modern RIA built with Solr

But,

4

What about your interests?4

Page 5: Parse.ly: Inside a modern RIA built with Solr

your interests,

your web

55

your web

Page 6: Parse.ly: Inside a modern RIA built with Solr

6

Page 7: Parse.ly: Inside a modern RIA built with Solr

What is ?

• Your unique interests

• … create a filtered, prioritized, and personalized news feed

• … built just for you!

• 120K+ news and blog sources tracked

• The most personally relevant items at the top

• Bottom line:

You spend less time skimming headlines,

and more time reading relevant content.

7

Page 8: Parse.ly: Inside a modern RIA built with Solr

Demo!

(if possible)

Page 9: Parse.ly: Inside a modern RIA built with Solr

9

Let’s pop open the hood!

Page 10: Parse.ly: Inside a modern RIA built with Solr

The RIA

ExtJS + jQuery

JS REST Binding

1010

REST API

django-piston

Solr Postgres

Page 11: Parse.ly: Inside a modern RIA built with Solr

11

Page 12: Parse.ly: Inside a modern RIA built with Solr

Batch size

Per-Doc Processing

12

IO-bound work

size

Page 13: Parse.ly: Inside a modern RIA built with Solr

13

Page 14: Parse.ly: Inside a modern RIA built with Solr

Solr in the Real World

• Storage of "canonical data“

• Relational vs. Search Index

• Complexity of custom relevancy scoring

• "Near-Real-Time" updates• "Near-Real-Time" updates

• Solr in a pipeline

• Pushing bits and marshalling cost

• Index size, corruption, and stability

• Administrability

14

Page 15: Parse.ly: Inside a modern RIA built with Solr
Page 16: Parse.ly: Inside a modern RIA built with Solr

Scaling Up Parse.ly

• Custom scoring

• Multicore

• Distributed search

• Celery / Disco

1616

• User-Article Binding Problem

Page 17: Parse.ly: Inside a modern RIA built with Solr

17

Page 18: Parse.ly: Inside a modern RIA built with Solr

Basic

solr.py

Almost There

collective.solr

Comprehensive

haystack

18

pysolr

solrpy

json/py output

solango python-solr

Page 19: Parse.ly: Inside a modern RIA built with Solr

19

Page 20: Parse.ly: Inside a modern RIA built with Solr

BatchingContext Lib

Caching

20

Comprehensive.

Pythonic.

Solr.

MulticoreProxies

Web Framework

Django

PaginationIterators

CachingMemoization

Page 21: Parse.ly: Inside a modern RIA built with Solr

21

powered by

Page 22: Parse.ly: Inside a modern RIA built with Solr

Andrew

DidierSachin

22

Page 23: Parse.ly: Inside a modern RIA built with Solr

Quick Plug

Does your company or enterprise

need our services?

23

Page 24: Parse.ly: Inside a modern RIA built with Solr

2424

Page 25: Parse.ly: Inside a modern RIA built with Solr

Andrew Montalenti

[email protected]

25

Twitter

@amontalenti

Product Twitter

@parse_ly

25

[email protected]

Website

http://parse.ly

Team Blog

http://blog.cogtree.com

Sign up now!

It’s Free!

Promo Code

SLIDES