paint-brush
Solving invisible scaling issues with Serverless and MongoDBby@adnanrahic
1,787 reads
1,787 reads

Solving invisible scaling issues with Serverless and MongoDB

by Adnan RahićJune 25th, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The rise of serverless architectures and back-end-as-a-service providers allows developers to scale database connections without creating heavy loads. Serverless developers use a technique called connection pooling to only create the database connection on the first function call and re-use it for every consecutive call. This gives us a time frame of 15 to 20 minutes where our database connection is active and ready to be used without suffering any performance loss. Using Lambda with MongoDB Stitch, you can see the pattern is very similar to that of a traditional server.
featured image - Solving invisible scaling issues with Serverless and MongoDB
Adnan Rahić HackerNoon profile picture
Adnan Rahić

Adnan Rahić

@adnanrahic

L O A D I N G
. . . comments & more!

About Author

Adnan Rahić HackerNoon profile picture
Adnan Rahić@adnanrahic

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite