No description
- Add ContactMapController serving /api/contacts/map with pre-gzipped JSON from Microwaveprop.Cache. Browsers handle Content-Encoding: gzip natively; payload drops from 5.7 MB raw to 1.5 MB on the wire (73%). Cache TTL 10 min, invalidated on contact insert alongside the other contact-map cache keys. - Move contact map payload out of the LiveView's initial HTML entirely. Shell renders with the filter chrome (count + band list); the hook fetches contacts from the HTTP endpoint in parallel with map init. This also avoids Phoenix.Socket's 64 KB frame limit (push_event would have required chunked transfer or a global frame size bump). - Parallelize ContactLive.Show hydrate: five independent DB loads (weather, solar, hrrr_path, terrain, iemre) now run concurrently via Task.async + Task.await_many. Total latency drops from sum(each) to max(each), cutting contact show hydrate time roughly 5x. |
||
|---|---|---|
| .forgejo/workflows | ||
| .github | ||
| assets | ||
| bin | ||
| config | ||
| docs | ||
| k8s | ||
| lib | ||
| lib_ml | ||
| notebooks | ||
| priv | ||
| rel | ||
| test | ||
| vendor | ||
| .credo.exs | ||
| .dockerignore | ||
| .formatter.exs | ||
| .gitignore | ||
| .tool-versions | ||
| AGENTS.md | ||
| algo.md | ||
| app.json | ||
| CLAUDE.md | ||
| Dockerfile | ||
| elevation.md | ||
| mix.exs | ||
| mix.lock | ||
| prediction.md | ||
| README.md | ||
| tail_logs.sh | ||
| updates.md | ||
Microwaveprop
To start your Phoenix server:
- Run
mix setupto install and setup dependencies - Start Phoenix endpoint with
mix phx.serveror inside IEx withiex -S mix phx.server
Now you can visit localhost:4000 from your browser.
Ready to run in production? Please check our deployment guides.
Learn more
- Official website: https://www.phoenixframework.org/
- Guides: https://hexdocs.pm/phoenix/overview.html
- Docs: https://hexdocs.pm/phoenix
- Forum: https://elixirforum.com/c/phoenix-forum
- Source: https://github.com/phoenixframework/phoenix