9
Code In The Air

Code In The Air. s = gps.getSpeed(); d = gps.getDirection(); send(5sec, s + d); Phones execute code based on location

Embed Size (px)

Citation preview

Page 1: Code In The Air. s = gps.getSpeed(); d = gps.getDirection(); send(5sec, s + d); Phones execute code based on location

Code In The Air

Page 2: Code In The Air. s = gps.getSpeed(); d = gps.getDirection(); send(5sec, s + d); Phones execute code based on location

Code In The Air

s = gps.getSpeed();d = gps.getDirection();send(5sec, s + d);

Phones execute code based on location

Page 3: Code In The Air. s = gps.getSpeed(); d = gps.getDirection(); send(5sec, s + d); Phones execute code based on location

Code In The Air

s = gps.getSpeed();d = gps.getDirection();send(5sec, s + d);

s = gps.getSpeed();d = gps.getDirection();send(10sec, s + d);

s = gps.getSpeed();d = gps.getDirection();send(30sec, s + d);

s = gps.getSpeed();d = gps.getDirection();send(5sec, s + d);

s = gps.getSpeed();d = gps.getDirection();send(30sec, s + d);

s = gps.getSpeed();d = gps.getDirection();send(5sec, s + d);

s = gps.getSpeed();d = gps.getDirection();send(10sec, s + d);

s = gps.getSpeed();d = gps.getDirection();send(5sec, s + d);

Remotely program through a web service

Page 4: Code In The Air. s = gps.getSpeed(); d = gps.getDirection(); send(5sec, s + d); Phones execute code based on location

Applications

Crowd sourcing

Page 5: Code In The Air. s = gps.getSpeed(); d = gps.getDirection(); send(5sec, s + d); Phones execute code based on location

Applications

phone.setVibrate();alert(“send taxes”);tweet(“reached office”);

Crowd sourcingLocation based

Page 6: Code In The Air. s = gps.getSpeed(); d = gps.getDirection(); send(5sec, s + d); Phones execute code based on location

Applications

“this restaurant sucks”

Crowd sourcingLocation basedSocial/Collaborative

Page 7: Code In The Air. s = gps.getSpeed(); d = gps.getDirection(); send(5sec, s + d); Phones execute code based on location

Applications

Crowd sourcingLocation basedSocial/CollaborativeDeveloper Platform

Page 8: Code In The Air. s = gps.getSpeed(); d = gps.getDirection(); send(5sec, s + d); Phones execute code based on location

Research Challenges• Can we reduce the coding effort by 100x?

l = getLocation();s = getSpeed();r = roadSegment(l);sum[r] = sum[r] + s; count[r] = count[r] + 1avgSpeed[r] = sum[r] / count[r];

• Developer writes simple server side code – Algorithms automatically partition code to run on phones

• How do we scale to thousands of phones?

• Security, Privacy and Incentives

l = gps.getLocation();s = gps.getSpeed();send(l, s);

Page 9: Code In The Air. s = gps.getSpeed(); d = gps.getDirection(); send(5sec, s + d); Phones execute code based on location

Contact

• Professors– Hari Balakrishnan ([email protected])– Sam Madden ([email protected])

• Grad students– Lenin Ravindranath ([email protected])– Arvind Thiagarajan ([email protected])