Haskell String Types Convertion

Original source code is here: https://github.com/hi-ogawa/haskell_playground/pull/15 {-# LANGUAGE OverloadedStrings #-} module StringConversions where import qualified Data.ByteString as B import qualified Data.ByteString.Char8 as BC import qualified Data.ByteString.Lazy as BL import qualified Data.ByteString.Lazy.Char8 as BLC import qualified Data.Text as T import qualified … Continue reading

Distributed system

Experiments Database Clustering: https://github.com/hi-ogawa/database_cluster etcd: https://github.com/hi-ogawa/etcd_experiment Reference Basic Concept: CAP, ACID, BASE https://www.infoq.com/articles/cap-twelve-years-later-how-the-rules-have-changed Algolia case study: http://highscalability.com/blog/2015/3/9/the-architecture-of-algolias-distributed-search-network.html https://blog.algolia.com/inside-the-algolia-engine-part-1-indexing-vs-search/ https://medium.com/@algolia/algolia-s-fury-road-to-a-worldwide-api-c1536c46f3a5#.3ig3j3ves PostgreSQL: https://www.postgresql.org/docs/9.5/static/high-availability.html https://www.digitalocean.com/community/tutorials/how-to-set-up-master-slave-replication-on-postgresql-on-an-ubuntu-12-04-vps https://cloud.google.com/solutions/setup-postgres-hot-standby MongoDB: https://docs.mongodb.com/manual/core/replication-introduction/ Reading RAFT Algorithm Paper (still reading) RAFT algorithm: https://raft.github.io/ Paper: https://raft.github.io/raft.pdf kinds of failure server … Continue reading