My Shitty Code

Embracing the Messiness in Search of Epic Solutions

Tag: GPars

  • Groovy + GPars: Handling Concurrency

    PROBLEM Let’s assume given a list of user IDs (ex: 1, 2, 3, 4, and 5), we need to query 2 data sources to get the names and the addresses before returning a list of Employee objects. The Employee class looks like this:- We are going to explore multiple solutions to implement lookup(..) to run […]