zend server 6 application centric

17
Zend Server 6 The Application Centric Stack

Upload: yonni-mendes

Post on 05-Jul-2015

52 views

Category:

Technology


4 download

DESCRIPTION

Application centric design for Zend Server 6. Webinar: http://www.zend.com/en/webinar/Server/70170000000c1HN-ZS6AppCentricUI-20130313.flv

TRANSCRIPT

Page 1: Zend server 6  application centric

Zend Server 6The Application Centric Stack

Page 2: Zend server 6  application centric

An interface with applications

Zend Server 5 had applications?

• Only Deployed applications

• Monitor Events could be filtered by application

• Applications could be viewed and managed

The UI focused on servers, php configuration

and Zend's components

Page 3: Zend server 6  application centric

Applications leading the UX

Zend Server 6 adopts a new approach

• Applications have been integrated

• Can be defined arbitrarily

• New elastic architecture is cloud-friendly

• Each application is its own "eco-system"

Servers have been pushed asideYou will not hear the word "Server" from here on out

Page 4: Zend server 6  application centric

Some basics

• Dashboard - demo applicationo Sample events

o Sample statistics

o Sample rules

• Deploy Applicationo Package based deployment

o Application may be later updated and redeployed

o May include monitor and page cache rules

Page 5: Zend server 6  application centric

Some more basics

• Define Applicationo Arbitrarily create an application by an existing

baseUrl

o No processing is performed - configuration must be

done by the user

o Apart for a few limitations behaves as any deployed

application

Word Origin & History

application

late 15c., "the bringing of something to bear on something else," from O.Fr. application, from

L.applicationem (nom. applicatio) "a joining to, an attaching oneself to," noun of action from applicare

(seeapply). Meaning "sincere hard effort" is from c.1600.Online Etymology Dictionary, © 2010 Douglas Harper

Page 6: Zend server 6  application centric

Filtering by applications

• Dashboard statisticso Filter statistics by application

o Filter Latest Critical Events by

application

• Monitor Events

o Events are produced by php execution

o A single issue contains multiple events

• Jobqueue Jobso Jobs are issued by script or scheduler

o Job URL is automagically assigned to a

known application

Zend Server

operator installing a

new filter

Page 7: Zend server 6  application centric

Information matrix for ZS6

Eve

nts

Application 1 Application 2

Jo

bs

Sta

tistics

Events belonging to URLs that

are not "Applications"

Events for

Application 1

Jobs for

Application 2

Statistics for

Application 1

Global statistics such as 'CPU

usage', 'Memory consumption'

Jobs sent to foreign URLs or

are not "Applications"

Global

Page 8: Zend server 6  application centric

New Concept:

Page Cache per application rules

Page cache configuration basics

• What is it good for?

• Performance

Page cache application specific rules

• Supply specific applications with rules

• Provide management scope

Page cache rule packs in deployment

• Automate rule creation and management

• Done using the WebAPI

Page 9: Zend server 6  application centric

Monitor Rules

Configuration basics

• Global rules

Rule type

• Supplied behaviors

• A few favorites: PHP Error, Function error

Severities & associated actions

• Codetracing integration

• External integration

Page 10: Zend server 6  application centric

New Concept:

Monitor Application rules' override

Application specific rules

• Unrelated to other rules

• Application specific

Application overriding rules

• Overrides behavior for parent rule

• Application specific

Page 11: Zend server 6  application centric

Monitor Event Rules internals

Global

Rules

Application 1

Rules, has

overriding

rules

Application 2

Rules

Global rules

Application 1

Rules that

override

globals

Global rules

Application 2

Rules

Global rules

Global rules

that were not

overridden

Overriding

Application 1

Rules

Global rules

Application 2

Rules

http://.../app1 http://.../app2

Page 12: Zend server 6  application centric

New and improved: custom events

Event Type: Custom Event

• Created by the application

• Reported by a functionzend_monitor_custom_event($class, $text, $user_data)

zend_monitor_custom_event_ex($class, $text, $rule_name,...)

Used in ZF2

• Log\Writer\ZendMonitor

• Mvc\DispatchListener

Page 13: Zend server 6  application centric

Rules and applications:

A new friendship

Applications packages may contain rules:

• Monitor event rules

• Page cache rules

When deployed, rules are set "in context":

• Monitor Rules override same-name global

rules automatically

• Page Cache rules are created

with the baseurl in scope

Page 14: Zend server 6  application centric

Limiting user access to

applications

Three types of authentication:

• Simple Authentication - not very interesting

• Extended Authentication: Ldap

• Extended Authentication: Custom adapters

Extended Authetnication

• Uses a remote service for authentication

• Allows the use of "LimitedDeveloper" role

• Allows an administrator to assign a user

group to an application

Page 15: Zend server 6  application centric

Quick word about WebAPI

Web-services are prevalent and extensive

• Functionality: all of it

• Keys are owned by users

• ACL and application rights are enforced

• All application-centric aspects of the system

are also used in the webapi

Page 16: Zend server 6  application centric

Future prospects

• Scheduled Jobs in packages

• More and better statistics

• Different PHP configuration per application

* plans may change <ahem>

Page 17: Zend server 6  application centric

Thanks!

Contact me at [email protected]

/ZendServer/Api/Thanks?audience=wonderfull