You are given a VM and tomcat server. Design a optimized Task executor system. Feel free to add or change anything. Question was completely open ended and interviewer were mostly looking for what different design solution(s).
Please share any thoughts on how to approach, happy to learn.