Drupal & Zend Server

twodotcuddlyInternet και Εφαρμογές Web

4 Δεκ 2013 (πριν από 3 χρόνια και 9 μήνες)

93 εμφανίσεις

© All rights reserved. Zend Technologies, Inc.

S4

Drupal

& Zend Server

Jan Burkl

Solution Consultant

© All rights reserved. Zend Technologies, Inc.

© All rights reserved. Zend Technologies, Inc.

Development

Staging

Production

http://zenddach.my.phpcloud.com/drupal

http://drupal.staging

http://drupal.live

© All rights reserved. Zend Technologies, Inc.

© All rights reserved. Zend Technologies, Inc.

© All rights reserved. Zend Technologies, Inc.

© All rights reserved. Zend Technologies, Inc.

Development

Staging

Production

http://zenddach.my.phpcloud.com/drupal

http://drupal.staging

http://drupal.live

© All rights reserved. Zend Technologies, Inc.

Development

Staging

Production

http://zenddach.my.phpcloud.com/drupal

http://drupal.staging

http://drupal.live

© All rights reserved. Zend Technologies, Inc.

Performance
improvements

summary


Optimizer
+ (
ByteCode

Cache)


Disable

file

change

check


Data Cache


Utilize

APC Module (
currently

Beta)


http://drupal.org/project/apc


Page Cache


Cache Start Page


$_SERVER['HTTP_COOKIE'] not
matches

regex

SESS(
\
d|[a
-
f]){32}


Job Queue /
Asynchronous

task


Run
Drupal‘s

Cron

functionality


© All rights reserved. Zend Technologies, Inc.

Development

Staging

Production

http://zenddach.my.phpcloud.com/drupal

http://drupal.staging

http://drupal.live

© All rights reserved. Zend Technologies, Inc.

Development

Staging

Production

http://zenddach.my.phpcloud.com/drupal

http://drupal.staging

http://drupal.live

© All rights reserved. Zend Technologies, Inc.


Code
Deployment


Config

Deployment


Zend Server Web API


Restful

Service

© All rights reserved. Zend Technologies, Inc.

© All rights reserved. Zend Technologies, Inc.


ab
-
n
500
-
c
10
http://drupal.staging/

Default
setup

Optimizer
+

Data Cache

Page Cache

Requests

per
second

12.90

69.77

736.40

2758.74

Time per
request

(s)

775.11

143.32

13.58

3.63

Transfer rate

(
Kbytes
/s)

137.34

742.77

7836.50

29338.58

ApacheBench

12,9

69
,
77

736
,
4

2758
,
74

Default setup

Optimizer+

Data Cache

Page Cache

Requests per second

775
,
11

143
,
32

13,58

3
,
63

Default setup

Optimizer+

Data Cache

Page Cache

Time per request (s)

© All rights reserved. Zend Technologies, Inc.

Jmeter



50
Threads,
100
Loops

Test
Runtime
:


-

Default Settings:

06:42

-

Optimizer
+:

01:17

-

Data Cache:

00:08

-

Full

Page Cache:

00:01

© All rights reserved. Zend Technologies, Inc.

Jmeter



100
Threads,
100
Loops

Test
Runtime
:


-
Optimizer
+:

02
:
33

-

Data Cache:

00
:
17

-

Full

Page Cache:

00
:
06

Requests

*
20

© All rights reserved. Zend Technologies, Inc.

Jmeter



250 Threads, 200 Loops

Test
Runtime
:


-

Data Cache:

01
:
39

-

Full

Page Cache:

00
:
31

Requests

*
20

© All rights reserved. Zend Technologies, Inc.

Development

Staging

Production

http://zenddach.my.phpcloud.com/drupal

http://drupal.staging

http://drupal.live

© All rights reserved. Zend Technologies, Inc.

Development

Staging

Production

http://zenddach.my.phpcloud.com/drupal

http://drupal.staging

http://drupal.live

© All rights reserved. Zend Technologies, Inc.

© All rights reserved. Zend Technologies, Inc.

Thank

you
!

jan@zend.com