1 / 9

Scaling Databases for the Web

Scaling Databases for the Web. COMS E6125 Web-enhanced Information Management (WHIM) Spring 2008 by Amoghavarsha Ramappa. Apache. Open source Key role in the initial growth of the World Wide Web Cross Platform Most popular web server for the past decade Apache 2.2.8 Module Support.

caden
Download Presentation

Scaling Databases for the Web

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Scaling Databases for the Web COMS E6125 Web-enhanced Information Management (WHIM) Spring 2008 by Amoghavarsha Ramappa

  2. Apache • Open source • Key role in the initial growth of the World Wide Web • Cross Platform • Most popular web server for the past decade • Apache 2.2.8 • Module Support

  3. PHP • Widely-used Scripting Language • Suited for Web development • Can be embedded into HTML • Large web base of PHP users • Drivers for major databases: DB2, PostgreSQL, Oracle .. • PHP-Apache – Most Popular

  4. Basic Apache User Handling Apache Web Server U S E R S Apache Child Processes

  5. Oracle Connection Pooling • Multiple users share Apache children • Apache child processes multiplex users with fewer database connections • Made possible through database connection pools • Connection pools exists on the client • What is the drawback ?

  6. Connection Pools Apache Children Oracle U S E R S Client Connection Pooling C1 C2 C3 C4 Client

  7. Connection Pool Apache Children Oracle U S E R S Database Server Database Resident Connection Pool

  8. Throughput

  9. Available In • Apache 2.2.8 • Oracle Database 11g • PHP PECL Extension

More Related