•  

Polling: It's Good Enough for the WWW & It's Good Enough for You

A session at Open Source Bridge 2013

Wednesday 19th June, 2013

2:30pm to 3:15pm (PST)

Lately everyone loves pushing: you get push notifications on your iOS device, cloud to device messages on your Android device, and something about web sockets. Pushing seems natural. "Hey! I have some data for you, let me send it to you," says the pusher. Too bad it doesn't scale effectively. Pushing is expensive and hard. It cannot take advantage of any caching and needs to keep track of failures and retries. "Hey! I have some data for <%= @big_number %> of you, let me send it to all of you," says the pusher. "Oh, some of you didn't get it? Who? When should I try again? How many times should I try?"

Every time you want to push you can get away will polling cheaper and easier (almost). The WWW is built on polling. Your application will never need to scale to as big as the WWW. Let's see how Rails applications can use polling to scale effectively and what happens when you combine pushing and polling.

About the speaker

This person is speaking at this event.
Jessica Lynn Suttles

CTO at Vektra.com

Sign in to add slides, notes or videos to this session

Tell your friends!

When

Time 2:30pm3:15pm PST

Date Wed 19th June 2013

Short URL

lanyrd.com/schpbc

View the schedule

Share

Topics

See something wrong?

Report an issue with this session