Mission-Prerna / nl-apis

All the BE APIs to configure, manage & run the NL app
1 stars 16 forks source link

[Bug] Posthog loading time #296

Closed karntrehan closed 1 month ago

karntrehan commented 2 months ago

Posthog dashboard is loading very slowly. Need to debug the performance hit.

dhruv-1001 commented 2 months ago

@nikhil241 to pick this up today.

VargishChauhan commented 1 month ago

In progress

karntrehan commented 1 month ago

Working well now. @VargishChauhan to check.

AakashSatpute119 commented 1 month ago
karntrehan commented 1 month ago

Loading time is still slow. Settings to be re-applied which were lost after a restart. Permanency of the settings to be figured.

karntrehan commented 1 month ago

Steps taken on prod server:

  1. Cache of posthog increased from 2GB to 4GB in redis.
  2. Threads (Django) from 32 to 64.
  3. Load on CPU is almost the same.

Working fine. Closing.