Life of a Request by Ana Oprea

13
Life of a request Ana Oprea Rails Girls Munich 13.06.2015

Transcript of Life of a Request by Ana Oprea

Page 1: Life of a Request by Ana Oprea

Life of a requestAna Oprea

Rails Girls Munich13.06.2015

Page 2: Life of a Request by Ana Oprea

Contents● Internet Protocol suite (TCP/IP)● URLs● HTTP● Web caching● DNS● TCP connection● Your Application

---------------------------------------------------------------------------------------------------------● Opportunities at Google

2

Page 3: Life of a Request by Ana Oprea

Internet Protocol suite (TCP/IP) End-to-end connectivity● packaging● addressing● transmission

3source

Page 4: Life of a Request by Ana Oprea

URLsUniform Resource Locator//<user>:<password>@<host>:<port>/<url-path> ? <parameter=value>

● https: // www.google.de / ? q=rails+girls+munich+2015● http: // railsgirls.com / munich2015● ftp: // foo : bar @ myhost.com /● mailto : anaoprea @ google.com● file: // /home/anaoprea/Documents/note12345.txt

4

Page 5: Life of a Request by Ana Oprea

HTTPHyperText Transfer Protocol

Browser: "Ok, so, I have a user requesting this address: railsgirls.com. I figure since there are no slashes or anything, this is a direct request of a main page. There was also no protocol or port defined, so I'll assume it's HTTP and going to port 80..."

5

source

Page 6: Life of a Request by Ana Oprea

Web cachingReusing previously stored resources

6

cc sourcesource

Page 7: Life of a Request by Ana Oprea

DNSHierarchical distributed Domain Name System

Browser: "oh well, first things first. Hey DNS, pal, wake up! Where is this railsgirls.com hiding at?"DNS: "Right... wait a sec, I'll ask the ISP servers. Ok, it looks like 109.74.202.152"

7

source

Page 8: Life of a Request by Ana Oprea

TCP connection

8source

Page 9: Life of a Request by Ana Oprea

Your application

9

source

Page 10: Life of a Request by Ana Oprea

The Reply

10

source

Page 11: Life of a Request by Ana Oprea

Resources● Rails Girls Guides: Web Fundamentals● Question: What exactly happens when you type browse a website in your

browser● TCP/IP (Wikipedia)

11

Page 12: Life of a Request by Ana Oprea

Opportunities at Googlehttp://www.google.com/about/careers/teams/

12

Engineering & Design

Operations & Support

Product Management

Developer Relations & Technical Solutions

Sales & Account Management

Product & Customer Support

Partnerships Sales Operations

Administrative Business Strategy

Finance Legal & Government Relations

Marketing & Communications

People Operations

Real Estate & Workplace Services

Social Impact

Page 13: Life of a Request by Ana Oprea

Engineering and Designhttp://www.google.com/about/careers/teams/engineering/ “Google is and always will be an engineering company. We hire people with a broad set of technical skills who are ready to tackle some of technology’s greatest challenges and make an impact on millions, if not billions, of users. At Google, software, hardware, network, test and site reliability engineers not only revolutionize search, they routinely work on massive scalability and storage solutions, large-scale applications and entirely new platforms for developers around the world. From AdWords to Chrome, Android to YouTube, Social to Local, Google engineers and designers are changing the world one technological advance after another.”

Check out Google Munich ;) https://www.google.com/about/careers/locations/munich/ 13