GAE
spin-up


     Java

          shuji_w6e
Java

@shuji_w6e
blog:
AppEngine

spin-up

T2framework        Scenic3

Datastore Editor
Motivation
AppEngine




>> Swing



CMS
AppEngine

Datastore

spin-up     9

JSP
etupirkacms

slim3
AppEngine

spin-up
 1,600ms - 1,900ms
1,800ms - 2,200ms



http://code.google.com/p/etupirka/
spin-up
3


slim3       (^q^)



                    (^o^)
spin-up

spin-up     spin-down

3,000ms    2,000ms


>>
slim3
Class Loading

spin-up




  jar
Web             1

GAE         spin-up



      spin-down
Mail, TQ, Memcache
1
>>


>>       TQ
Datastore         /
>>


>>               TQ → 300ms -400ms
Controller
slim3                 controller

1 Action Method = 1 Controller Class
URL      Controller
Simple VS Rich


GAE


>>
T2 framework
Page class, Action Method
@Page("/helloworld")
public class HelloPage {
 @Default
 public Navigation
         index() {
  ...
T2 framework

etupirkacms




              −
...

          Page



Page 20



slim3
Scenic3

slim3

T2 Framework       Page

APT     slim3   Controller

T2                   slim3

http://code.google.com/p/...
Scenic3


Page                  ActionController_1
 + Action_1
 + Action_2    APT
                      ActionController_2...
PageClass

HotReloading

slim3   Controller

PageTester
cache
etupirkacms
            Request
                                          put
                      get
PageCaheFilter
   ...
JSP


>> http://trac.deathmarch.jp/pirka/


                             pure Java
session


spin-up   100-300ms
Test
Datastore Viewer
OK



Key Blob
Kotan
  Swing
  Key Blob




http://code.google.com/p/kotan/
泣かないAppEngine開発
泣かないAppEngine開発
泣かないAppEngine開発
泣かないAppEngine開発
Upcoming SlideShare
Loading in...5
×

泣かないAppEngine開発

2,187

Published on

AppEnginge ja night #8 の資料。

Published in: Technology, Education
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,187
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
8
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide






































  • 泣かないAppEngine開発

    1. 1. GAE spin-up Java shuji_w6e
    2. 2. Java @shuji_w6e blog:
    3. 3. AppEngine spin-up T2framework Scenic3 Datastore Editor
    4. 4. Motivation
    5. 5. AppEngine >> Swing CMS
    6. 6. AppEngine Datastore spin-up 9 JSP
    7. 7. etupirkacms slim3 AppEngine spin-up 1,600ms - 1,900ms 1,800ms - 2,200ms http://code.google.com/p/etupirka/
    8. 8. spin-up
    9. 9. 3 slim3 (^q^) (^o^)
    10. 10. spin-up spin-up spin-down 3,000ms 2,000ms >>
    11. 11. slim3
    12. 12. Class Loading spin-up jar
    13. 13. Web 1 GAE spin-up spin-down
    14. 14. Mail, TQ, Memcache
    15. 15. 1 >> >> TQ
    16. 16. Datastore / >> >> TQ → 300ms -400ms
    17. 17. Controller
    18. 18. slim3 controller 1 Action Method = 1 Controller Class URL Controller
    19. 19. Simple VS Rich GAE >>
    20. 20. T2 framework
    21. 21. Page class, Action Method @Page("/helloworld") public class HelloPage { @Default  public Navigation index() {   return SimpleText .out("HelloWorld");  } @ActionPath(“post”) public Navigation post() { return ...; } }
    22. 22. T2 framework etupirkacms −
    23. 23. ... Page Page 20 slim3
    24. 24. Scenic3 slim3 T2 Framework Page APT slim3 Controller T2 slim3 http://code.google.com/p/scenic3/
    25. 25. Scenic3 Page ActionController_1 + Action_1 + Action_2 APT ActionController_2 APT path PageMatcher Scenic3FrontController
    26. 26. PageClass HotReloading slim3 Controller PageTester
    27. 27. cache
    28. 28. etupirkacms Request put get PageCaheFilter PageCache (id=path) get Action Template load/parse (id=templateNa me) Template File put Datastore
    29. 29. JSP >> http://trac.deathmarch.jp/pirka/ pure Java
    30. 30. session spin-up 100-300ms
    31. 31. Test
    32. 32. Datastore Viewer
    33. 33. OK Key Blob
    34. 34. Kotan Swing Key Blob http://code.google.com/p/kotan/
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×