what is event driven web server

There’s a nice analogy of this described here: https://www.tumblr.com/daverecycles/3104767110/explain-event-driven-web-servers-to-your-grandma Relevant text from the above link: Explain “Event-Driven” Web Servers to Your Grandma You’ve heard the term event-driven, event-based, or evented when it comes to web servers. Node.js is based on evented I/O. nginx is an asynchronous event-driven web server. But what does the term mean? … Read more

Serve homepage and static content from root

An alternative (not using ServeMux) solution is to serve explicitly each file located in the root directory. The idea behind is to keep the number of root-based files very small. sitemap.xml, favicon.ico, robots.txt are indeed mandated to be served out of the root : package main import ( “fmt” “net/http” ) func HomeHandler(w http.ResponseWriter, r … Read more

VMWare fusion: connecting to host’s web server from guest

Using Fusion 6.0.2 on OS X 10.9 Mavericks In the host system (Mac) turn off your virtual machine open the “Virtual Machine | Network Adapter | Network Adapter Settings…” menu in the “Bridget Networking” section choose “Autodetect”: turn on your virtual machine In the guest system (Win7) right click on the Notepad application, then select … Read more

Some fundamental but important questions about web development?

Update, Spring 2018: I wrote this response in 2010 and since then, a whole lot of things have changed in the world of a web backend developer. Namely, the advent of the “cloud” turning services such as one-click load balancers and autoscaling into commodities have made the actual mechanics of scaling your application much easier … Read more

What is the difference between application server and web server?

Most of the times these terms Web Server and Application server are used interchangeably. Following are some of the key differences in features of Web Server and Application Server: Web Server is designed to serve HTTP Content. App Server can also serve HTTP Content but is not limited to just HTTP. It can be provided … Read more

tech