CS 491B Project Web Galaxy Wendy Tan
Web Galaxy Project Introduction Demo Analysis
Project Introduction E-commerce Web Site in three setups Content Product Display by product category Product Search Shopping Cart
Three Setups Red Hat Linux Apache 1.3 MySQL MOD_PERL Mason Window 2000 IIS 5.0 SQL 2000 C# ASP.NET Window 2000 Apache Tomcat MySQL JSP/Servlet
Motivation Curious about different choices of web server setup and server-side languages Have done similar web programming project for CS 437, want to try something new PERL/MySQL/Apache/Javascript Years of work experience in web site development
Hardware Pentium III 700 MHZ 128 MB RAM 12 GB Hard drive
Demo Setup 2 – written in C# Setup 3 – written in JSP/Servlets
Analysis Database comparison (Emphasis) Language comparison Web Server comparison Performance Chart of Setup 2 and Setup 3
Database Comparison Hardware Operating System Price Feature Conclusion
Database Hardware SQL 2000MySQL Pentium 166 MHz or higher 128 MB RAM or more recommended 270 MB hard disk (full installation) Should have at least 32 MB RAM and at least 60 MB hard disk
Database Operating System SQL 2000MySQL Windows-based Sun Solaris; FreeBSD Mac OS X; HP-UX AIX-Based; QNX SGI Irix; Dec OSF
Database Price SQL 2000MySQL Standard Edition $4,999 per processor Enterprise Edition $19,999 per processor Free under the terms of the GNU General Public License. $495 per copy (1-9)
Database Feature SQL 2000MySQL Views Triggers Stored Procedures Foreign Keys Cursors User-defined functions Not supported only InnoDB tables Not supported C, C++ external libraries Arrays
Database Comparison Conclusion Both databases are stable and efficient
Database Comparison Conclusion SQL 2000 Advantage Holds the top TPC-C performance and price/performance results. Generally accepted as easier to install, use and manage Transact-SQL is a more powerful language than MySQL dialect.
Database Comparison Conclusion MySQL 4.1 Advantage Supports all known platforms Requires less hardware resources Free under the terms of the GNU General Public License. Works with medium size databases ( million rows, or about 100 MB per table) on small computer systems.
Language Comparison PERLJSP/Java ServletsC# 1987 Most popular Mod_perl – server embbed interpreter Templates Late 1990s Created to complete with CGI by PERL 2002 Syntax similar to Java
Web Server Comparison ApacheIIS Most popular web server since April of % of web sites use Apache Winner in the Netcraft and Security Space monthly surveys Dominant among Fortune 1000 enterprises 21%
Performance Test Comparison Charts of both static and dynamic web pages involves database accesses Comparison Chart of database access Performance Test Limitations
Performance Test Limitation Optimized Coding Different Versions of OS,Server & DB Hardware Different techniques for certain functionalities Multi-users/concurrent requests
Conclusion Consideration of Choosing a web setup Operation System – platform dependence Amount of data transaction involved and type of transaction Numbers and concentration of users Developer resources
Reference er_vs_mysql.htm lts.asp