DZone
Cloud Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Cloud Zone > PHP in the Cloud: PHP Tools for Scalable Apps

PHP in the Cloud: PHP Tools for Scalable Apps

John Esposito user avatar by
John Esposito
·
Dec. 20, 11 · Cloud Zone · Interview
Like (0)
Save
Tweet
9.25K Views

Join the DZone community and get the full member experience.

Join For Free

Why develop for the cloud? In a word: tons of headaches vanish (scalability, reliability, interface complexity, all of IT). But you don't need to use a PaaS or IaaS in order to kill these headaches, using cloud-like techniques.

All website-serving servers, for example, need to be scalable, simply because they are accessible from the web. (What happens when reddit latches on to your site?)

Precisely for this reason, the PHP ecosystem has engendered a set of awesome scalability tools, designed to give each part of the web-serving infrastructure (storage, database, cache, queues) enough independence that a change in the size of one won't break any of the others

The basic concept is called 'shared-nothing architecture', the infrastructural analogue of modular object-oriented code. And David Coallier -- president of PEAR and co-founder of Orchestra -- is the perfect person to explain it.

In a recent blogpost titled 'Egomaniacal and Scalable Apps' (which I take to mean that good PHP apps don't have boundary issues), David explains:

A system that is tightly linked to its filesystem for file uploads, databases, sessions, &c. is not scalable. Luckily, in the PHP world, we have quite a few tools to help us attain a high degree of selfishness.


He goes on to list, describe, and code-snippify some of his favorites:

  • Memcached
  • Membase
  • Redis
  • SessionHandler
  • Amazon S3


Plus a few more not so directly pluggable-into PHP tools (Gearman, ZeroMQ).

If you're not already using these tools, they could make a big difference in your PHP application reliability and performance. (And if you are already using these tools, you probably can't imagine webserving without them.)

Check out David's full post for more.

PHP app Cloud

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • PermGen and Metaspace
  • What Developers Need to Know About Table Partition Pruning
  • Legacy Modernization and Hybrid Cloud with Kafka in Healthcare
  • SQL Database Schema: Beginner’s Guide (With Examples)

Comments

Cloud Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo