# Farsight APM

https://semirhamid.com/work/farsight · Cloud SaaS · full stack

> Plant monitoring usually starts with a months-long rollout. Farsight doesn't: connect the plant and get live dashboards, alarms and KPIs. I work on the ingestion, the time-series KPIs, the alarm language and the dashboards.

Farsight is BaxEnergy's newer product, for wind, solar and mixed portfolios. ESPx is the heavy system you inherit. Farsight is the one a plant can start without a six-month rollout: connect the manufacturer's monitoring and you get live dashboards, alarms and KPIs. I'm a senior engineer on the core product. Backend services, the stream, TimescaleDB, the alarm language, the APIs and the Next.js app. An SRE team runs the infrastructure and the deploys. I go to them when a feature needs something from that side.

- **Product:** Farsight APM
- **Company:** BaxEnergy (Yokogawa)
- **Model:** Multi-tenant cloud SaaS
- **Role:** Senior Full-Stack Software Engineer · Core Platform
- **Since:** Jun 2025

## What I worked on

- Backend microservices and APIs across .NET, Node.js and Python
- Kafka ingestion, TimescaleDB queries and KPI engines
- Compiler and evaluator for the alarm language; real-time alarms
- Next.js and React dashboards with live WebSocket updates

## Monitoring without a consultant

This kind of software is usually bought with a procurement process and a team of consultants. Farsight is meant to be signed up for. The things an integrator would set up by hand have to work for whoever just created an account, across plant types and manufacturers.

## Features on both sides of the API

I write the features. Backend services for monitoring, analytics, alarms, and the multi-tenant model of assets and portfolios. The APIs the app calls. Python analytics for wake, yaw, curtailment, solar soiling and performance indices have to show up in the product, so I wire those in. When something breaks across two services, I go find it. Infrastructure and deploys belong to SRE.

- Backend microservices and APIs in .NET, Node.js and Python
- Asset and portfolio management in a multi-tenant SaaS
- Analytics results integrated into the product
- Cross-service debugging and architectural input

## From the turbine to the browser in real time

Readings come off SCADA and the manufacturers' systems, through collectors, into Kafka, then into aggregation, time-series storage, and the live app. I've worked on the consumers, the aggregation, and the push out to connected clients, and on the consistency bugs that show up along that path. The app has to stay quick on a stream that never stops, and still answer questions about last year.

- Kafka-based ingestion and message-consuming services
- Real-time aggregation and processing
- Live updates to connected applications

## Live dashboards operators can actually use

The app is Next.js, React and TypeScript. Portfolio and asset pages, charts, filters, search, updates over WebSockets. A screen full of numbers that change every few seconds is the actual problem. Load less, ask the backend for less, and reuse the components so we don't invent a new chart every week.

- Real-time dashboards and charts over WebSockets
- Filtering, search and analytical views
- Faster data loading and better responsiveness

## Queries that stay fast as history grows

The readings live in PostgreSQL with TimescaleDB, at one-, five- or ten-minute intervals depending on who sent them. I work on how we read that: hypertables, continuous aggregates, and SQL that filters by asset and time without scanning the whole history. Dashboards, KPIs and reports all sit on it, across fleets of thousands of assets.

- Hypertables and continuous aggregates
- Historical queries tuned by asset and time range
- Data access for dashboards, KPIs and reports

## KPIs that stay correct when history changes

KPIs turn raw readings into production, availability and performance. The annoying case is the one that happens every week: someone changes a configuration, or history gets corrected, and a lot of assets have to be recalculated. I work on that calculation, including going back over old windows. Expensive history is computed once and stored, not again on every dashboard load.

## A small language for alarm rules

An operator writes something like 'this turbine is producing less than it should at this wind speed' in a small expression language, instead of filing a ticket and waiting for a developer. I've worked on the grammar, the compiler and the evaluator, against live signals and against history. It has to be right, and cheap, because it runs on the stream. A new rule is config. It doesn't need a deploy.

- Grammar, compiler and evaluation engine
- Conditions evaluated against live and historical signals
- Benchmarked and optimised for continuous evaluation

## Flexible rules, evaluated as data arrives

Some alarms are built in. Others are expressions over temperature, production, operating state, whatever the operator cares about. I work on creating them, evaluating them, and showing them in the app. People will write rules we didn't anticipate. Evaluation still has to keep up with the readings coming in.

> A change to telemetry processing can move a KPI. An alarm expression has to be right and cheap enough to run on every reading.

## Outcome

ESPx is a system you inherit. Farsight is one you can still see the edges of. A change in how telemetry is processed moves a KPI. An alarm expression has to be right, and cheap enough to run on every reading. The dashboard has to show a lot and stay quick. I work in that code, on both sides of the API.

**Stack:** C#, .NET 8 to 10, ASP.NET Core, Node.js, Python, FastAPI, TypeScript, Next.js, React, Ant Design, ECharts, Apache Kafka, Socket.IO, WebSockets, TimescaleDB, PostgreSQL, REST, AWS, Kubernetes

## Contact

- Work email: contact@semirhamid.com
- Anything else: hello@semirhamid.com
- Book a call: https://calendly.com/semirhamid
- CV (PDF): https://semirhamid.com/resume.pdf
- LinkedIn: https://www.linkedin.com/in/semirhamid
- GitHub: https://github.com/semirhamid
- Based in Addis Ababa, Ethiopia (UTC+3). Selective about senior roles and high-impact contracts. Remote.