Skip to main content

Posts

Featured

Concurrency in Web Development

What is concurrency? Concurrency can be defined as the ability to handle or execute more than one task at the same time. The two units of concurrency in programming are processes and threads.  According to a reading by HyperionDev on concurrency (HyperionDev, 2021) , processes are the instances of programs being executed and each process relies on: a register which is a part of the CPU used to hold data; a program counter which keeps track of the program sequence; and a stack which is responsible for storing information about the active subroutines in a computer program. Threads are units of execution within processes - they can be also referred to light-weight processes with their own threads. There are various methods in implementing concurrency however the traditionally these approaches are usually threaded or event based. Here's a brief list of these approaches   (Erb, n.d.) : Threaded-Based Server Architecture  - this approach is supported by many p...

Latest Posts