Skip to content

Instantly share code, notes, and snippets.

@bilus
Last active April 2, 2024 10:05
Show Gist options
  • Save bilus/5181328f484263c878a61d8f60425b2f to your computer and use it in GitHub Desktop.
Save bilus/5181328f484263c878a61d8f60425b2f to your computer and use it in GitHub Desktop.

Sprint March 31, 2024

It’s shorter sprint. Mikolaj is out for the first week.

  1. NISSAN :URGENT:

    • Updates API

      • TODO Works on Staging @Marcin

        • Pipeline for whole countries doesn’t fail.
        • Fresh data available
      • TODO Remove deleted records @Marcin

        • If a record has been marked as deleted, it should not appear in patches downloaded from Updates API.
      • TODO Works on Production and sandbox @Marcin

        • API deployed
        • Pipeline deployed
        • Pipeline for whole countries doesn’t fail.
        • Fresh data available
    • TODO Test embedded on Hardware, measure RAM usage and Disk usage @Mikolaj

      • Japan data only
      • How much RAM
      • Replay production-data
      • Does not crash when run under stress (requests made via HTTP not via UI).
      • Use production requests for Japan.
      • Start and peak RAM usage known under stress and under “normal” usage.
      • Peak CPU usage known under “normal” usage.
      • Report containing the ^ findings.
    • TODO How often JP data changes and how important are the changes @Dominik -> @Marcin

      Do we need a better update mechanism than including in the APK?

      • Reviewed Dominik’s report.
      • Make it so it’s understandable by NISSAN
      • Ask for a meeting
    • TODO Deploy IPC to production (a-z sort + translations) @Bartek

    • TODO Fix PP latency problems @Mikolaj

      • Measure.
      • Fix: HPA?
      • CDN
  2. Maintenance

    • TODO Push through OAuth docs!! @Marcin

      • Available on production
    • TODO Deploy conrad-proxy v3+ to sandbox + production @Marcin

      Changes to tiers, values etc.

    • TODO conrad-proxy add X-AutoStage-Manufacturer + X-AutoStage-Make @Bartek

      • conrad-proxy generated ^ extra headers and passes them to services

      • X-AutoStage-Manufacturer taken from mfgid

      • X-AutoStage-Make taken from conrad-proxy configuration (auth.json), based on mfgid

      • Add tests in .yaml format

        { "mfgids": { "FFFF01": { "manufacturer": "Daimler", "secret": "FFFF01", } }, [...] }

      • conrad-proxy is backwards-compatible and supports the old auth.json format

      • Deployment changes the structure of configuration data in secrets.yaml

    • TODO Broadcasts: Spikes to 6s on production in Netherlands @Bartek

      https://xperi.slack.com/archives/C0EQC16N8/p1711561116150939

      • How many requests per second during spikes?
      • Are these particular requests unusually slow when made separately? Is curl with this request slower than other locations?
    • TODO Release notes update @Marcin

      • Added, Fixed etc.
      • Make backwards compatible (ADD -> Added, NEW -> Added, FIX -> Fixed)
      • Support multiple paths (e.g. Added `/v1/broadcasts`, `v1/broadcasts/id/live`) Or think of a better way to express that.
      • Announce to the team
  3. BMW - China

    • TODO Metrics in Playgrounds (Prometheus + Grafana) @Bartek

    • TODO TTL for live data in Redis in China @Mikolaj

      • Live API returns an extra header (using TTL redis command)?
        • /v1/broadcasts/123/live?debug=true
        • Respond with X-Debug-Redis-TTL: 2000 if debug query string param is true. Value in ms.
      • Re-distributor passes debug=true when querying Live API and sets TTL in Redis accordingly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment