HNHacker News
TopNewBestAskShowJobs

nicolast

1,108 karma · joined December 19, 2011

Multi-language, multi-paradigm hacker, spreading noise using @eikke, formerly working at @Scality on #Kubernetes and #OSS projects.
submissionscomments
nicolast··on The Paxos algorithm for consensus in a distributed system
http://www.arakoon.org uses (Multi-)Paxos. Version 2.0 in development at https://github.com/Incubaid/arakoon (e.g. see https://github.com/Incubaid/arakoon/blob/2.0/src/hope/mp.ml for the state machine implementation).
nicolast··on The Game of Distributed Systems Programming. Which Level Are You?
Why would CSP be 'synchronous'? There's a difference between how things appear (API) and how the implementation works: it's certainly possible to have an API which looks synchronous, yet everything is async at runtime. Think about Haskell's do-notation with GHC's IO manager, the Erlang approach, something like Gevent/Greenlets in Python,...
nicolast··on The Game of Distributed Systems Programming. Which Level Are You?
The 'timeout' as referred to in the list of possible actions ('schedule a timeout') refers to the timeout mechanism used to implement master election in Arakoon, our product on which some of the experience in the article is based, where we attempt to be at level 3 in the rewrite we're currently working on.

When this action is evaluated (in the impure part of the system), an action will be scheduled with the threading system for execution sometime later, at which point some new message will be sent through the machinery, just like any other message received from another node on the network.

It's not about timeouts on message transmission or anything alike.

nicolast··on Metaprogramming custom control structures in C
I did something quite similar to this in [1] and [2] some time ago.

[1] https://github.com/Incubaid/crakoon/blob/master/src/arakoon.... [2] https://github.com/Incubaid/crakoon/blob/master/src/arakoon....

nicolast··on Let - lets you run a node.js script a specified amount of time.
Oh, so that's something like timeout (as distributed in coreutils on GNU/Linux systems, and according to man pages available on the web also on *BSD etc)?

  $ timeout -s 9 5s md5sum /dev/zero
  Killed
← PreviousPage 3 of 3