logopolis
•
• http://d.hatena.ne.jp/kaiseh/
• S2Swing
•               Subversion 2
Blogopolis
Blogopolis
PageRank
1
        *
1

*

1

*
1

*
UI
UI
http://blogopolis.jp/
OS
     Xen Server (4 CPUs)
                               CentOS 5.3

         Web
                               DB
    ...
Java *   359   30,000
      AS3      73    6,000
               432   36,000
* TopHatenar         2009/9/8
23

   30

  430

  105

9GB (dump)

        2009/9/8
1.

2.


3.   2
IT    business          ...

  id:higayasuo       333      302      386

id:fromdusktildawn   1301     68       2077

  id...
K-means

•
•

•
•

•

•
K-means
     •

                           IT    business          ...

p0       id:higayasuo     333      302      386

p...
• K-means




     IT     business
•

•   Additively Weighted Voronoi Diagram



•   Additively Weighted Power Voronoi Diagram
Centroidal Voronoi Tessellation
 with Additively Weighted Power Voronoi Diagram




      http://www.vimeo.com/6551478
Voronoi Treemap
Voronoi Treemap
Voronoi Treemap
Voronoi Treemap
Voronoi Treemap
Voronoi Treemap
•

• java.awt.geom
•                 Flash

•
3D
Papervision3D

• AS3            Flash 3D

•
• QuadTree
 ‣

     http://code.google.com/p/papervision3d/
3D

•        3D



•
•
•

    Wikipedia
(1)




WireframeMaterial
(2)




PhongMaterial
(3)




PhongMaterial +
(4)
(5)
(0, 0)
         +

         +   + 3D
•        ID,       ,
         → 100MB

•
    ID

•
GNU Trove
•
    ‣   ex. TIntArrayList, TIntHashSet,
        TIntDoubleHashMap

•
•
                    http://trove4j.sour...
100                           put

               java.util.HashMap<Integer, Integer>
               gnu.trove.TIntIntHash...
Ehcache
•
• JCache (JSR 107)
• Blogopolis
 ‣                       66
      TopHatenar 90

                      http://eh...
Adobe Flex
S2Flex2
S2Flex2
• AMF3
• Flex 3
• Java AS3   POJO      Service



• BlazeDS
ByteArray (Flex)
•

•    ZLIB

•
Web
      Cubby
Cubby
 •
 •
                      Forward, Redirect, JSON, etc

                Plain Text, Image, Permanent Redirect


jQ...
Struts                            Cubby
                           Struts
      Web
                  Cubby



http://d.ha...
S2JDBC
S2JDBC


jdbcManager.from(RegionImage.class)

  .where(”zoom = ? and x = ? and y = ?”,

    zoom, x, y)

  .getSingleResul...
S2JDBC

•
    ‣   1      SQL

•
    ‣   SQL
Apache Solr
Apache Solr

• Java
• Apache Lucene
• HTTP API
 •
             http://lucene.apache.org/solr/
Solr
•
    ‣

    ‣

• CJKAnalyzer bi-gram
• URL
•            MySQL
•
    ‣           63MB
    ‣   1.6GB

•         ms
Solr
• Lucene

•
•

•                           UI

• S2Flex2, Cubby, S2JDBC, Apache Solr
•
    →

•
•
Blogopolis

    OSS
logopolis
http://blogopolis.jp/
Blogopolisの裏側
Blogopolisの裏側
Blogopolisの裏側
Blogopolisの裏側
Blogopolisの裏側
Blogopolisの裏側
Blogopolisの裏側
Blogopolisの裏側
Blogopolisの裏側
Blogopolisの裏側
Blogopolisの裏側
Upcoming SlideShare
Loading in …5
×

Blogopolisの裏側

3,076 views

Published on

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

  • Be the first to like this

