Blog 306

Jayswilder
2 min readOct 10, 2020

Stuff

  1. What’s the difference between operational and programmer errors?
    Operation errors are not bugs, but problems with the system, like request timeout or hardware failure. On the other hand programmer errors are actual bugs.
  2. What is ‘event-driven’ programming?
    Event-driven programming is when a program is designed to respond to user engagement in various forms. It is known as a programming paradigm in which the flow of program execution is determined by “events.” Events are any user interaction, such as a click or key press, in response to prompt from the system.
  3. What are ‘worker processes’?
    Worker processes provide the execution environment for all web sites and applications configured in IIS. Valuable information such as CPU utilization and memory footprint can be obtained from the API to help monitor the health of worker processes and the web server
  4. Describe how Node.js can be made more scalable.
    It is scalable due to load balancing. Essentially you can have multiple jobs for node to process and it can handle it with no significant burden. This makes it scalable. All APIs of Node are written is such a way that they supports callbacks.
  5. Explain global installation of dependencies.
    Installing it local, means the module will be available only for a project you installed it (the directory you were in, when ran npm install ). Global install, instead puts the module into your Node. js path (OS dependent), and will be accessible from any project, without the need to install it separately for each.
  6. Explain RESTful Web Service.
    Restful Web Service is a lightweight, maintainable, and scalable service that is built on the REST architecture. Restful Web Service, expose API from your application in a secure, uniform, stateless manner to the calling client. … The underlying protocol for REST is HTTP. REST stands for Representational State Transfer.

--

--