---
title: "Posts written for MongoDB | Blog"
description: "9 posts Joe Karlsson wrote for MongoDB."
url: https://www.joekarlsson.com/blog/written-for/mongodb/
---

# For MongoDB

9 posts I wrote for MongoDB, first published on their blog

-   Jun 8, 2021 | 5 min read | Web Dev | One of my 10 most-read posts [How to Use Custom Archival Rules and Partitioning on MongoDB Atlas Online Archive](https://www.joekarlsson.com/blog/how-to-use-custom-archival-rules-and-partitioning-on-mongodb-atlas-online-archive/)
    
    How to set up custom archival rules on MongoDB Atlas Online Archive and partition your archived data to speed up queries against it.
    
-   May 3, 2021 | 9 min read | Web Dev [How to Automate Continuous Data Copying from MongoDB to S3](https://www.joekarlsson.com/blog/how-to-automate-continuous-data-copying-from-mongodb-to-s3/)
    
    Copy new MongoDB data into an AWS S3 bucket as Parquet every minute with Atlas Data Federation and scheduled Atlas Triggers, plus what to change for production.
    
-   Apr 5, 2021 | 7 min read | Web Dev | One of my 10 most-read posts [How to Manage MongoDB Data at Scale](https://www.joekarlsson.com/blog/how-to-manage-mongodb-data-at-scale/)
    
    How to manage MongoDB data at scale with Atlas Online Archive, moving aging data like IoT readings to cheaper storage while you can still query it.
    
-   Mar 26, 2021 | 8 min read | Web Dev | One of my 10 most-read posts [How to Query from Multiple MongoDB Databases](https://www.joekarlsson.com/blog/how-to-query-from-multiple-mongodb-databases/)
    
    How to query from multiple MongoDB databases, clusters and even AWS S3 buckets at once using federated queries on MongoDB Atlas Data Lake.
    
-   Feb 19, 2021 | 3 min read | Web Dev | One of my 10 most-read posts [How to Seed a MongoDB Database with Fake Data](https://www.joekarlsson.com/blog/how-to-seed-a-mongodb-database-with-fake-data/)
    
    How to seed a MongoDB database with fake data using a Node.js seed script and faker.js, for demos, lookup values and proofs of concept.
    
-   Jan 25, 2021 | 8 min read | Web Dev | One of my 10 most-read posts [MongoDB Aggregation Pipeline Queries vs SQL Queries](https://www.joekarlsson.com/blog/mongodb-aggregation-pipeline-queries-vs-sql-queries/)
    
    MongoDB aggregation pipeline queries vs SQL queries, side by side. I came to MongoDB from SQL, so I map pipeline stages to SQL clauses you already know.
    
-   Jan 6, 2021 | 14 min read | Web Dev | One of my 10 most-read posts [How to use MongoDB Client-Side Field Level Encryption (CSFLE) with Node.js](https://www.joekarlsson.com/blog/how-to-use-mongodb-client-side-field-level-encryption-csfle-with-node-js/)
    
    How to use MongoDB Client-Side Field Level Encryption (CSFLE) with Node.js to encrypt sensitive fields like credit card and social security numbers.
    
-   Oct 20, 2020 | 11 min read | Web Dev | One of my 10 most-read posts [How To Use The MongoDB Visual Studio Code Plugin](https://www.joekarlsson.com/blog/how-to-use-the-mongodb-visual-studio-code-plugin/)
    
    How to use the MongoDB Visual Studio Code plugin to connect to Atlas, browse your collections and prototype queries in Playgrounds inside your editor.
    
-   Sep 30, 2020 | 14 min read | Web Dev | One of my 10 most-read posts [Linked Lists and MongoDB: A Gentle Introduction](https://www.joekarlsson.com/blog/linked-lists-and-mongodb-a-gentle-introduction/)
    
    New to data structures? Learn how linked lists work, how they differ from arrays and when to use one, with a MongoDB twist in Node.js.
    

[All 164 posts →](https://www.joekarlsson.com/blog/)
