Server Technology PPNT Instrukcja Użytkownika Strona 51

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 95
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 50
Java Servlets: Advantages(1/4)
Efficient
With traditional CGI: for e ach request a new OS process is started
Java VM, servlet container, and a particular s ervlet started only once:
each request handled by a Java thread
Lightweight Java threads instead of heavyweight OS processes
With CGI: if N simultaneous requests than the code is loaded N times
With servlets: N threads but only one copy of code in the memory
Optimization possibilites with servlets: caching, keeping database
connections open, etc.
answer from CGI: Fast-CGI (http:// www .fas tcgi .com)
(51/95)
Przeglądanie stron 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 94 95

Komentarze do niniejszej Instrukcji

Brak uwag