• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
mixixmas2010-appengine-jjug-ccc
 

mixixmas2010-appengine-jjug-ccc

on

  • 11,591 views

 

Statistics

Views

Total Views
11,591
Views on SlideShare
1,715
Embed Views
9,876

Actions

Likes
8
Downloads
22
Comments
0

8 Embeds 9,876

http://ayuta.co.jp 8654
http://www.ayuta.co.jp 616
http://d.hatena.ne.jp 500
http://uf.websozai.jp 89
http://kaorumori.hatenadiary.com 14
http://webcache.googleusercontent.com 1
http://kaorumori.hatenablog.com 1
http://kaorumori.iotaworks.jp 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

mixixmas2010-appengine-jjug-ccc mixixmas2010-appengine-jjug-ccc Presentation Transcript

  • mixi Xmas2010
  • PC makeRequest JSON GAE/J http request (FW:Slim3) WebPage
  • DB
  • DB
  • Datastore
  • Static Memcache or Datastore Staticrequest Memcache Datastorerequest Static
  • 10s GAE10s
  • • Datastore deadline - Datastore 10 mixi - Datastore DatastoreServiceConfig Datastore - JOIN
  • DatastoreServiceConfig config = DatastoreServiceConfig.Builder .withReadPolicy(newReadPolicy(Consistency.EVENTUAL)) .deadline(5.0);DatastoreService ds = DatastoreServiceFactory.getDatastoreService(config);
  • entity = Datastore.deadline(2.5).get(modelClass, key); (appengine-web.xml)<?xml version="1.0" encoding="utf-8"?><appengine-web-app xmlns="http://appengine.google.com/ns/1.0"> <application>app-name</application> <version>1</version> <precompilation-enabled>true</precompilation-enabled> <system-properties> <property name="slim3.datastoreDeadline" value="5.0" /> <property name="java.util.logging.config.file" value="WEB-INF/classes/logging.properties" /> </system-properties> <sessions-enabled>false</sessions-enabled> <inbound-services> <service>warmup</service> </inbound-services></appengine-web-app>
  • Html Jsp http:// <img … /{pageName}.gif imghttp ://. ../p age Nam e.gi f PV GAE Mixi gif GAE PV
  • key = Datastore.createKey(modelClass, keyName);
  • 12341 12342 12345 12343 12346 12344 12347 ABC_12311 ABC_12312 45ABC_123 DEF_12321DEF_12346 DEF_12322GHI_12347 GHI_12331 GHI_12332
  • Slim3 on Google AppEngine for Java ( , ) ( )