Python: parallelism using multiprocessing and multithreading

Have been working with Python since last few months. Was building some small modules. Quite excited about my new learnings. Recently I’d developed a distributed parallel data import process by following the generic Pub-Sub pattern. Earlier I’d published a 3 tier design of the same, developed using PHP. Comparative to that, it’s a simpler 2 tier design and this time I developed the process using Python. Have used multiprocessing and multithreading to achieve parallelism.
Continue reading


Python: Socket programming server-client application using threads

Have been building some small modules in Python recently. While have been working there, got a requirement on Socket programming. Hence this is the post to demonstrate a basic example of server-client application.
Continue reading