SlideShare 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
•
•       n



• ORM
• Web

•       IO

•
CachedModel

•            , Hibernate

•
• select * from post_texts where id = ?
•         75%
CachedModel

•    AR find_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

Viewers also liked

Humour Sports
Humour SportsHumour Sports
Humour Sports
7X3or10nR
 
Presentation1 Intro To Computers Week 7
Presentation1 Intro To Computers Week 7Presentation1 Intro To Computers Week 7
Presentation1 Intro To Computers Week 7
Ashley Bohannon
 
Funny Images
Funny ImagesFunny Images
Funny Images
7X3or10nR
 
Millennial media smart-august-2010
Millennial media smart-august-2010Millennial media smart-august-2010
Millennial media smart-august-2010
François Avril
 
Bideo-Jolasak
Bideo-JolasakBideo-Jolasak
Bideo-Jolasak
olatzucin
 
Mobile, web and cloud - the triple crown of modern applications
Mobile, web and cloud -  the triple crown of modern applicationsMobile, web and cloud -  the triple crown of modern applications
Mobile, web and cloud - the triple crown of modern applications
Ido Green
 
Mlj Project Done 2
Mlj Project Done 2Mlj Project Done 2
Mlj Project Done 2
guestc3cdd
 
Kenzy klauser vet speech and preso
Kenzy klauser vet speech and presoKenzy klauser vet speech and preso
Kenzy klauser vet speech and preso
David R. Klauser
 
Power Point Polmoni
Power Point PolmoniPower Point Polmoni
Power Point Polmoni
mapaa
 

Viewers also liked (20)

Humour Sports
Humour SportsHumour Sports
Humour Sports
 
Presentation1 Intro To Computers Week 7
Presentation1 Intro To Computers Week 7Presentation1 Intro To Computers Week 7
Presentation1 Intro To Computers Week 7
 
How Flipping your Classroom Can Improve Instruction
How Flipping your Classroom Can Improve InstructionHow Flipping your Classroom Can Improve Instruction
How Flipping your Classroom Can Improve Instruction
 
About me
About meAbout me
About me
 
Funny Images
Funny ImagesFunny Images
Funny Images
 
Millennial media smart-august-2010
Millennial media smart-august-2010Millennial media smart-august-2010
Millennial media smart-august-2010
 
Paraulesimites
ParaulesimitesParaulesimites
Paraulesimites
 
Lessons Learned and Best Practices for Game Development in the Cloud
Lessons Learned and Best Practices for Game Development in the CloudLessons Learned and Best Practices for Game Development in the Cloud
Lessons Learned and Best Practices for Game Development in the Cloud
 
How is this relevant to me? A Human Centred Approach to Public Engagement
How is this relevant to me? A Human Centred Approach to Public EngagementHow is this relevant to me? A Human Centred Approach to Public Engagement
How is this relevant to me? A Human Centred Approach to Public Engagement
 
Les 2 Informatieverzorging
Les 2 InformatieverzorgingLes 2 Informatieverzorging
Les 2 Informatieverzorging
 
Bideo-Jolasak
Bideo-JolasakBideo-Jolasak
Bideo-Jolasak
 
Mohammed Farrag Resume
Mohammed Farrag ResumeMohammed Farrag Resume
Mohammed Farrag Resume
 
BizTalk Practical Course Preview
BizTalk Practical Course PreviewBizTalk Practical Course Preview
BizTalk Practical Course Preview
 
Mobile, web and cloud - the triple crown of modern applications
Mobile, web and cloud -  the triple crown of modern applicationsMobile, web and cloud -  the triple crown of modern applications
Mobile, web and cloud - the triple crown of modern applications
 
Challenge of SHIMANE - Example of use Ruby in Japanese regional government an...
Challenge of SHIMANE - Example of use Ruby in Japanese regional government an...Challenge of SHIMANE - Example of use Ruby in Japanese regional government an...
Challenge of SHIMANE - Example of use Ruby in Japanese regional government an...
 
Mlj Project Done 2
Mlj Project Done 2Mlj Project Done 2
Mlj Project Done 2
 
Kenzy klauser vet speech and preso
Kenzy klauser vet speech and presoKenzy klauser vet speech and preso
Kenzy klauser vet speech and preso
 
5th Grade
5th Grade5th Grade
5th Grade
 
Dissertation on MF
Dissertation on MFDissertation on MF
Dissertation on MF
 
Power Point Polmoni
Power Point PolmoniPower Point Polmoni
Power Point Polmoni
 

