Browsed by
Author: admin

NodeJS Logging: What should you know about logging?

NodeJS Logging: What should you know about logging?

Logging is undoubtedly one of the most important parts of our application. There are many ways to log in Node.js. We can use what’s built-in, or we can depend on one of the many popular packages to improve NodeJs logging.   For the time being, the ideal way to accomplish nodejs logging is to pipe the stdout and stderr to your preferred log destination. This is because the main logger-debug-writes directly to process.stdout and process.stderr. If we would take those writable streams…

Read More Read More

SQL vs NoSQL | SQL vs MongoDB

SQL vs NoSQL | SQL vs MongoDB

So, who is the winner then the more strict SQL world or the more lose NoSQL world the most important thing first there is no clear winner. It really depends on the kind of application you’re building and the kind of data you’re storing. And in really big applications or businesses you typically use both solutions because, you work with different data or with different applications and therefore you have different needs. Each solution has its strengths SQL, for example,…

Read More Read More

How Does MongoDB or NoSQL Database work? (Relations)

How Does MongoDB or NoSQL Database work? (Relations)

Let’s now have a look at the MongoDB world or the NoSQL world, there are other NoSQL solutions to AWS, DynamoDB would be one. For example, a serverless one, now I’ll have a look at MongoDB since it’s similar popular NoSQL database. NoSQL Database or MongoDB structure Now what is a NoSQL database or what is MongoDB? now the name MongoDB is simply stemming from the word “Humongous” because it’s built to store lots and lots of data in a…

Read More Read More

SQL Database structure | Schemas | Data Normalization

SQL Database structure | Schemas | Data Normalization

So let’s start with SQL, now SQL is not a database, SQL stands for structured query language and in the end, SQL is a language that allows you to write database queries. SQL introduction The commands are CREATE, ALTER, DROP, RENAME, and TRUNCATE. Data Manipulation Language (DML) – These SQL commands are used for storing, retrieving, modifying, and deleting data. These Data Manipulation Language commands are: SELECT, INSERT, UPDATE, and DELETE. There are more commands to just deselect command but…

Read More Read More

Why node.js is better than Java? (node vs java)

Why node.js is better than Java? (node vs java)

Can you say why node.js is better than Java? Node.Js is superior when it comes to concurrency. I’d concur if I knew what that meant nodejs wins when it comes down to handling thousands or hundreds of thousands of connections. Node.js handles more concurrent inputs and outputs thanJava, doesn’t Java handle it sure, but not as many and a website loses a customer when they get connection errors in a mobile. World people might hit the refresh button once or…

Read More Read More

What’s New In Node.js 10 | Http2 | Modules |

What’s New In Node.js 10 | Http2 | Modules |

This blog is about NodeJs 10 and I would brief on what’s new the additions & improvements. Obviously, I’m not going through the extensive changelog or anything but I just want to mention the bigger things and you can find this information in various online sites, but I figured that I would just wrap it up into one blog and try to convey it in a simple way, but if you’re a JavaScript developer, I think it’s really important to…

Read More Read More