Quantcast
Channel: Concurrency on A Foo walks into a Bar... - blog by Paul Shved - coldattic.info
Browsing latest articles
Browse All 12 View Live

Easy parallelization with Bash in Linux

Easy parallelization with Bash in Linux Two articles that show how concurrency can be utilized for bash scripting. Part 1 - pipes and xargs thread pool Part 2 - process substitution and flocks I love...

View Article



Easy parallelization with Bash in Linux, part 2

Easy parallelization with Bash in Linux Two articles that show how concurrency can be utilized for bash scripting. Part 1 - pipes and xargs thread pool Part 2 - process substitution and flocks In the...

View Article

Why execve()-like system() call is a must-have

How do you usually call an external program in Linux? Whichever language you use, you may fork() your process, and call exec() afterwards; you runtime library surely supports these primitives. However,...

View Article

Pipes in Linux and in The Real World

Linux pipes and open3 Three articles on how open3 is implemented in Linux, and how it is properly used Pipes in Linux and in The Real World — introduction to the concept of pipes How to Implement Open3...

View Article

How to Implement open3

Linux pipes and open3 Three articles on how open3 is implemented in Linux, and how it is properly used Pipes in Linux and in The Real World — introduction to the concept of pipes How to Implement Open3...

View Article


How to Use Open3 and Avoid Dead Locks

Linux pipes and open3 Three articles on how open3 is implemented in Linux, and how it is properly used Pipes in Linux and in The Real World — introduction to the concept of pipes How to Implement Open3...

View Article

Ruby on Rails Errors and Solutions

When you develop something in Ruby on Rails, you will most likely encounter strange errors here and there. These errors may look like language or framework bugs, but they are not. Most likely, they are...

View Article

Counting Visits Efficiently with "Wide Caching"

One of the features of the web forum engine, a clone of which I develop in Ruby on Rails, is that it displays some site usage statistics. There are two kins of statistics it displays. First, it tracks...

View Article


Consistency Models Explained Briefly

Wikipedia used to do a pretty bad job at explaining the theoretical foundations behing the different consistency models of multithreaded/distributed systems. Especially cryptic was the definition of...

View Article


A Mutex Puzzle

I wrote earlier that I know very few decent programming puzzles. To be more precise, I know one, The Prisoners Riddle. So I was reading that The Art of Multiprocessor Programming book (I already made a...

View Article

Multithreaded Consensus Versus Practice

Many programmers complain that most of what they've learned in their universities is completely useless in their daily work. Anecdotal evidence, a survey among some MIPT alumni, suggests that the...

View Article

How Reader Mutexes Can Deadlock

Sample Deadlock Translucent areas depict waiting for something; incomplete lock statements have dashed border. Note that it doesn't matter in which order the top two acquisitions are made. Can a...

View Article
Browsing latest articles
Browse All 12 View Live




Latest Images