ݺߣ

ݺߣShare a Scribd company logo
JavaEye
          Robbin Fan
? JavaEye
? JavaEye
? JavaEye
?
JavaEye
JavaEye

?    1U
?1        Web Server, 1   DB Server
?          2.6
?                3
Web Server

? AMD Opteron 2.4GHz   *2
? 8G
? 146G SCSI
DB Server

? AMD Opteron 2.0GHz   *2
? 4G
? 73G SCSI
վܹ
150   /
JavaEye



            10

       20
                             RSS

RSS
  20


                       100
վܹ
ruby   ......
Google Adplanner Data for JavaEye
Google Adplanner Data for JavaEye
IT


   CSDN                                                   260


  JavaEye                          74


ChinaUnix                          73


  Cnblogs                     55


   ITPUB                 38


  51CTO             23


    infoq       8


            0                       75        150   225         300
IT


   CSDN                                                   260   3.5X
  JavaEye                          74


ChinaUnix                          73


  Cnblogs                     55


   ITPUB                 38


  51CTO             23


    infoq       8


            0                       75        150   225            300
IT


   CSDN                                 30+ Server           260   3.5X
  JavaEye                          74


ChinaUnix                          73


  Cnblogs                     55


   ITPUB                 38


  51CTO             23


    infoq       8


            0                       75           150   225            300
IT


   CSDN                                 30+ Server ASP.net         260   3.5X
  JavaEye                          74


ChinaUnix                          73


  Cnblogs                     55


   ITPUB                 38


  51CTO             23


    infoq       8


            0                       75           150         225            300
IT


   CSDN                                 30+ Server ASP.net         260   3.5X
  JavaEye                          74    2 Server
ChinaUnix                          73


  Cnblogs                     55


   ITPUB                 38


  51CTO             23


    infoq       8


            0                       75              150      225            300
IT


   CSDN                                 30+ Server ASP.net             260   3.5X
  JavaEye                          74    2 Server         ruby
ChinaUnix                          73


  Cnblogs                     55


   ITPUB                 38


  51CTO             23


    infoq       8


            0                       75              150          225            300
IT


   CSDN                                 30+ Server ASP.net              260   3.5X
  JavaEye                          74    2 Server          ruby
ChinaUnix                          73    4+ Server
  Cnblogs                     55


   ITPUB                 38


  51CTO             23


    infoq       8


            0                       75               150          225            300
IT


   CSDN                                 30+ Server ASP.net              260   3.5X
  JavaEye                          74    2 Server          ruby
ChinaUnix                          73    4+ Server         PHP
  Cnblogs                     55


   ITPUB                 38


  51CTO             23


    infoq       8


            0                       75               150          225            300
IT


   CSDN                                 30+ Server ASP.net              260   3.5X
  JavaEye                          74    2 Server          ruby
ChinaUnix                          73    4+ Server         PHP
  Cnblogs                     55         4+ Server
   ITPUB                 38


  51CTO             23


    infoq       8


            0                       75               150          225            300
IT


   CSDN                                 30+ Server ASP.net                 260   3.5X
  JavaEye                          74    2 Server           ruby
ChinaUnix                          73    4+ Server          PHP
  Cnblogs                     55         4+ Server         ASP.net
   ITPUB                 38


  51CTO             23


    infoq       8


            0                       75               150             225            300
IT


   CSDN                                 30+ Server ASP.net                 260   3.5X
  JavaEye                          74    2 Server           ruby
ChinaUnix                          73    4+ Server          PHP
  Cnblogs                     55         4+ Server         ASP.net
   ITPUB                 38                                 PHP
  51CTO             23


    infoq       8


            0                       75               150             225            300
IT


   CSDN                                 30+ Server ASP.net                 260   3.5X
  JavaEye                          74    2 Server           ruby
ChinaUnix                          73    4+ Server          PHP
  Cnblogs                     55         4+ Server         ASP.net
   ITPUB                 38                                 PHP
  51CTO             23


    infoq       8                                           Java
            0                       75               150             225            300
JavaEye
2006.09

?1
?
?
2006.09

? lighttpd
? ruby 1.8.4, rails 1.1.2,   fastcgi
? mysql5.0
Single Server



  lighttpd


fastcgi(ruby)


   mysql
2007.01

?       2
?   web DB
?              IO
Web Server      DB Server



  lighttpd


fastcgi(ruby)    mysql
2007.02

? posts
? posts   select count   30
 0.1
posts


? posts(id, ..., body)
?                   2GB
posts


? posts(id, post_text_id,...) 50MB
? post_texts(id, body) 2GB
2007.03

?
? memcached         CachedModel
?
? 240 sql query/s      140 sql query/s
? memcached              75%
Web Server      DB Server



  lighttpd


fastcgi(ruby)    mysql


memcached
2007.05


?
?
2007.09

?
?   ruby ferret
?
2008.01

? JavaEye
?              cache_fu
?                  84%
? sql query      50 /s
2008.05


