paint-brush
Improving Our MongoDB Write Throughput with SQSby@natanavra
364 reads
364 reads

Improving Our MongoDB Write Throughput with SQS

by Natan Abramov8mNovember 18th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Amazon Simple Queue (SQS) is a highly scalable managed message queue service. It lets you decouple different parts of your application and eliminate throughput bottlenecks. At PurpleAds, our mongo servers were having a hard time keeping up with increasing numbers of write and update operations. The MongoDB CPU Average, at peak times it was at 97% average and crashed daily, so we decided to queue these ops and do periodical bulk writes instead, this would cut down the number of upsert operations by at least 10x.

Company Mentioned

Mention Thumbnail
featured image - Improving Our MongoDB Write Throughput with SQS
Natan Abramov HackerNoon profile picture
Natan Abramov

Natan Abramov

@natanavra

Co-founder @ ProveSource, PurpleAds and Valuad

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

About Author

Natan Abramov HackerNoon profile picture
Natan Abramov@natanavra
Co-founder @ ProveSource, PurpleAds and Valuad

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
Buff
Moomoo