Practical mod_perl-CHAPTER 8:Choosing a Platform for the Best Performance

Tham khảo tài liệu 'practical mod_perl-chapter 8:choosing a platform for the best performance', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Page 313 Thursday November 18 2004 12 39 PM CHAPTER 8 Choosing a Platform for the Best Performance Before you start to optimize your code and server configuration you need to consider the demands that will be placed on the hardware and the operating system. There is no point in investing a lot of time and money in configuration tuning and code optimizing only to find that your server s performance is poor because you did not choose a suitable platform in the first place. Because hardware platforms and operating systems are developing rapidly the following advisory discussion must be in general terms without mentioning specific vendors names. Choosing the Right Operating System This section discusses the characteristics and features you should be looking for to support a mod_perl-enabled Apache server. When you know what you want from your OS you can go out and find it. Visit the web sites of the operating systems that interest you. You can gauge users opinions by searching the relevant discussions in newsgroup and mailing-list archives. Deja http and eGroups http are good examples. However your best shot is probably to ask other mod_perl users. mod_perl Support for the Operating System Clearly before choosing an OS you will want to make sure that mod_perl even runs on it As you will have noticed throughout this book mod_perl is traditionally a Unix-centric solution. Although it also runs on Windows there are several limitations related to its implementation. The problem is that Apache on Windows uses a multithreaded implementation due to the fact that Windows can t use the multi-process scheme deployed on Unix platforms. However when mod_perl and thereby the Perl runtime is built into the 313 Page 314 Thursday November 18 2004 12 39 PM Apache process it cannot run multithreaded because before Version the Perl runtime wasn t thread-safe. What does this mean for you Well essentially it means that your Apache .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
190    500    10    01-06-2024
2    284    1    01-06-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.