Skip to content
Rubén García García
All projects
In production

SAW

Real-time operational monitoring for water networks.

My role
Frontend technical lead
Stack
React, TypeScript, Redux Toolkit, WebSockets, AG Grid, Highcharts, React Testing Library

Context

An Amaris Consulting platform for Global Omnium and South Australian Water. Operators follow thousands of stations, with data refreshing as often as every minute, across maps, tables, charts and alarms.

Problem

With the full volume of stations and readings, the initial load of the complete screen took more than 10 seconds and sometimes froze the page.

How data flows

  1. Back-end APIs
  2. Redux Toolkit
  3. Map, table and charts
  4. Operator

Decisions

  1. Proximity clustering on the map

    Nearby stations are grouped to cut the number of visible markers and split apart as you zoom in.

  2. Server-side pagination

    The stations table no longer downloads everything up front; it requests only the visible page.

  3. Aggregated charts with zoom-in detail

    Series are summarised to screen resolution and recover full detail when you zoom.

  4. Reusable components and state

    I defined shared components and Redux Toolkit state patterns, and I mentor a second frontend developer through code reviews.

  5. Integration tests

    With React Testing Library I check, for example, that changing a map filter updates both the table and the map, plus loading, result and error states when querying a station. Pull requests run TypeScript and build checks.

Outcome

The observed initial load of the complete screen went from more than 10 seconds to under 2.

Confidential client project: no screenshots or code. Timings are approximate observations, not a benchmark.

Next projectStrategium