Download - Zend server 6 application centric
![Page 1: Zend server 6 application centric](https://reader036.vdocuments.site/reader036/viewer/2022073117/5598304c1a28ab36178b47d4/html5/thumbnails/1.jpg)
Zend Server 6The Application Centric Stack
![Page 2: Zend server 6 application centric](https://reader036.vdocuments.site/reader036/viewer/2022073117/5598304c1a28ab36178b47d4/html5/thumbnails/2.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022073117/5598304c1a28ab36178b47d4/html5/thumbnails/3.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022073117/5598304c1a28ab36178b47d4/html5/thumbnails/4.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022073117/5598304c1a28ab36178b47d4/html5/thumbnails/5.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022073117/5598304c1a28ab36178b47d4/html5/thumbnails/6.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022073117/5598304c1a28ab36178b47d4/html5/thumbnails/7.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022073117/5598304c1a28ab36178b47d4/html5/thumbnails/8.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022073117/5598304c1a28ab36178b47d4/html5/thumbnails/9.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022073117/5598304c1a28ab36178b47d4/html5/thumbnails/10.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022073117/5598304c1a28ab36178b47d4/html5/thumbnails/11.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022073117/5598304c1a28ab36178b47d4/html5/thumbnails/12.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022073117/5598304c1a28ab36178b47d4/html5/thumbnails/13.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022073117/5598304c1a28ab36178b47d4/html5/thumbnails/14.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022073117/5598304c1a28ab36178b47d4/html5/thumbnails/15.jpg)
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](https://reader036.vdocuments.site/reader036/viewer/2022073117/5598304c1a28ab36178b47d4/html5/thumbnails/16.jpg)
Future prospects
• Scheduled Jobs in packages
• More and better statistics
• Different PHP configuration per application
* plans may change <ahem>