Last active
May 20, 2018 01:21
-
-
Save PH9/6b17c4a9f578fc96bf9b537f58b8c06e to your computer and use it in GitHub Desktop.
Compare between JVM and golang API Service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
matrix | JVM | golang | Node.js | |
---|---|---|---|---|
docker size | 100 MB (alpine jre + AM) | 12 MB (alpine + AM) | 128 MB | |
start memory | 30-50 MB | 1.2 MB | 40 MB | |
maximum TPS | 25 tps. มี fail 5xx | 500 tps ไม่มี fail แต่เขียน log ไม่ทัน | N/A | |
memory usage from above TPS. | 80-300 MB | 30-40 MB | N/A | |
memory usage after stop | 80-150 MB | 8-20 MB | N/A | |
heap memory | some | none | N/A | |
response time | > 1 millisecond | < 1 millisecond | N/A |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment