• Skip to main content
  • Skip to primary sidebar
  • Skip to secondary sidebar
  • Skip to footer

Computer Notes

Library
    • Computer Fundamental
    • Computer Memory
    • DBMS Tutorial
    • Operating System
    • Computer Networking
    • C Programming
    • C++ Programming
    • Java Programming
    • C# Programming
    • SQL Tutorial
    • Management Tutorial
    • Computer Graphics
    • Compiler Design
    • Style Sheet
    • JavaScript Tutorial
    • Html Tutorial
    • Wordpress Tutorial
    • Python Tutorial
    • PHP Tutorial
    • JSP Tutorial
    • AngularJS Tutorial
    • Data Structures
    • E Commerce Tutorial
    • Visual Basic
    • Structs2 Tutorial
    • Digital Electronics
    • Internet Terms
    • Servlet Tutorial
    • Software Engineering
    • Interviews Questions
    • Basic Terms
    • Troubleshooting
Menu

Header Right

Home » Servlet » introduction » Difference between Process and Thread Based Server Side Technology
Next →
← Prev

Difference between Process and Thread Based Server Side Technology

By Dinesh Thakur

We’ll be covering the following topics in this tutorial:

  • Process based Server Side Technology
  • Thread based Server Side Technology

Process based Server Side Technology

• The procedure of transferring control from one process to another process or from one thread to another thread is called as the scheduling based control jumping or context switching.

• Since operating system process are heavy weight process so they take lot of time for control jumping or context switching.

• Due to this when more requests are given CGI based web application more operating system processes will be created on one per request basis and performance of website will be degraded (That means web application becomes non scalable web application).

• If application is giving same performance irrespective of increase or decrease in number of clients / no. of requests is called as scalable application.

           Process based Server Side Technology

Thread based Server Side Technology

Operating System managed process P1 representing the web server startup t1,t2,t3,t4 core threads started on servlet program related object representing request given by clients.

           Thread based Server Side Technology

• The control jumping between threads of a process takes very much less time when compare to control jumping between to separate processes, so we can say thread based server side technology gives better performance when compare to process based server side technologies.

• The web application that is developed based on thread based server side technologies is scalable application.

• servlet program is a single instance multiple threads based java component of java web application as shown above, that means if 100 request are give to single servlet program then the servlet container create only one object for that servlet program class but starts 100 threads on that object representing 100 request as shown above.

You’ll also like:

  1. Server side Web Technology
  2. What is the difference between a ‘thread’ and a ‘process’
  3. Explain Server Side Programming
  4. Architecture of Java Based web Server
  5. What is Server? What is Difference between Network Server and dedicated server.
Next →
← Prev
Like/Subscribe us for latest updates     

About Dinesh Thakur
Dinesh ThakurDinesh Thakur holds an B.C.A, MCDBA, MCSD certifications. Dinesh authors the hugely popular Computer Notes blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps.

Dinesh Thakur is a Freelance Writer who helps different clients from all over the globe. Dinesh has written over 500+ blogs, 30+ eBooks, and 10000+ Posts for all types of clients.


For any type of query or something that you think is missing, please feel free to Contact us.


Primary Sidebar

Servlet Tutorials

Servlet Tutorials

  • Servlet - Home
  • Servlet - Types
  • Servlet - Advantages
  • Servlet - Container
  • Servlet - API
  • Servlet - Chaining
  • Servlet - Life Cycle
  • Servlet - Developement Way
  • Servlet - Servlet Vs CGI
  • Servlet - Server Side
  • Servlet - HttpServletRequest
  • Servlet - Cookies Advantages
  • Servlet - JDBC Architecture
  • Servlet - HttpServlet
  • Servlet - HttpServletResponse
  • Servlet - Web Technology
  • Servlet - Applet Communication
  • Servlet - Html Communication
  • Servlet - HTTP POST Request
  • Servlet - HTTP GET Request

Other Links

  • Servlet - PDF Version

Footer

Basic Course

  • Computer Fundamental
  • Computer Networking
  • Operating System
  • Database System
  • Computer Graphics
  • Management System
  • Software Engineering
  • Digital Electronics
  • Electronic Commerce
  • Compiler Design
  • Troubleshooting

Programming

  • Java Programming
  • Structured Query (SQL)
  • C Programming
  • C++ Programming
  • Visual Basic
  • Data Structures
  • Struts 2
  • Java Servlet
  • C# Programming
  • Basic Terms
  • Interviews

World Wide Web

  • Internet
  • Java Script
  • HTML Language
  • Cascading Style Sheet
  • Java Server Pages
  • Wordpress
  • PHP
  • Python Tutorial
  • AngularJS
  • Troubleshooting

 About Us |  Contact Us |  FAQ

Dinesh Thakur is a Technology Columinist and founder of Computer Notes.

Copyright © 2023. All Rights Reserved.