No Downloads
Views
Total views
3,076
On SlideShare
0
From Embeds
0
Number of Embeds
1,026
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Blogopolisの裏側

  1. 1. logopolis
  2. 2. • • http://d.hatena.ne.jp/kaiseh/ • S2Swing • Subversion 2
  3. 3. Blogopolis
  4. 4. Blogopolis
  5. 5. PageRank
  6. 6. 1 * 1 * 1 * 1 *
  7. 7. UI
  8. 8. UI
  9. 9. http://blogopolis.jp/
  10. 10. OS Xen Server (4 CPUs) CentOS 5.3 Web DB Apache RAM: 512MB MySQL RAM: 4GB mod_proxy_balancer AP AP Tomcat Tomcat Solr RAM: 3.2GB RAM: 3.2GB RAM: 1.5GB
  11. 11. Java * 359 30,000 AS3 73 6,000 432 36,000 * TopHatenar 2009/9/8
  12. 12. 23 30 430 105 9GB (dump) 2009/9/8
  13. 13. 1. 2. 3. 2
  14. 14. IT business ... id:higayasuo 333 302 386 id:fromdusktildawn 1301 68 2077 id:kawango 634 266 18
  15. 15. K-means • • •
  16. 16. • • •
  17. 17. K-means • IT business ... p0 id:higayasuo 333 302 386 p1 id:fromdusktildawn 1301 68 2077 p2 id:kawango 634 266 18
  18. 18. • K-means IT business
  19. 19. • • Additively Weighted Voronoi Diagram • Additively Weighted Power Voronoi Diagram
  20. 20. Centroidal Voronoi Tessellation with Additively Weighted Power Voronoi Diagram http://www.vimeo.com/6551478
  21. 21. Voronoi Treemap
  22. 22. Voronoi Treemap
  23. 23. Voronoi Treemap
  24. 24. Voronoi Treemap
  25. 25. Voronoi Treemap
  26. 26. Voronoi Treemap
  27. 27. • • java.awt.geom • Flash •
  28. 28. 3D
  29. 29. Papervision3D • AS3 Flash 3D • • QuadTree ‣ http://code.google.com/p/papervision3d/
  30. 30. 3D • 3D •
  31. 31. • • Wikipedia
  32. 32. (1) WireframeMaterial
  33. 33. (2) PhongMaterial
  34. 34. (3) PhongMaterial +
  35. 35. (4)
  36. 36. (5)
  37. 37. (0, 0) + + + 3D
  38. 38. • ID, , → 100MB • ID •
  39. 39. GNU Trove • ‣ ex. TIntArrayList, TIntHashSet, TIntDoubleHashMap • • http://trove4j.sourceforge.net/
  40. 40. 100 put java.util.HashMap<Integer, Integer> gnu.trove.TIntIntHashMap Memory (MB) 0 20 40 60 80 Speed (ms) 0 200 400 600 800 1,000 1,200
  41. 41. Ehcache • • JCache (JSR 107) • Blogopolis ‣ 66 TopHatenar 90 http://ehcache.org/
  42. 42. Adobe Flex S2Flex2
  43. 43. S2Flex2 • AMF3 • Flex 3 • Java AS3 POJO Service • BlazeDS
  44. 44. ByteArray (Flex) • • ZLIB •
  45. 45. Web Cubby
  46. 46. Cubby • • Forward, Redirect, JSON, etc Plain Text, Image, Permanent Redirect jQuery Autocomplete SEO
  47. 47. Struts Cubby Struts Web Cubby http://d.hatena.ne.jp/higayasuo/20080106/1199620097
  48. 48. S2JDBC
  49. 49. S2JDBC jdbcManager.from(RegionImage.class) .where(”zoom = ? and x = ? and y = ?”, zoom, x, y) .getSingleResult();
  50. 50. S2JDBC • ‣ 1 SQL • ‣ SQL
  51. 51. Apache Solr
  52. 52. Apache Solr • Java • Apache Lucene • HTTP API • http://lucene.apache.org/solr/
  53. 53. Solr • ‣ ‣ • CJKAnalyzer bi-gram • URL • MySQL
  54. 54. • ‣ 63MB ‣ 1.6GB • ms
  55. 55. Solr • Lucene •
  56. 56. • • UI • S2Flex2, Cubby, S2JDBC, Apache Solr
  57. 57. • → • •
  58. 58. Blogopolis OSS
  59. 59. logopolis http://blogopolis.jp/

×