Analytics & Monitoring
In productionActivity Monitoring
A platform activity monitoring system that aggregates user activity into dashboards for operational visibility.
Software Engineer at PT Bank Mandiri (Persero) Tbk. · April 2022 - July 2024
Internal bank system. The diagrams show the structure only: no production data, screenshots or code are shown.
10 -> 2,400
User Adoption
2,400
Weekday Active Users
3,000-6,000+
Reported Records / Transactions
1-3
Requests / Second
At a Glance
- Problem
- Stakeholders had no view of user and transaction activity, and no message queue was available.
- What I built
- An in-memory queue feeding pre-calculated PostgreSQL aggregates behind an activity dashboard.
- Result
- Rolled out from a 10-user test group to 2,400 weekday active users.
Screens
(open full-size Activity Monitoring screenshot)
(open full-size Activity Monitoring screenshot)
(open full-size Activity Monitoring screenshot)The Problem
Business stakeholders needed visibility into user activity and transaction-related activity across the platform, while the available environment did not provide external message-queue infrastructure.
My Role
Delivered the initial analytics foundation as the sole developer, then contributed as technical lead for the follow-on activity monitoring and dashboard implementation.
Architecture
The monitoring system collects activity information through an in-memory queue, prepares reporting data through PostgreSQL aggregation, and exposes the resulting data to the activity dashboard.
Platform Activity
User and transaction-related activity generated by the platform.
In-Memory Queue
HashMap-based queue used because external message-queue infrastructure was not available.
PostgreSQL
Pre-calculated aggregations prepared for reporting and dashboard queries.
Activity Monitoring Dashboard
Dashboard providing activity visibility for business stakeholders.
Engineering Decisions
In-memory queue
Used a HashMap-based in-memory queue because external message-queue infrastructure was not available.
Trade-off No broker to run, but queued events live in the application's memory until they are written out.
Pre-calculated aggregation
Used PostgreSQL aggregations to prepare reporting data efficiently for dashboard consumption.
Trade-off Dashboards read quickly, but the aggregates have to be refreshed as new activity arrives.
Gradual rollout
Introduced the system incrementally, beginning with a 10-user test group before expanding to the broader user base.
Trade-off Slower to reach everyone, but each stage was proven on a smaller group first.
What I Built
- Delivered the initial productivity monitoring foundation as the sole developer in 2 months.
- Built the activity reporting mechanism using an in-memory HashMap-based queue.
- Implemented PostgreSQL pre-calculated aggregations for dashboard reporting.
- Led a 3-person cross-functional team during the follow-on Activity Monitor and Dashboard Reporting implementation.
- Supported a gradual rollout from an initial 10-user test group to 2,400 weekday active users.
Constraints
- External message-queue infrastructure was not available.
- The initial analytics foundation had to be delivered within 2 months.
- The system needed to support a substantial increase in active users during rollout.
Outcome
The monitoring system grew from a 10-user test rollout to 2,400 active weekday users, using an in-memory queue and pre-calculated PostgreSQL aggregations for dashboard reporting.
For Engineers
2 months
To Deliver the Foundation, Solo
3
People Led on the Dashboard Follow-On
0
External Message Brokers Needed
Quality & Security
- Rolled out in stages, each proven on a smaller group before expanding, from a 10-user test group to 2,400 weekday active users.
- Dashboards read pre-calculated PostgreSQL aggregates, so reads stay quick as activity grows.
- Reported load: 3,000 to 6,000+ records or transactions, at 1 to 3 requests per second.
Technology
For Clients
Need to see how your platform is actually used?
What I can build for you, based on this project:
- Activity and transaction dashboards for business stakeholders
- Reporting pipelines on Java / Spring Boot and PostgreSQL
- Staged rollouts, from a pilot group to the full user base
Downloads