Server Technology PPNT Manuale Utente Pagina 51

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 95
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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)
Vedere la pagina 50
1 2 ... 46 47 48 49 50 51 52 53 54 55 56 ... 94 95

Commenti su questo manuale

Nessun commento