Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Gonzalo Ayuso's Blog:
Clustering PHP applications. Tips and hints
Jul 28, 2010 @ 16:09:20

In a new post to his blog today Gonzalo Ayuso offers some tips for those out there wanting to cluster their PHP applications effectively.

Sometimes a web server and a database is fair enough to meet our project requirements. But if the project scales we probably need to think in a clustered solution. This post is an attempt at being an unsorted list of ideas working with clustered PHP applications. Maybe more than a list of ideas is a list of problems that you will face when swapping from a standalone server to a clustered server.

He touches on a few different topics you might need to consider:

  • consistency in source code
  • writing to the file systems
  • deployment problems
  • authentication/authorization issues
  • handling sessions/logs/cache files
tagged: application deployment consideration clustering

Link:

Quinton Parker's Blog:
session-clustering with memcache
Mar 03, 2009 @ 15:31:58

Quinton Parker's latest blog post looks at a handy feature of the memcache tool - session clustering - and how to set it up in your application.

You need php session-clustering and you need it done yesterday. The project is at risk. The suits are breathing down your neck and monitoring your every tweet. Memcache to the rescue.

He show how to get it started up (you'll need to already have it installed) and where to grab the PHP extension you'll need to connect the two. Finally he gets to the actual clustering, changing the session.save_handler setting to "memcache" and several of the memcache-specific php.ini settings for his example setup. A snippet of code is also included so you can see how it all works together.

tagged: memcache session clustering tutorial phpini session handler

Link:

PHPImpact Blog:
Server-side Marker Clustering with PHP and Google Maps
Feb 27, 2009 @ 16:25:14

On the PHP::Impact blog Federico Cargnelutti points out a PHP library that lets you do clustering on Google Maps. What's clustering?

As maps get busier, marker clustering is likely to be needed. Marker clustering is a technique by which several points of interest can be represented by a single icon when they’re close to one another.

The tool, created by Mike Tuupola, lets you break up the map into cells and place points inside them. When there's more than one point in a general area, an extra icon is created to reference those points together (cleaning up the map and preventing you from having lot of little Google Maps markers cluttering up your map. Mike also has a blog post about the library showing it in a bit more detail.

tagged: server clustering mark googlemaps miketuupola library combine

Link:

php|architect:
July 2006 Issue Released
Jul 27, 2006 @ 13:18:17

php|architect has announced today that their July 2006 issue of their magazine has officially been released.

Articles in this issue include:

  • Anant Narayanan's look at development in PHP-GTK 2 (cover story)
  • Eric Angel's tutorial on using random images in form validation
  • Stefan Priebsch's thoughts on code structure and refactoring
  • and, of course, the Security Corner (with Chris Shiflett) and Test Pattern (with Jeff Moore) columns

You can either order a single issue or get a year's subscription of this great publication. The issue costs about $4.20 USD and the full year only comes in at $35.40 USD.

tagged: php|architect july2006 issue release phpgtk2 clustering refactoring php|architect july2006 issue release phpgtk2 clustering refactoring

Link:

php|architect:
July 2006 Issue Released
Jul 27, 2006 @ 13:18:17

php|architect has announced today that their July 2006 issue of their magazine has officially been released.

Articles in this issue include:

  • Anant Narayanan's look at development in PHP-GTK 2 (cover story)
  • Eric Angel's tutorial on using random images in form validation
  • Stefan Priebsch's thoughts on code structure and refactoring
  • and, of course, the Security Corner (with Chris Shiflett) and Test Pattern (with Jeff Moore) columns

You can either order a single issue or get a year's subscription of this great publication. The issue costs about $4.20 USD and the full year only comes in at $35.40 USD.

tagged: php|architect july2006 issue release phpgtk2 clustering refactoring php|architect july2006 issue release phpgtk2 clustering refactoring

Link:


Trending Topics: