Concurrency and parallelism of processes, threads and fibers in a network communication: simultaneous of requests and services, internal parallelism of request and service processes, concurrency in control flows. Communicating processes, inter-process communication, parallelism and concurrency. Languages for programming of distributed and telecommunication systems: process definition, sychronous and asynchronous communication, real time, continuous of operations, deadlocks, stagnation, multithreaded safety, liveness. Parallelism of processes, threads and fibers and scheduling of tasks. Principles of concurrent functional, reactive and distributed programming. Concurrency in object oriented and functional languages. Synchronisation and coordination mechanisms. Reactive programming. Programming languages Erlang and Java.
- recognize different types of concurrency
- explain concurrency mechanisms
- apply concurrency mechanisms in software
- analyze different problems in concurrent programs
- combine different mechanisms and develop program
- compare good and bad properties of some solution
Forms of Teaching
attending lecturesIndependent assignments
homeworkMultimedia and the internet
solving exercise in laboratory
|Type||Threshold||Percent of Grade||Threshold||Percent of Grade|
|Laboratory Exercises||4 %||20 %||4 %||20 %|
|Homeworks||0 %||10 %||0 %||0 %|
|Mid Term Exam: Written||0 %||30 %||0 %|
|Final Exam: Written||0 %||30 %|
|Final Exam: Oral||10 %|
|Exam: Written||0 %||60 %|
|Exam: Oral||10 %|
In oral exam (on final exam or normal exam) minimum is 50% for passing.
Week by Week Schedule
- Introductory considerations. Programming languages - concurrency and parallelism. Development of programming languages, types and features of languages from the point of view of application. Network management levels, models of processor and software systems.
- Processes and interprocess communication by exchanging messages. Presentation of parallelism in programming languages, communication and synchronization.
- Introduction to the Erlang programming language. Data types. Pattern matching. Modules and functions. Recursion. Branching. Higher order functions.
- Concurrent programming in Erlang. Creating a process. Selective and non-selective receiving of messages. Time control, registered processes. Exceptions.
- Distributed programming in Erlang language: Erlang in Docker, distributed mechanisms, robustness, process links, distributed process registration.
- Erlang programming forms: OTP, network server, RabbitMQ
- Concurrency in object-oriented languages. Concurrency in Java. Threads in Java, their states, priorities, groups, selfish threads.
- Midterm exam
- Concurrent programming in Java. Synchronization and multithreaded mechanisms (counting semaphor, synchronization of data collections, queue synchronization, data exchanger, barrier, ...)
- Application of coincurrent mechanisms in Java, graphics, network server, alarms.
- Web server concurrency: Spring Boot, connection pools, web service calls, message queues
- Reactive programming and performance
- Case study: industry experiences and new trends
- Final exam
Audio Technologies and Electroacoustics (profile)Free Elective Courses (1. semester)
Communication and Space Technologies (profile)Free Elective Courses (1. semester)
Computational Modelling in Engineering (profile)Free Elective Courses (1. semester)
Computer Science (profile)Free Elective Courses (1. semester)
Control Systems and Robotics (profile)Free Elective Courses (1. semester)
Data Science (profile)Free Elective Courses (1. semester)
Electrical Power Engineering (profile)Free Elective Courses (1. semester)
Electric Machines, Drives and Automation (profile)Free Elective Courses (1. semester)
Electronic and Computer Engineering (profile)Free Elective Courses (1. semester)
Electronics (profile)Free Elective Courses (1. semester)
Information and Communication Engineering (profile)Free Elective Courses (1. semester)
Software Engineering and Information Systems (profile)Free Elective Courses (1. semester)
Telecommunication and Informatics (profile)Specialization Course (3. semester)
J. Armstrong (2013.), Programming Erlang: Software for a Concurrent World, (2nd edition), Pragmatic Bookshelf
D. Lea (1999.), Concurrent Programming in Java – Design Principles and Patterns, (2nd edition), Addison Wesley
B. Codenotti, M. Leoncini (1992.), Introduction to Parallel Processing, Addison-Wesley Longman
J. Armstrong, R. Virding, C. Vikstroem, M. Williams (1996.), Concurrent Programming in Erlang, Prentice-Hall Europe
B. Goetz, T. Peierls, J. Bloch, J. Bowbeer, D. Holmes, D. Lea (2006.), Java Concurrency in Practice, Addison-Wesley Professional
I. Lovrek, G. Ježić, S. Dešić, M. Kušek (2017.), Konkurentno programiranje, FER - https://www.fer.unizg.hr/_download/repository/Konpro-2017.pdf
L3 English Level
8 Laboratory exercises
75 Very Good