Birdpie
by anupnarkhede on Feb 10, 2010
- 1,881 views
My presentation at lrug on 10th Feb
My presentation at lrug on 10th Feb
Accessibility
Categories
Tags
Upload Details
Uploaded via SlideShare as Apple Keynote
Usage Rights
© All Rights Reserved
Statistics
- Favorites
- 3
- Downloads
- 11
- Comments
- 0
- Embed Views
- Views on SlideShare
- 1,735
- Total Views
- 1,881
I am here to present you birdpie, an experimental project developed using Rails 3 with resque backend.
This application was released in January.
I am working fulltime on rails since 2007.
Right now I work for Dynamic50 which is a cool startup based in Croydon.
You can follow me on twitter & my id is railsbob.
We tweet the links, share it among our network and then forget about it.
There are few websites which aggregate bookmarks, but none of them are offered as personal tools.
The search cannot go beyond last 1500 tweets
We might come accoss different tiny urls pointing to same web page
Also, the twitter API cannot go beyond 3000 tweets for a user.
It also stores contextual information like tags and allows you to assign a category.
All dead and non existing links are discarded and the link is labeled with the title of the target page.
Private users can sign up too, but their bookmarks are not available for public viewing on the profile pages or search results.
Once the url is saved, birdpie fetches the target page and passes its content to a service to extract tags.
You can see an example above.
You can also list all bookmarks by a particular tag.
The dashboard allows you to assign a category for a bookmark and define new ones as you want.
So, if I tweet a link with hashtag #ruby, it is automatically assigned under ruby cateogy.
The idea was to start early and know it better
This being a minimal app, we did not face any major issue.
The site is up and running smoothly on production since a month.
There are three main tasks
Crawl for new tweets, check for links
Resolve target urls
Tag and save
The in-built increment method eliminates the need of a counter cache.
It is pretty fast and improves the overall performance of the application.
The Resque queue manager also relies on Redis for operation.
We chose Resque as we wanted to break the background tasks into multiple queues with different priorities.
Also, the admin app bundled with Resque is a handy tool for monitoring.
User queue deals with fetching content from twitter for a particular user.
Bookmarks queue resolves the raw link, tags it and updates the redis index
You can easily see if you require more workers on a particular queue and act accordingly.
It also gives information about failed jobs if any.
I have covered a brief introduction here, but you can follow these links if you want to dig in more details.
The mozilla plugin will provide you easy access to all your bookmarks right in the browser.
Retweet within the birdpie application to save someone else’s bookmarks
And finally a more extensive bookmark search.
You can keep a watch on dynamic50 blog for new announcements about birdpie features.