Exception handling in parallel Tasks

In a previous post we discussed about parallel VS serial execution of asynchronous operations. This time instead we’ll see how to properly do exception handling in parallel Tasks. Let’s suppose you have a bunch of network calls to do, maybe to some microservices. Maybe you’re in an API Gateway and...

2 minute read

Serial vs Parallel task execution

This time let’s talk a bit about the difference between serial and parallel task execution. The idea is simple: if we have two or more operations depending one from another (eg. the result of one goes as input into another), then we need to run them in serial, one after...

2 minute read

Know your data structures – List vs Dictionary vs HashSet

Are there any cases when it doesn’t really matter how your data is structured, as long as you’re fulfilling the task at hand? Or is it always important to use the perfect data structure for the job? Let’s find out! Those collections have quite different purposes and use cases. Specifically,...

3 minute read