Monthly Archives: May 2019

Kafka – Docker compose example for Kafka

Kafka docker compose example. Please set value of KAFKA_ADVERTISED_HOST_NAME for local host IP address.

Posted in kafka, Programming | Leave a comment

Time – days of clock vs Monotonic clocks

Getting days of clocks – Linux: clock_gettime(CLOCK_REALTIME) – Java: System.currentTimeMillis() Getting monotonic clocks – Linux: clock_gettime(CLOCK_MONOTONIC) – Java: System.nanoTime() It’s important to know difference between days of clocks and monotonic clocks because days of clocks is measured from a certain … Continue reading

Posted in Programming | Leave a comment

Database – Partitioning name in various database

Various database called partitioning in various name. It’s interesting but they are all same. HBase: region Cassandra: vnode MongoDB: shard Elasticsearch: shard Bigtable: tablet Riak: vnode Couchbase: vBucket

Posted in Programming | Leave a comment

Reactive Stream – Example of implementation of Publisher

View at Medium.com

Posted in Programming | Leave a comment

Reactive Programming

It is worth to read through The Reactive Manifesto definition. https://www.reactivemanifesto.org/glossary

Posted in Programming | Leave a comment