Skip to content
David Cumps

Elise/Dice

  • Infrabel
  • 2014-2015

Elise/Dice is middleware I worked on at Infrabel, the Belgian rail infrastructure manager, between 2014 and 2015. It reads Belgian train movement as reported by Siemens trackside hardware, and makes it available to Infrabel’s backend systems so they can subscribe to what is happening on the track. I built it with Arne Dumarey, Koen Metsu, Martin Willey and Stijn Roosen; I led the gateway that talks to the Siemens hardware, and contributed to the core backend the rest of the team built.

Talking to Siemens hardware. The gateway is the part that runs next to the trackside equipment. It talks to Siemens’ Comman communication manager process through their ComAPI library, wrapped with P/Invoke, and runs separate TDS and MLM processes, each handling its protocol and handing messages to a dispatcher over named pipes. The dispatcher forwards them on to the core backend over HTTP, with its own heartbeat and monitoring so a stalled connection shows up straight away. I wrote most of this part myself.

Subscriptions, to CENELEC standards. The core backend is a set of ASP.NET Web API services on Entity Framework and SQL Server, with a subscription and response workflow: another system subscribes to a train or a track, and Elise answers with the position, situation and movement authority as the hardware reports them, over several message protocols including TDS, MLM and DICE, which gives the project its name. The EBP configuration itself can’t be edited directly in the database, since CENELEC, the European rail-safety standard, requires that to go through the proper administration tooling. Results are also published to Infrabel’s other systems over IBM MQ.

An operator’s dashboard. On top of the backend sits an Angular admin interface, built on GNaP, the toolset I built at Infrabel around the same time. It shows a dashboard, EBP statuses, subscriptions, MLM requests and message counters, with read-only, manager and administrator roles so only the right people can create or cancel a subscription or reset a stuck one.

Keeping the processes alive. Koen Metsu, Bert Cielen and Martin Willey built a watchdog on GNaP.Watchdog that kicks each TDS, MLM and dispatcher process on a timer and restarts it if it stops responding; I set up its initial project structure.

Technologies: C# 4.5, TDD, CENELEC, Scrum, Foreman, Clean Code, Named Pipes, P/Invoke, UMP, TDS, MLM, DICE, Siemens Comman, Web API, OWIN, Entity Framework, SQL Server, IBM MQ, Angular, GNaP, Dapper, MediatR, NLog, log4net, Git.

Stijn Roosen
A true polyglot programmer, David has a broad knowledge of what matters in today’s software engineering. I worked with him on several architecture projects and have found him to be thorough in his work, but pragmatic when needed. I can highly recommend David as he certainly will add value to your team.
Stijn Roosen, Software Architect, Greenfield Consulting
Koen Metsu
David is a highly motivated developer, ready to bring everything to the table to deliver maintainable quality software. Not only is David quick to understand problems and requirements, he’s very likely to know what the customer wants even before they know it themselves. He’s constantly training himself through deliberate practice, and will share what he learned with the team, improving not only the software but also the team around it. David is a true craftsman and our time as colleagues has been a pleasure. I’d immediately work with him again.
Koen Metsu, Software Engineer, KometSoft
Gert Servranckx
I’m glad to be working together with David. He is a highly skilled software engineer who introduced multiple new ideas to modernize architecture, improve software quality and team follow-up.
Gert Servranckx, .NET Solution Architect, Demareg

You May Also Like