Sobes.tech

How can a variable be changed from multiple threads without synchronization primitives? What are atomic operations and how are they related to multithreading?

247

What is MVCC in PostgreSQL and how does it affect the performance of SELECT after a large number of UPDATE/INSERT/DELETE operations?

196

What is the algorithmic complexity of search in List and Dictionary? How is the Dictionary implemented internally?

163

Is it possible to bind a variable to a thread/task so that each task stores its own value? What are ThreadLocal and AsyncLocal?

156

What will happen if two threads simultaneously add values to a variable without synchronization primitives? What could be the results?

149

How does the async/await construction work? In which thread is the code after await executed?

140

What is the complexity of inserting into a List and Dictionary? What are collisions in dictionaries?

132

How to write text to a file simultaneously from two different tasks? How to synchronize access?

122