Top Banner
Google App Engine and Java Application: Clustering Internet search results for a person 21.03.22 Aleksandar Kartelj [email protected] Faculty of Mathematics, University of Belgrade
15

Google App Engine and Java Application: Clustering Internet search results for a person 14.8.2015Aleksandar Kartelj [email protected] Faculty of Mathematics,

Dec 23, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Google App Engine and Java Application: Clustering Internet search results for a person 14.8.2015Aleksandar Kartelj kartelj@matf.bg.ac.rs Faculty of Mathematics,

Google App Engine and Java

Application: Clustering Internet search results for a person

19.04.23 Aleksandar [email protected]

Faculty of Mathematics, University of Belgrade

Page 2: Google App Engine and Java Application: Clustering Internet search results for a person 14.8.2015Aleksandar Kartelj kartelj@matf.bg.ac.rs Faculty of Mathematics,

Google App Engine

• Web application hosting service

• Designed for real-time dynamic apps

• Many simultaneous users

• Scalable

• Paying resources monthly

• Free account (5 million page views a month)

19.04.23 Aleksandar [email protected]

2/14

Page 3: Google App Engine and Java Application: Clustering Internet search results for a person 14.8.2015Aleksandar Kartelj kartelj@matf.bg.ac.rs Faculty of Mathematics,

Sandboxing

• App can only read its own files

• App cannot manipulate environment variables

• App cannot access network facilities

• Distributing request non-deterministically

• Consequence: run multiple apps on the same server, or one app on multiple servers safely

19.04.23 Aleksandar [email protected]

3/14

Page 4: Google App Engine and Java Application: Clustering Internet search results for a person 14.8.2015Aleksandar Kartelj kartelj@matf.bg.ac.rs Faculty of Mathematics,

Architecture overview

19.04.23 Aleksandar [email protected]

4/14

Page 5: Google App Engine and Java Application: Clustering Internet search results for a person 14.8.2015Aleksandar Kartelj kartelj@matf.bg.ac.rs Faculty of Mathematics,

Features

• The static file servers

• The Datastore– Not join-query database– Most resembling to object database

• Entities and properties– Entity has 1..* properties– Not to be confused with rows in RDBMS

19.04.23 Aleksandar [email protected]

5/14

Page 6: Google App Engine and Java Application: Clustering Internet search results for a person 14.8.2015Aleksandar Kartelj kartelj@matf.bg.ac.rs Faculty of Mathematics,

Features

• Queries and indexes– Index in made for every simple query– Query performance affected only by the size

of the result set

• Transactions– Optimistic concurrency control– Entity groups (entities updated in one trans.)

• Services: memcache, URL fetch , Mail, …

19.04.23 Aleksandar [email protected]

6/14

Page 7: Google App Engine and Java Application: Clustering Internet search results for a person 14.8.2015Aleksandar Kartelj kartelj@matf.bg.ac.rs Faculty of Mathematics,

App Engine’s request handling

19.04.23 Aleksandar [email protected]

7/14

Page 8: Google App Engine and Java Application: Clustering Internet search results for a person 14.8.2015Aleksandar Kartelj kartelj@matf.bg.ac.rs Faculty of Mathematics,

Building applications

19.04.23 Aleksandar [email protected]

8/14

Page 9: Google App Engine and Java Application: Clustering Internet search results for a person 14.8.2015Aleksandar Kartelj kartelj@matf.bg.ac.rs Faculty of Mathematics,

App engine dashboard

19.04.23 Aleksandar [email protected]

9/14

Page 10: Google App Engine and Java Application: Clustering Internet search results for a person 14.8.2015Aleksandar Kartelj kartelj@matf.bg.ac.rs Faculty of Mathematics,

App engine dashboard

19.04.23 Aleksandar [email protected]

10/14

Page 11: Google App Engine and Java Application: Clustering Internet search results for a person 14.8.2015Aleksandar Kartelj kartelj@matf.bg.ac.rs Faculty of Mathematics,

Clustering search results

19.04.23 Aleksandar [email protected]

11/14

Page 12: Google App Engine and Java Application: Clustering Internet search results for a person 14.8.2015Aleksandar Kartelj kartelj@matf.bg.ac.rs Faculty of Mathematics,

Clustering search results

19.04.23 Aleksandar [email protected]

12/14

Page 13: Google App Engine and Java Application: Clustering Internet search results for a person 14.8.2015Aleksandar Kartelj kartelj@matf.bg.ac.rs Faculty of Mathematics,

EC2 vs GAE vs Azure

19.04.23 Aleksandar [email protected]

13

Page 14: Google App Engine and Java Application: Clustering Internet search results for a person 14.8.2015Aleksandar Kartelj kartelj@matf.bg.ac.rs Faculty of Mathematics,

EC2 vs GAE vs Azure

19.04.23 Aleksandar [email protected]

14

Page 15: Google App Engine and Java Application: Clustering Internet search results for a person 14.8.2015Aleksandar Kartelj kartelj@matf.bg.ac.rs Faculty of Mathematics,

Thank you.

Aleksandar Kartelj

Faculty of Mathematics, University of Belgrade

[email protected]

www.matf.bg.ac.rs/~kartelj