Fiber is a Python distributed computing library for modern computer clusters.

Kalinin Dmitry
1 min readMay 27, 2020

--

Instead of programming your desktop or laptop, now you can program the whole computer cluster. It was developed to power large scale parallel scientific computation projects like POET.

Features:

  • It is easy to use. Fiber allows you to write programs that run on a computer cluster level without the need to dive into the details of computer cluster.
  • It is easy to learn. Fiber provides the same API as Python’s standard multiprocessing library that you are familiar with. If you know how to use multiprocessing, you can program a computer cluster with Fiber.
  • It is fast. Fiber’s communication backbone is built on top of Nanomsg which is a high-performance asynchronous messaging library to allow fast and reliable communication.
  • It doesn’t need deployment. You run it as the same way as running a normal application on a computer cluster and Fiber handles the rest for you.
  • It it reliable. Fiber has built-in error handling when you are running a pool of workers. Users can focus on writing the actual application code instead of dealing with crashed workers.

Code example: Estimating Pi with Fiber

https://gist.github.com/null-none/896b5451735ed7202e86b1c0bf33ff10

--

--

Kalinin Dmitry
Kalinin Dmitry

Written by Kalinin Dmitry

Engineer. Constructivist. Lean manufacturing. Blockchain Enthusiast. IoT Enthusiast. https://github.com/null-none https://www.linkedin.com/in/kal1sha/

No responses yet