You are on page 1of 18

System Development

Improvement
Prepare by:
HELMI
Problems
• Time Out
• Bottle Neck On Database
• Heavy I/O Process
• Poor Queuing Process
• Poor Boost Performance on App
• Unmanageable Process
Solution
• Job Queue Implementation -> Zend
• Memory Cached (Memcached)
Implementation -> Danga
What is Zend Job Queue

Distributed in Memory Work


Queue Services
Zend Job Queue Feature
• Keeping track of previous jobs, including all their attributes
(output, date, errors etc.)
• Dependencies between jobs
• Different prioritization schemes
• Implementing complex application logic based on job
attributes
• Different kinds of relevant statistics
• Suspend/resume individual jobs as well as the entire
queue
• Easy to use web-based UI
How does Job Queue Work
Do Asynchronous Process
Zend Job Queue Web-Based UI
License
Zend Platform Production License is required
when Zend Platform is deployed on:
• a publicly available server (Internet), or:
• any server running production PHP
application(s) (including Intranets)
• any server available to other users than the
application's development team
• Pricing, direct Contact Zend Sales Team
What is Memcached
• a high-performance, distributed memory
object caching system, generic in nature, but
intended for use in speeding up dynamic web
applications by alleviating database load.
How does Memcached Work
• Memcached daemon on as many spare
machines. The daemon has no configuration
file, just a few command line options
How does Memcached Work (2)
• Using 2GB of memory, and listening on IP
10.0.0.40, port 11211.
• Because a 32-bit process can only address 4GB
of virtual memory (usually significantly less,
depending on operating system).
• if there is a 32-bit server with 4-64GB of
memory using PAE it can just run multiple
processes on the machine, each using 2 or 3GB
of memory
How does Memcached Work (3)
• In application, wherever to do a database
query, first check the memcache. If the
memcache returns an undefined object, then
go to the database, get what looking for, and
put it in the memcache
Portal
VAS
VAS (2)
Scalability
Scalability (2)
Thank You

You might also like