BlogPost_306
- 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.
- What is ‘event-driven’ programming?
- event-driven programming is a programming paradigm in which the flow of the program is determined by events such as user actions, sensor outputs, or messages from other programs or threads.
- What are ‘worker processes?
- The "Process" which is responsible for processing Asp.net application request and sending back response to the client , is known as "Worker Process". All ASP.NET functionalities runs within the scope of this process.
- Describe how Node.js can be made more scalable?
- The javascript that node runs is single threaded, but a lot of the things you call in node - such as network or file io - run in background threads. See this post for a basic overview: Node is not single threadedIf you need the gritty details, you should look into libuv which is the 'magic' piece converting threads into event loops: http://nikhilm.github.io/uvbook/basics.html#event-loopsAdditionally, if you need to do something CPU intensive in node itself, you can easily send this to a child process - see http://nodejs.org/api/child_process.html#child_process_child_process_fork_modulepath_args_options for details
- Explain global installation of dependencies?
- The global installation of dependencies in Node. js refers to installing packages and their dependencies globally in your system. By global, it means they are not specific to a particular Node. js project, but they are available on the go throughout your system.
- Explain RESTful Web Service?
- Representational state transfer (REST) is a software architectural style that defines a set of constraints to be used for creating Web services. ... In a RESTful Web service, requests made to a resource's URI will elicit a response with a payload formatted in HTML, XML, JSON, or some other format.
- REST is used to build Web services that are lightweight, maintainable, and scalable in nature. A service which is built on the REST architecture is called a RESTful service. The underlying protocol for REST is HTTP, which is the basic web protocol.
