Skip to content
Ákos Kappel
Language: en
Theme
Light
Dark

Core3

Business platform with nine modules, from project management to a warehouse. I started the ticketing and HR modules, work mainly on project management and build features across the platform.

  • Since February 2025
  • 9 modules
  • Team of 8
  • Started 2 modules

About the project

Core3 is a modular business platform built with Elixir and Phoenix LiveView. Its modules cover project management, ticketing, HR, attendance, finance, CRM, employee benefits, planning and a warehouse, on a shared core with settings, search and permissions. I work on it in a team of 8 developers.

I joined in February 2025 as an Elixir developer and have worked in every module since. I started the ticketing and HR modules from scratch, project management is my main area, and I also build features for attendance, finance, CRM and the shared core.

Modules and my part

  • Project managementMain area
  • TicketingStarted it
  • HRStarted it
  • AttendanceBuilt features
  • FinanceBuilt features
  • CRMBuilt features
  • Shared coreBuilt features
  • BenefitsSmall changes
  • PlanningSmall changes
  • WarehouseSmall changes

What I did

  • Project management, my main area, where I am the second largest contributor: kanban boards with drag and drop and status rules, task permissions for creators, assignees and project leads, Scrum and Waterfall workflows, the task detail drawer, project spaces and activity feeds
  • Ticketing, which I started and where I wrote the largest share: ticket types and statuses, the service desk, a form for new tickets, assignment, a watchlist and rich-text comments that update live
  • HR, which I also started, as the second largest contributor: payroll and time sheet approvals with steps you can go back to, employee funds created from approved payroll, contract validation and end-to-end tests for the approvals
  • Attendance, finance and CRM: home office planning by month and team, invoice filters kept in the URL, drag-and-drop attachments, and links between customers, projects and cost centres
  • Benefits, planning and warehouse: smaller changes, mostly shared fixes such as safe search and caching
  • Shared core: dynamic settings with caching and a screen to manage the cache, audit logs, an error dashboard, fuzzy search by record ID, form components in Storybook, a PDF viewer and the first PWA setup
  • Across modules: found and fixed the slowest pages, moved real-time updates to one PubSub, and documented async loading with infinite scroll for the team, along with loading skeletons, optimistic UI and type-safe URL parameters

Where the time went

Users complained about slow pages, so I profiled them with flame graphs before changing anything. These are the times measured before the fixes:

  • Opening a project2,186 ms · 303 queries

  • Loading the task list726 ms · 77 queries

  • Opening a task's details454 ms · 73 queries

On the project page, about 1.4 seconds went to labels looked up one by one, more than 30 times, and most of the rest to loading project spaces. The fixes batch these lookups, compute the labels inside the database query and cache what rarely changes.

Key decisions

  1. Profile first, then fix

    Users only said the pages were slow. Flame graphs showed where the time went: hundreds of small queries, many repeating the same lookup for each row. That pointed to batching and caching instead of rewriting the pages.

  2. One PubSub with ordered updates

    Real-time updates came through several channels and could arrive out of order, so an older update sometimes replaced a newer one and the screen flickered. I moved them to one shared PubSub and made sure an older message never overwrites a newer one.

  3. Caching with invalidation designed in

    Caching labels and settings removed many queries, but a stale cache is worse than a slow page. Every cached entry is cleared when its data changes, and administrators can see and clear the cache in the app.

Lessons learned

  • Measure before optimizing. The profile, not a guess, decided what to fix first.
  • In a large codebase, a written-down pattern such as infinite scroll helps the whole team build the same thing the same way in every module.
Company
IGT Systems
Role
Started the ticketing and HR modules, own project management and fixed the slow pages users had complained about
Team size
8