Skip to content

Instantly share code, notes, and snippets.

@SouravDas25
Last active September 2, 2024 08:17
Show Gist options
  • Select an option

  • Save SouravDas25/bdabeb9a586cd47541e3a0eb2f67f485 to your computer and use it in GitHub Desktop.

Select an option

Save SouravDas25/bdabeb9a586cd47541e3a0eb2f67f485 to your computer and use it in GitHub Desktop.
java vs node medium table
┌───────────────────────────┬────────────┬────────────┬───────────┬────────────────────┐
│ Context │ metric │ Java │ NodeJS │ NodeJS (Clustered) │
├───────────────────────────┼────────────┼────────────┼───────────┼────────────────────┤
│ CPU Bound Task │ http req │ 18 r/s │ 1 r/s │ 8 r/s │
│ - 150 vus for 30s │ cpu │ 100% │ 100% │ 100% │
│ │ memory │ ~ 2 GB │ ~ 1 GB │ ~ 2 GB │
├───────────────────────────┼────────────┼────────────┼───────────┼────────────────────┤
│ IO Bound Task │ http req │ 190 r/s │ 804 r/s │ 951 r/s │
│ - 1000 vus for 10s │ cpu │ 60 - 70% │ 45% │ 70% │
│ │ memory │ ~ 4 GB │ ~ 2 GB │ ~ 3 GB │
└───────────────────────────┴────────────┴────────────┴───────────┴────────────────────┘
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment