泣かないAppEngine開発

2,385 views

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,385
On SlideShare
0
From Embeds
0
Number of Embeds
283
Actions
Shares
0
Downloads
10
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/

    ×