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

Solving invisible scaling issues with Serverless and MongoDB

by Adnan Rahić4mJune 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.

Company Mentioned

Mention Thumbnail
featured image - Solving invisible scaling issues with Serverless and MongoDB
Adnan Rahić HackerNoon profile picture
Adnan Rahić

Adnan Rahić

@adnanrahic

Senior Developer Advocate @ Tracetest.io. Book/Course Author. Failed startup founder and ex-freeCodeCamp local leader.

About @adnanrahic
LEARN MORE ABOUT @ADNANRAHIC'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Adnan Rahić HackerNoon profile picture
Adnan Rahić@adnanrahic
Senior Developer Advocate @ Tracetest.io. Book/Course Author. Failed startup founder and ex-freeCodeCamp local leader.

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