?      rmmseg-cpp
2008.10


?   cache plugin
?            96%
2008.10

?   ferret
?   Java lucene
?        C/S
Web Server       DB Server



  lighttpd      SearchServer
                  (lucene)
fastcgi(ruby)      mysql


memcached
2008.11


?       PDF
Web Server       DB Server



  lighttpd      SearchServer
                  (lucene)
fastcgi(ruby)      mysql

                 PDF Creating
memcached         (ruby, C)
2009.03

? SNS feed
? twitter
? API
Web Server       DB Server      RSS/API



                fastcgi(ruby)
  lighttpd      SearchServer
                  (lucene)
fastcgi(ruby)       mysql

                 PDF Creating
memcached         (ruby, C)
                twitter sync
2009.03


?   Google Analytics
?
Web Server                  DB Server              RSS/API



                              fastcgi(ruby)
        lighttpd             SearchServer
analytics                      (lucene)
      fastcgi(ruby)              mysql
                                PDF Creating
      memcached                  (ruby, C)
                               twitter sync
  DNS Server/Email Server/
       NFS Server            DNS Server/Email Server
2009.12

?   Web IM
?
?
Backgroud Server
Web Server        fastcgi(ruby)
                   IM Server
   lighttpd       PDF Creating
                  SearchServer
 fastcgi(ruby)
                    DB Server

 memcached
                      mysql
JavaEye

? CachedModel+   QueryCache
? cache_fu
? cache_plugin
? cache_money*
?
?
?
    ?            page cache
    ?          frgment cache
    ?   REST
?
?              n


? ORM
?       join   n+1 SQL
? Web
?       IO
?
?       n+1 SQL
վܹ
վܹ
CachedModel

?            , Hibernate
?
? select * from post_texts where id = ?
?         75%
վܹ
վܹ
CachedModel

?    AR ?nd_by_sql
?
?
cache_fu

? cache_fu    AR


?
?     cache_fu memcached
    84%
cache plugin

?    Rails Cache               60
?                              n:1
                   1:n
? memcached              96%
memcached
memcached
cache_money

?   twitter
?             ruby cache
?
? JavaEye
?
?           ruby
JavaEye


? ruby        db Web Server load
     DB
?                 ruby
ruby

? ruby
? erb
?
?          ruby
post
post          html
post
post          html
JavaEye


? memcached                96%
? cache get : sql query = 4 : 1
JavaEye

? ferret
? ferret+rmmseg-cpp
?
? ferret+rmmseg
? ferret
fastcgi          json protocol   SearchServer
      (ruby)                               (java)
                          socket
long lived processes                   long lived threads
? DNS
? Web Server
? ruby
վܹ
վܹ
Thank you!

More Related Content

Similar to վܹ (20)

Cld006 azure v_net___express_route_
Cld006 azure v_net___express_route_Cld006 azure v_net___express_route_
Cld006 azure v_net___express_route_
Tech Summit 2016
?
Sprint 143
Sprint 143Sprint 143
Sprint 143
ManageIQ
?
ProxySQL & PXC(Query routing and Failover Test)
ProxySQL & PXC(Query routing and Failover Test)ProxySQL & PXC(Query routing and Failover Test)
ProxySQL & PXC(Query routing and Failover Test)
YoungHeon (Roy) Kim
?
dzϳ֪
dzϳ֪dzϳ֪
dzϳ֪
Sadayuki Furuhashi
?
Cld006 azure v_net___express_route_
Cld006 azure v_net___express_route_Cld006 azure v_net___express_route_
Cld006 azure v_net___express_route_
Tech Summit 2016
?
OSMC 2008 | Monitoring MySQL by Geert Vanderkelen
OSMC 2008 | Monitoring MySQL by Geert VanderkelenOSMC 2008 | Monitoring MySQL by Geert Vanderkelen
OSMC 2008 | Monitoring MySQL by Geert Vanderkelen
NETWAYS
?
MySQL Performance Schema in 20 Minutes
 MySQL Performance Schema in 20 Minutes MySQL Performance Schema in 20 Minutes
