Performance

Performance is one of the most important factors to determine the usability of your application. Everyone expects a fast-responsive application even on slow networks. This is a step one in winning the customer confidence and bringing him back more often.

Good Performance is a key indicator of good health like human beings. We are all inclined to use applications who are highly performant in nature. We make sure our applications are highly performant by incorporating the best practices/tools across the complete stack( UI Framework, Backend Framework, Backend Databases).

Steps we follow to make highly performant applications.

  1. Use Ngnix server to serve content via http/2.
  2. Use Http/2 server push whenever you can to push resources to client to prevent roundtrip based on assumptions and history
  3. Effectively use cache expiration headers to store static content in browsers cache.
  4. Effectively use ETag headers to manage cache contents.
  5. Use Paging and filtering of data for methods returning long list of data.
  6. Use CDN to store your static contents e.g. styles and JavaScript files
  7. Segregate your application code bundle file from other used libraries as your application code tends to change more often than other dependencies. In such scenarios only your application bundle will be downloaded again by clients.
  8. Use Service Worker, indexed db on your client app to support PWA.
  9. Check for Memory leaks and CPU spikes, they are the major culprit to bring application down.