mixi Xmas2010
PC     makeRequest          JSON                      GAE/J     http request   (FW:Slim3)        WebPage
DB
DB
Datastore
Static                       Memcache or Datastore          Staticrequest                   Memcache                   Dat...
10s      GAE10s
• Datastore               deadline  - Datastore                               10                  mixi  - Datastore      D...
DatastoreServiceConfig config = DatastoreServiceConfig.Builder  .withReadPolicy(newReadPolicy(Consistency.EVENTUAL))  .dea...
entity = Datastore.deadline(2.5).get(modelClass, key);                           (appengine-web.xml)<?xml version="1.0" en...
Html                                         Jsp                      http://               <img …                        ...
key = Datastore.createKey(modelClass, keyName);
12341            12342  12345     12343  12346     12344  12347            ABC_12311            ABC_12312       45ABC_123 ...
Slim3 on Google AppEngine for Java            ( ,    )         ( )
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
mixixmas2010-appengine-jjug-ccc
Upcoming SlideShare
Loading in …5
×

mixixmas2010-appengine-jjug-ccc

13,508 views

Published on

Published in: Technology
0 Comments
8 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
13,508
On SlideShare
0
From Embeds
0
Number of Embeds
11,390
Actions
Shares
0
Downloads
25
Comments
0
Likes
8
Embeds 0
No embeds

No notes for slide
  • \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

    1. 1. mixi Xmas2010
    2. 2. PC makeRequest JSON GAE/J http request (FW:Slim3) WebPage
    3. 3. DB
    4. 4. DB
    5. 5. Datastore
    6. 6. Static Memcache or Datastore Staticrequest Memcache Datastorerequest Static
    7. 7. 10s GAE10s
    8. 8. • Datastore deadline - Datastore 10 mixi - Datastore DatastoreServiceConfig Datastore - JOIN
    9. 9. DatastoreServiceConfig config = DatastoreServiceConfig.Builder .withReadPolicy(newReadPolicy(Consistency.EVENTUAL)) .deadline(5.0);DatastoreService ds = DatastoreServiceFactory.getDatastoreService(config);
    10. 10. 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>
    11. 11. Html Jsp http:// <img … /{pageName}.gif imghttp ://. ../p age Nam e.gi f PV GAE Mixi gif GAE PV
    12. 12. key = Datastore.createKey(modelClass, keyName);
    13. 13. 12341 12342 12345 12343 12346 12344 12347 ABC_12311 ABC_12312 45ABC_123 DEF_12321DEF_12346 DEF_12322GHI_12347 GHI_12331 GHI_12332
    14. 14. Slim3 on Google AppEngine for Java ( , ) ( )

    ×