CLRium # 6: Concurrency & Parallelism. Learning the magic of task parallelization
Our team is really excited: after all, we are at the stage of production of the most difficult seminar for us among all of us created: a seminar on multithreading, competitiveness and other related issues. We are a little afraid: we have created a huge process of internal coordination of reports, sources of information, we read, verify ... we correct ... and all this in order to make it useful for each level of training.
Our task sounds very simple: in two full days to teach you all layers of multithreading.

The seminar will be held: St. Petersburg, November 29-30, 2019. Moscow, December 06-07, 2019
First day program
- We will start with the operating system layer. 6 types of processes, threads, mention fibers (and explain why they are not in .NET). Two large reports that will decompose everything that is in the operating system;
- After the operating system, we’ll talk about CLR mechanics. It has many mechanisms on the basis of which many BCL classes work;
- Next, you will go to dinner to lay down the first layer of information ;
- After lunch, we will take up the BCL layer very tightly. Here are the synchronization primitives. And the complexity and importance of the complexity of algorithms and synchronization contexts. In general, two sound reports. Already at this stage you will feel that your investments will pay off at least on the current project, and in the future - on any interview;
- The third topic of the first day is lock-free algorithms. This is an essential part of our multithreading knowledge. Algorithms that work without locks. And in my humble opinion, it is best not to teach them . They need to understand how they work. This is what we will do: first, we will figure out how to put TK on our own to choose an algorithm based on the requirements. Next, we will analyze how the two algorithms work and, finally, we will independently develop another one.
Second day program
When you get enough sleep (this must be done: the brain assimilates all the information received during sleep) and you come to the seminar, its second part will begin:
- Introductory report on asynchronous APM and EAP models in CLR / BCL. Who says they are out of date? Everything new is well-forgotten old, which means the old must not be forgotten: the spiral of development will return to it more than once;
- Functional approach to the development of asynchronous code. Functionality - it is not only in F #. We will understand how to write code in such a way so that it can be easily parallelized and so that it entails the least amount of both locks and allocations;
- Again, to reduce the heat in our heads, we will rest at dinner. Let's talk, change the context.
- After lunch, we will go polish our knowledge. These will be: PLINQ, async / await, the mechanisms of their work.
Justify the employer
If you want to save personal funds and contact your employer, but you don’t know how to do this, below I have prepared a short text that can be used by sending a letter to the management:
Good day,
Yuri Ivanovich, today I would like to contact you with a small request. A very important seminar is taking place in our city, which I would like to attend. The topic of the seminar correlates with our tasks and will greatly help in their solution: this is multi-threading and competitiveness. I, like every employee, have many tasks both at work and at home. And therefore it is very difficult to find time for self-development: at home you still want to do life tasks, and at work - work. Therefore, the presence of such a seminar is a good opportunity to find time to listen and use material that someone chewed for you and told only the most important things.
The seminar lasts two days: November 29-30 / December 06-07. But, on the one hand, the material that would be issued in two days during the usual study from a variety of sources would take at least a month, and on the other hand, the dates of the seminar were chosen quite well: all New Year’s rumors, if any, will begin later. Also, during the New Year holidays I will be able to listen to all the reports in the recording, which will strengthen my knowledge.
There is his announcement on Habré: https://habr.com/ru/company/clrium/blog/460635/
And the workshop itself: CLRium
Plus for jur. persons we have the same prices as for individuals. persons.
Contacts
Source: https://habr.com/ru/post/465081/
All Articles