Performance

Load Testing

  • nginx request bench mark
  • Mongodb request bench mark
  • Mongo min and max connection per host, pooling.. Etc
ToolUseCaseDescription
JMeterAPI & other browser requestsby UI
k6API & other browser requestsby CLI

Browser Request Profiling

  • developers can do request profiling by lightHouse (Chrome dev tools)
  • take heap snapshot in dev tools to check memory usage/ leaks

MongoDB

Indexing practices

//connect mongoDB metrics with grafana https://github.com/simagix/keyhole https://www.mongodb.com/blog/post/peek-at-your-mongodb-clusters-like-a-pro-with-keyhole-part-1 https://www.mongodb.com/blog/post/peek-at-your-mongodb-clusters-like-a-pro-with-keyhole-part-2

Analysis

https://github.com/Countly/countly-server