• Intel
  • Microsoft
  • Google
  • Sun Microsystems
  • BT
  • IBM
  • Yahoo! Inc.
  • Zimbra
  • Atlassian Software Systems
  • Disney
  • EnterpriseDB
  • Etelos
  • Ingres
  • JasperSoft
  • Kablink
  • Linagora
  • MindTouch
  • Mozilla Corporation
  • Novell, Inc.
  • Open Invention Network
  • OpSource
  • RightScale
  • Silicon Mechanics
  • Tenth Planet
  • Ticketmaster
  • Voiceroute
  • White Oak Technologies, Inc.
  • XAware
  • ZDNet

Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at scordesse@oreilly.com.

Media Partner Opportunities

Download the Media & Promotional Partner Brochure (PDF) for more information on trade opportunities with O'Reilly conferences, or contact mediapartners@oreilly.com.

Press and Media

For media-related inquiries, contact Maureen Jennings at maureen@oreilly.com.

OSCON Newsletter

To stay abreast of conference news and to receive email notification when registration opens, please sign up for the OSCON newsletter (login required).

Contact Us

View a complete list of OSCON 2008 Contacts

Unlocking the APC Code

Location: F151 Level: Intermediate
Average rating: ****.
(4.00, 2 ratings)

APC (Alternative PHP Cache) started its life as fairly simple opcode cache for PHP. But along its development, a data cache seemed like a useful, yet simple addition to the package. As the usage of this grew, it became apparent that it was fraught with locking issues.

To ensure proper usage of shared memory, locks are essential. But the acquisition of locks are often hierarchical and assumptions about critical sections in code paths can lead to reduction in the number of lock and unlock calls involved. Also thread/process data separation can ensure that no two processes/threads hold pointers to the same area, allowing the removal of locks around such code.

Even though locks are the critical bottleneck that has been addressed, the talk also touches upon the other performance tweaks, tried and tested best practices, and a general summary of the new features in APC.

Photo of Gopal Vijayaraghavan

Gopal Vijayaraghavan

Zynga Game Network, India

Gopal Vijayaraghavan is a technical lead at Yahoo! Bangalore and works in the platform engineering team. He is a lead developer of the open source PHP APC (alternative php cache) and dotgnu portable.net. He hacks on APC as part of his work and otherwise. His blog can be found at http://t3.dotgnu.info/blog/.

OSCON 2008