MySQL Performance Schema in 20 Minutes
Sveta Smirnova
?
Introduction to QtWebKit
Introduction to QtWebKitIntroduction to QtWebKit
Introduction to QtWebKit
Ariya Hidayat
?
ɢ-ܱ𥹥ȥܳǴڲ˼
ɢ-ܱ𥹥ȥܳǴڲ˼ɢ-ܱ𥹥ȥܳǴڲ˼
ɢ-ܱ𥹥ȥܳǴڲ˼
Sadayuki Furuhashi
?
Inside Architecture of Neutron
Inside Architecture of NeutronInside Architecture of Neutron
Inside Architecture of Neutron
markmcclain
?
ФӤkumofs ФӤʤ`
ФӤkumofs  ФӤʤ`ФӤkumofs  ФӤʤ`
ФӤkumofs ФӤʤ`
Sadayuki Furuhashi
?
Enhancing MySQL Security
Enhancing MySQL SecurityEnhancing MySQL Security
Enhancing MySQL Security
Vinicius M Grippa
?
TYCS Training Program
TYCS Training ProgramTYCS Training Program
TYCS Training Program
Amol Nimgulkar :Computer Science Researcher (Compilers & Dynamic Languages)
?
Hardware accelerated switching with Linux @ SWLUG Talks May 2014
Hardware accelerated switching with Linux @ SWLUG Talks May 2014Hardware accelerated switching with Linux @ SWLUG Talks May 2014
Hardware accelerated switching with Linux @ SWLUG Talks May 2014
Nat Morris
?
DCSF 19 Online Feature Extraction and Event Generation for Computer-Animal In...
DCSF 19 Online Feature Extraction and Event Generation for Computer-Animal In...DCSF 19 Online Feature Extraction and Event Generation for Computer-Animal In...
DCSF 19 Online Feature Extraction and Event Generation for Computer-Animal In...
Docker, Inc.
?
Percona Live 2019 - MySQL Security
Percona Live 2019 - MySQL SecurityPercona Live 2019 - MySQL Security
Percona Live 2019 - MySQL Security
Vinicius M Grippa
?
NoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSONNoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSON
Mario Beck
?
Midwest PHP Presentation - New MSQL Features
Midwest PHP Presentation - New MSQL FeaturesMidwest PHP Presentation - New MSQL Features
Midwest PHP Presentation - New MSQL Features
Dave Stokes
?
MySQL Day Paris 2018 - Introduction & The State of the Dolphin
MySQL Day Paris 2018 - Introduction & The State of the DolphinMySQL Day Paris 2018 - Introduction & The State of the Dolphin
MySQL Day Paris 2018 - Introduction & The State of the Dolphin
Olivier DASINI
?
DataSnap
DataSnapDataSnap
DataSnap
Federico Russo
?
Cld006 azure v_net___express_route_
Cld006 azure v_net___express_route_Cld006 azure v_net___express_route_
Cld006 azure v_net___express_route_
Tech Summit 2016
?
ProxySQL & PXC(Query routing and Failover Test)
ProxySQL & PXC(Query routing and Failover Test)ProxySQL & PXC(Query routing and Failover Test)
ProxySQL & PXC(Query routing and Failover Test)
YoungHeon (Roy) Kim
?
Cld006 azure v_net___express_route_
Cld006 azure v_net___express_route_Cld006 azure v_net___express_route_
Cld006 azure v_net___express_route_
Tech Summit 2016
?
OSMC 2008 | Monitoring MySQL by Geert Vanderkelen
OSMC 2008 | Monitoring MySQL by Geert VanderkelenOSMC 2008 | Monitoring MySQL by Geert Vanderkelen
OSMC 2008 | Monitoring MySQL by Geert Vanderkelen
NETWAYS
?
MySQL Performance Schema in 20 Minutes
 MySQL Performance Schema in 20 Minutes MySQL Performance Schema in 20 Minutes
MySQL Performance Schema in 20 Minutes
Sveta Smirnova
?
Introduction to QtWebKit
Introduction to QtWebKitIntroduction to QtWebKit
Introduction to QtWebKit
Ariya Hidayat
?
Inside Architecture of Neutron
Inside Architecture of NeutronInside Architecture of Neutron
Inside Architecture of Neutron
markmcclain
?
Hardware accelerated switching with Linux @ SWLUG Talks May 2014
Hardware accelerated switching with Linux @ SWLUG Talks May 2014Hardware accelerated switching with Linux @ SWLUG Talks May 2014
Hardware accelerated switching with Linux @ SWLUG Talks May 2014
Nat Morris
?
DCSF 19 Online Feature Extraction and Event Generation for Computer-Animal In...
DCSF 19 Online Feature Extraction and Event Generation for Computer-Animal In...DCSF 19 Online Feature Extraction and Event Generation for Computer-Animal In...
DCSF 19 Online Feature Extraction and Event Generation for Computer-Animal In...
Docker, Inc.
?
Percona Live 2019 - MySQL Security
Percona Live 2019 - MySQL SecurityPercona Live 2019 - MySQL Security
Percona Live 2019 - MySQL Security
Vinicius M Grippa
?
NoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSONNoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSON
Mario Beck
?
Midwest PHP Presentation - New MSQL Features
Midwest PHP Presentation - New MSQL FeaturesMidwest PHP Presentation - New MSQL Features
Midwest PHP Presentation - New MSQL Features
Dave Stokes
?
MySQL Day Paris 2018 - Introduction & The State of the Dolphin
MySQL Day Paris 2018 - Introduction & The State of the DolphinMySQL Day Paris 2018 - Introduction & The State of the Dolphin
MySQL Day Paris 2018 - Introduction & The State of the Dolphin
Olivier DASINI
?

վܹ