Similar to Java Eye Architecture

Introduction to QtWebKit
Introduction to QtWebKitIntroduction to QtWebKit
Introduction to QtWebKit
Ariya Hidayat
 
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
 
Citrix agee ica_proxy_xenapp
Citrix agee ica_proxy_xenappCitrix agee ica_proxy_xenapp
Citrix agee ica_proxy_xenapp
n97michael
 
Citrix agee ica_proxy_xenapp
Citrix agee ica_proxy_xenappCitrix agee ica_proxy_xenapp
Citrix agee ica_proxy_xenapp
n97michael
 

Similar to Java Eye Architecture (20)

Build your own private openstack cloud
Build your own private openstack cloudBuild your own private openstack cloud
Build your own private openstack cloud
 
Sprint 143
Sprint 143Sprint 143
Sprint 143
 
Cld006 azure v_net___express_route_最新情報
Cld006 azure v_net___express_route_最新情報Cld006 azure v_net___express_route_最新情報
Cld006 azure v_net___express_route_最新情報
 
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)
 
Introduction to QtWebKit
Introduction to QtWebKitIntroduction to QtWebKit
Introduction to QtWebKit
 
NoSQLを知る
NoSQLを知るNoSQLを知る
NoSQLを知る
 
Cld006 azure v_net___express_route_最新情報
Cld006 azure v_net___express_route_最新情報Cld006 azure v_net___express_route_最新情報
Cld006 azure v_net___express_route_最新情報
 
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
 
分散Key-valueストアkumofsの思想と設計
分散Key-valueストアkumofsの思想と設計分散Key-valueストアkumofsの思想と設計
分散Key-valueストアkumofsの思想と設計
 
(SDD419) Amazon EC2 Networking Deep Dive and Best Practices | AWS re:Invent 2014
(SDD419) Amazon EC2 Networking Deep Dive and Best Practices | AWS re:Invent 2014(SDD419) Amazon EC2 Networking Deep Dive and Best Practices | AWS re:Invent 2014
(SDD419) Amazon EC2 Networking Deep Dive and Best Practices | AWS re:Invent 2014
 
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
 
MySQL Performance Schema in 20 Minutes
 MySQL Performance Schema in 20 Minutes MySQL Performance Schema in 20 Minutes
MySQL Performance Schema in 20 Minutes
 
Inside Architecture of Neutron
Inside Architecture of NeutronInside Architecture of Neutron
Inside Architecture of Neutron
 
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...
 
ずばり動く!kumofs と ずばり動かないケース
ずばり動く!kumofs と ずばり動かないケースずばり動く!kumofs と ずばり動かないケース
ずばり動く!kumofs と ずばり動かないケース
 
Enhancing MySQL Security
Enhancing MySQL SecurityEnhancing MySQL Security
Enhancing MySQL Security
 
Percona Live 2019 - MySQL Security
Percona Live 2019 - MySQL SecurityPercona Live 2019 - MySQL Security
Percona Live 2019 - MySQL Security
 
Sprint 145
Sprint 145Sprint 145
Sprint 145
 
Citrix agee ica_proxy_xenapp
Citrix agee ica_proxy_xenappCitrix agee ica_proxy_xenapp
Citrix agee ica_proxy_xenapp
 
Citrix agee ica_proxy_xenapp
Citrix agee ica_proxy_xenappCitrix agee ica_proxy_xenapp
Citrix agee ica_proxy_xenapp
 

More from Robbin Fan (6)

精益创业讨论
精益创业讨论精益创业讨论
精益创业讨论
 
运营专业型社区的经验和反思
运营专业型社区的经验和反思运营专业型社区的经验和反思
运营专业型社区的经验和反思
 
缓存技术浅谈
缓存技术浅谈缓存技术浅谈
缓存技术浅谈
 
Ruby In Enterprise Development
Ruby In Enterprise DevelopmentRuby In Enterprise Development
Ruby In Enterprise Development
 
Maximes Presentation For Rubyconf China 2009
Maximes Presentation For Rubyconf China 2009Maximes Presentation For Rubyconf China 2009
Maximes Presentation For Rubyconf China 2009
 
Design Pattern From Java To Ruby
Design Pattern    From Java To RubyDesign Pattern    From Java To Ruby
Design Pattern From Java To Ruby
 

Recently uploaded

Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
Bhaskar Mitra
 

Recently uploaded (20)

Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 

Java Eye Architecture

Editor's Notes