correlation-ids

correlation-ids

- The Value of Correlation IDs
https://blog.rapid7.com/2016/12/23/the-value-of-correlation-ids/
- Correlation IDs for microservices architectures
https://hilton.org.uk/blog/microservices-correlation-id
- Implementing correlation ids in Spring Boot (for distributed tracing in SOA/microservices)
https://taidevcouk.wordpress.com/2014/05/26/implementing-correlation-ids-in-spring-boot/
- Best Practices for Building a Microservice Architecture (#correlation-ids)
https://www.vinaysahni.com/best-practices-for-building-a-microservice-architecture#correlation-ids


Source: commit 34ecb3d in My-Notes.

Kibana Filters

Kibana Filters

tomcat

message: Written [{“sp”:{“success”:false,“code”:57013,“message”:“java.lang.NullPointerException ZRESIDENCE.TRANSACT.fci_complete_with_get_budget{p_term_code=202020, p_pidm=12345678}”},“stz”:{“success”:false,“code”:-1,“message”:“NOT_CALLED”}}] as “application/json” using [org.springframework.http.converter.StringHttpMessageConverter@bdc8014]

log.file.path: /opt/tomcat/embedded/contex-path/logs/service.log

host.name: node#.tomcat.freedom.edu

container: contex-path

application: contex-path

log_type: tomcat

web log

request.path = [/contex-path/end-point]

request.status = HTTP STATUS CODE (200 201 404 401)

request.worker.name = sb_[jcpport]

source = /var/log/httpd/access_log

topic = apache

request.domain = http://www.freedom.edu

request.method = POST


Source: commit 2bdf6a3 in My-Notes.

RAMCloud

RAMCloud
https://github.com/PlatformLab/RAMCloud

What is RAMCloud?

RAMCloud is a new class of super-high-speed storage for large-scale datacenter applications.
It is designed for applications in which a large number of servers in a datacenter need low-latency access to a large durable datastore.
RAMCloud offers the following properties:

Low latency: RAMCloud keeps all data in DRAM at all times, so applications can read RAMCloud objects remotely over a datacenter network in as little as 5μs. Writes take less than 15μs. Unlike systems such as memcached, applications never have to deal with cache misses or wait for disk/flash accesses. As a result, RAMCloud storage is 10-1000x faster than other available alternatives.
Large scale: RAMCloud aggregates the DRAM of thousands of servers to support total capacities of 1PB or more.
Durability: RAMCloud replicates all data on nonvolatile secondary storage such as disk or flash, so no data is lost if servers crash or the power fails. One of RAMCloud’s unique features is that it recovers very quickly from server crashes (only 1-2 seconds) so the availability gaps after crashes are almost unnoticeable. As a result, RAMCloud combines the durability of replicated disk with the speed of DRAM. If you have used memcached, you have probably experienced the challenges of managing a second durable storage system and maintaining consistency between it and memcached. With RAMCloud, there is no need for a second storage system.
Powerful data model: RAMCloud’s basic data model is a key-value store, but we have extended it with several additional features, such as:
Multiple tables, each with its own key space.
Transactional updates that span multiple objects in different tables.
Secondary indices.
Strong consistency: unlike other NoSQL storage systems, all updates in RAMCloud are consistent, immediately visible, and durable.
Easy deployment: RAMCloud is a software package that runs on commodity Intel servers with the Linux operating system. RAMCloud is available freely in open source form.

looselytyped/practical-docker

looselytyped/practical-docker
Demo code for my O’Reilly “Practical Docker” presentation
Shell repository by looselytyped, created in 2018, with 120 stars and 146 forks. Starred on 2020-01-30.
https://github.com/looselytyped/practical-docker


Source: starred on GitHub on 2020-01-30: looselytyped/practical-docker.

RAMCloud

RAMCloud
https://github.com/PlatformLab/RAMCloud

Comment on 2020-02-03:
https://github.com/emecas/My-Notes.git

commit fb20cff4ee0fdd786c8d8fa276929452fcf1cbb7
Author: Castaneda, Emerson <emecas@users.noreply.github.com>
Date: Mon Feb 3 11:17:23 2020 -0500

RAMCloud [storage] [deprecated] [opensource] [low-latency]

Issue #2 in emecas/commitit, closed, opened on 2020-01-30.
https://github.com/emecas/commitit/issues/2


Source: issue #2 in emecas/commitit, opened on 2020-01-30.

docker issue fix

docker sudo issue fix
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.39/containers/json: dial unix /var/run/docker.sock: connect: permission denied
Solution: https://techoverflow.net/2017/03/01/solving-docker-permission-denied-while-trying-to-connect-to-the-docker-daemon-socket/
> sudo usermod -a -G docker $USER


Source: commit e34b4b6 in My-Notes.