The LHCb trigger system used in the LHC RUN1 and RUN2 consisted of a hardware level, reducing the LHC bunch-crossing rate of 40 MHz to 1 MHz, a rate at which the entire detector was read out. A second level, implemented in a farm of around 20k parallel processing CPUs, the event rate was reduced to around 12.5 kHz. The LHCb experiment is undergoing a major upgrade of the detector, the DAQ system and the computing farm during the LHC long shutdown II (2018-2019 ).
In this upgrade, a purely software based trigger system is being developed and it will have to process the full 30 MHz of bunch crossings with inelastic collisions exploiting multi-threading and parallel processing in real-time. LHCb will also receive a factor of 5 increase in the instantaneous luminosity, which further contributes to the challenge of reconstructing and selecting events in real time with the CPU farm. I will discuss the progresses achieved in the LHCb event software and real time event reconstruction in the recent years, the plans and the progresses towards the commissioning of the LHCb upgrade and the plans beyond the LHCb upgrade.