Active object concurrency pattern.
It has been a very long time since I have not published any blog. Most of my blogs are private. With this blog, I am starting my new blog series on patterns of distributed systems and multithreading . I believe I have done my homework, and now my private blogs are ready to go to the public domain. Along with this, I would like to share another good news. I have become a father today. I am enjoying my paternal leaves and hence got some time off from my work, so just chilling and shaping my blogs for sharing. Let's get back to business. Problem statement Think of a client-server request and response. The client being your cellphones and server being any online shopping app or travel portal app, or maybe another server which has many clients' requests. How will you make sure that your server would not block other clients while processing any client's request? Though your server is multithreaded, and you have created a separate thread to take clients' request...