+ All Categories
Home > Technology > Varnish 4 Release Party in Tokyo (terada)

Varnish 4 Release Party in Tokyo (terada)

Date post: 27-Jun-2015
Category:
Upload: manabu-terada
View: 268 times
Download: 2 times
Share this document with a friend
Description:
私とVarnishの出会い と 事例紹介 LT
Popular Tags:
15
©2013 CMScom [email protected] 私とVarnishの出会い 事例紹介 CMS communications Inc. Manabu TERADA [email protected] http://www.cmscom.jp 2014/4/29 Varnish 4.0 Release Party in Tokyo
Transcript
Page 1: Varnish 4 Release Party in Tokyo (terada)

©2013 CMScom [email protected]

私とVarnishの出会い と 事例紹介CMS communications Inc.

Manabu TERADA [email protected]://www.cmscom.jp

2014/4/29Varnish 4.0 Release Party in Tokyo

Page 2: Varnish 4 Release Party in Tokyo (terada)

おまえ誰よ?

©2014 CMScom [email protected]

•Manabu TERADA (寺田 学)•CMSコミュニケーションズの代表•Zope/Ploneのコミッター•(一社)PyCon JP 代表理事•一橋大学大学院 社会学研究科地球社会専攻 元客員准教授•NVDA日本語チーム 監査

1

Page 3: Varnish 4 Release Party in Tokyo (terada)

CMScom

©2014 CMScom [email protected]

•CMSコミュニケーションズ•Ploneを使ったWebサイト構築・システム構築•Python技術を中心に、システム構築をしている•国内の大学のWebサイトや学生向けサイトやOCWなど•大阪大学、京都大学、大阪市立大学、東京大学などなど•edx-platformも部分的にサポートを開始

1

Page 4: Varnish 4 Release Party in Tokyo (terada)

Plone

©2014 CMScom [email protected]

•PythonベースのCMSツール•エンタープライズ向けと言われている•多機能である•ある程度のPVに耐える為に工夫が必要

2

Page 5: Varnish 4 Release Party in Tokyo (terada)

Plone

©2014 CMScom [email protected]

•システム構成例

2

Apache (Webサーバ)

Ploneコアシステム(アプリケーションサーバ)

Ploneコアシステム(アプリケーションサーバ)

Ploneコアシステム(アプリケーションサーバ)

Apache (Webサーバ)(管理用)

Varnish (キャッシュサーバ)

Ploneコアシステム(アプリケーションサーバ)

HAProxy (ロードバランサ)

ZODB(データベースサーバ)

Ploneコアシステム(アプリケーションサーバ)

Page 6: Varnish 4 Release Party in Tokyo (terada)

2007年春

©2014 CMScom [email protected]

•Paul Everitt氏からVarnishの存在を知る•Zope / Pyramid の evangelist

3

Page 7: Varnish 4 Release Party in Tokyo (terada)

2008年4月

©2014 CMScom [email protected]

•公開のシステムに導入

4

炎上!!

Page 8: Varnish 4 Release Party in Tokyo (terada)

2009年6月

©2014 CMScom [email protected]

•公開のシステムに入れる•更新時Purgeなども導入

5

Page 9: Varnish 4 Release Party in Tokyo (terada)

2009年6月

©2014 CMScom [email protected]

•公開のシステムに入れる•更新時Purgeなども導入

5

Page 10: Varnish 4 Release Party in Tokyo (terada)

2009年6月

©2014 CMScom [email protected]

•トラブル発生!!•ほぼアクセスが無い時にでも、サーバ上のメモリを食いつぶすという事象が発生。しばらく様子を見ていた。

•原因追求は出来きず、Varnish 2.x で解消されたように思える。

5

Page 11: Varnish 4 Release Party in Tokyo (terada)

2011年春

©2014 CMScom [email protected]

•2008年4月公開のシステムのサーバリプレース•ESIに挑戦!!•Varnish 3.0.xの導入

•3.0.1でトラブル•その他別要因のシステム上トラブル発生•ESIの導入は見送り

6

Page 12: Varnish 4 Release Party in Tokyo (terada)

その後

©2014 CMScom [email protected]

•その後も年に2箇所程度のシステムで導入•多くののPloneサイトにも導入•CSS/JavaScript/リソース画像のみに適用•パフォーマンス向上して良い!!

7

Page 13: Varnish 4 Release Party in Tokyo (terada)

最後に

©2014 CMScom [email protected]

Varnish 4.0を使ってみたい

定期リリースに感謝!!

8

Page 14: Varnish 4 Release Party in Tokyo (terada)

WPD

©2014 CMScom [email protected]

World Plone Day2014-04-30

9

Page 15: Varnish 4 Release Party in Tokyo (terada)

©2014 CMScom [email protected]

ありがとうございました

e-mail: [email protected]://www.cmscom.jp


Recommended