3 ms·
Last year I wrote a Go service handle JSON posting with payload of ~ 100KB and insert them into MongoDB. It requires trivial amount of work and on a single t2.s
by kureikain 9y ago
Last year I wrote a Go service handle JSON posting with payload of ~ 100KB and insert them into MongoDB. It requires trivial amount of work and on a single t2.small server it can handle up to 200K RPM just fine. So this number 1M request on 4x c4.Large mean 250K RPM on a single c4.large. Maybe their payload is too big and writing data to S3 is probably slower than to a MongoDB cluster.
I was so happy at Go performance and since that day I realize just how slow other language is. I found Java is quite comparable to Go as well. I was coming from Ruby/PHP and I didn't realize how fast other languages are until I tried it.