Flix Interview Question

how would you design an even based system?