Back End/Node.js

[Node.js] node 에서 mongodb 권장 이유 ( ? )

쟈누이 2021. 10. 21. 12:59
반응형

 

 

1. 권장 이유


Combining NodeJS and NoSQL- Why MongoDB is the best choice?

Node.js is popularly being used in web applications because it lets the application run while it is fetching data from the backend server. It is asynchronous, event-driven and helps to build scalable web applications. Even though Node.js works well with MySQL database, the perfect combination is a NoSQL like MongoDB wherein the schema need not be well-structured. MongoDB represents the data as a collection of documents rather than tables related by foreign keys. This makes it possible for the varied types of data dealt over the internet to be stored decently and accessed in the web applications using Node.js. Another option is using CouchDB that also stores the data as JSON/BSON environment.

 

 

  • node 는 이벤트 기반 비동기식이며 확장성 있는 웹 애플리케이션 을 만드는데 도움이 된다.
  • 노드는 mysql 과 잘 어울리지만 잘 구축된 스키마가 필요없는 mongo 와 같은 nosql 과 더 잘 맞는다. 
  • mongo 는 외래키에 기반한 테이블보다 다큐멘터리 모음의 데이터를 잘 나타내는데, 덕분에 인터넷을 통해 처리되는 다양한 유형의 데이터가 적절하게 저장되고 Node.js를 사용하여 웹 애플리케이션에서 액세스할 수 있다.

 

 

 

 

2. 참고 링크


https://cubettech.com/resources/blog/combining-nodejs-and-nosql-why-mongodb-is-the-best-choice/

 

Combining NodeJS and NoSQL- Why MongoDB is the best choice?

Combining NodeJS and NoSQL- Why MongoDB is the best choice? Node.js is popularly being used in web applications because it lets the application run while it is fetching data from the backend server. It is asynchronous, event-driven and helps to build scala

cubettech.com

 

반응형