Log files are very useful to troubleshoot, to track usage, improve performance, and monitor the overall health of the application. However, over time, they become large and use up valuable disk space.
Logging is an essential tool for debugging and understanding the behavior of your application. It allows developers to capture information about the state and flow of an application, which can be used to identify and fix bugs, improve performance, and monitor the overall health of the application.
Time to Live (TTL) indexes are special single-field indexes in MongoDB that help delete documents from a collection after a specific amount of time or at a given clock time. Data expiration is useful for certain types of information like machine generated event data, shopping carts, logs, and session information etc that only need to persist in a database for a finite amount of time.
MongoDB Compass, as of 2018, comes with an aggregation pipeline builder to help make prototyping and debugging easier. This feature allows developers to export their aggregations into different programming languages and use the code in their applications.
Critical infrastructure like databases, application servers etc must be deployed securely in AWS and deploying ec2 instances in private subnet is a must. Instances launched in a private subnet have only private ip address (No public IP) and hence these instances can never be reached from internet.
All Tags:
abortcontroller
1
abortsignal
1
access
1
aggregation-pipeline
1
async
3
aws
1
capped
1
clustering
1
data-processing
1
database
8
destructuring
1
es6
2
eslint
1
eventloop
1
expressjs
5
finally
1
grid
1
image-grid
1
indexing
1
ipc
1
javascript
20
loops
1
material-ui
1
mongodb
11
mongodb-compass
1
mongoose
4
nested
1
nodejs
20
nvm
1
object
1
performance
1
pino
2
prettier
1
reactjs
1
schema
2
security
1
streams
2
subdocument
1
tech
2
template-literals
1
time-to-live
1
timers
1
ttl-index
1
url
1
vscode
1