Scala vs. Golang concurrency implementations, CGI and Httpserver

Source: Internet
Author: User
This is a created article in which the information may have evolved or changed.
  • Comparison of concurrent implementations of Scala and Golang

  • What's the difference between Tomcat and Nginx,apache?

There is one answer: You can describe the relationship between CGI and HTTP server

I recently learned Java's XML DOM to try not to use Tomcat, through Apache CGI, with the shell call Java,java with the XML DOM to generate static HTML and output, the effect is still possible, the HTML hierarchy can be fully developed, Post data can also be received, feeling that the HTTP server can be supported,

At the same time, it also solves my c confusion with the realization of a httpserver, this C httpserver should be similar to tomcat a thing, CGI is a processing program, processing server requests and responses.

TINYHTTPD is an ultra-lightweight Http server with less than 500 lines, which is great for learning and helps us to really understand the nature of server programs

In this case, looking at this server handler is actually an understanding of the Tomcat-like application container, and this is a C server container.

It is not the implementation of Apache functionality.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.