- Raftという分散合意アルゴリズムの紹介
- 論文: In Search of an Understandable Consensus ALgorithm (Extended Version)
- Raft三日目くらいの人が自分の理解をもとに(適当に)書いています
| module Main where | |
| main = Debug.Trace.trace ("module Main where\n\n" ++ code ++ "\n where code = \"\"\"" ++ code ++ "\"\"\"") | |
| where code = """main = Debug.Trace.trace ("module Main where\n\n" ++ code ++ "\n where code = \"\"\"" ++ code ++ "\"\"\"")""" |
| 日時: | 2025-03-02 |
|---|---|
| 作: | 時雨堂 |
| バージョン: | 2025.1 |
| url: | https://sora.shiguredo.jp/ |
| // Example of how to use boost::asio::async_result | |
| #include <iostream> | |
| #include <boost/asio.hpp> | |
| #if BOOST_VERSION >= 106600 | |
| template<typename CompletionToken> | |
| typename boost::asio::async_result | |
| <CompletionToken, void(boost::system::error_code, std::string)>::return_type |
node.js でパスを取得する方法についてのメモ
$ node ~/hoge/Foo.js/a.jsを実行したときに、
process.argv[1] から、node コマンドに指定された a.js のパス( ~/hoge/Foo.js/a.js )を取得できます| (ql:quickload :parenscript) | |
| (ql:quickload :cl-who) | |
| (ql:quickload :clack) | |
| (in-package :ps) | |
| (defvar *canvas-id* "alien-canvas") | |
| (clack:clackup | |
| (lambda (env) | |
| (list 200 | |
| '(:content-type "text/html") | |
| (list |
| (use 'infixing.core) | |
| (defn >>= [l f] (apply concat (map f l))) | |
| (def mzero (list)) | |
| (defn return [x] (list x)) | |
| (def macro-combinator-rule | |
| (rules | |
| (infix-map 11 := (fn [x a] (fn [b] `(let [~x ~a] ~b)))) | |
| (infix-map 0 :in (fn [m a] (m a))) |
原題:Dynamo: Amazon’s Highly Available Key-value Store
原文: Amazon's Dynamo - All Things Distributed (PDF Version)
This article is translated by @ono_matope. Please contact me if any problem.