SanjuroE's blog
  • About
  • Resources
    Beautiful Jekyll Learn markdown

SanjuroE's blog


Thoughts on JavaSecOps

Writing an unmarshaller by hand

An example of code generation at code-time

Posted on April 11, 2021

In this blog we will write a small unmarshaller by hand at code-time and measure its performance. This blog is part 1 of 4, the series consists of the following posts: Writing an unmarshaller by hand Constructing an unmarshaller using reflection (to be written) Generating an unmarshaller using annotations (to... [Read More]
Tags: java

Multiple Redis databases on Debian

Running multiple Redis instances on a Debian host

Posted on April 3, 2021

Occasionally you may want to run multiple Redis database on the same host. Redis has a concept of databases, however these are less like a traditional database, and more like a namespace. Redis databases have a number of drawbacks: Redis databases have a number (typically 0-15) rather than a name... [Read More]
Tags: ops

Phases for generating code

Code-time, compile-time, deployment-time, and run-time

Posted on March 27, 2021

Code is generated at many phases during the development & deployment cycle. Everyone is familiar with compile-time at which the compiler generates (byte)code. However code is generated at other times/phases as well. In this post I divide code generation into four phases. I will also discusses some of the benefits... [Read More]
Tags: java

Time sync KVM guest on Debian

Using PTP to synchronize the time of a KVM guest VM

Posted on March 14, 2021

Synchronizing the time inside KVM guests is essential for a large number of reasons, including correlating logs from multiple guests and Maildir locking. When a KVM guest start up it is provided with the host clock. This is used initialize the clock of the guest to the correct time. On... [Read More]
Tags: ops
  • RSS
  • Email me
  • GitHub
  • Twitter

Sanjuro  •  2021  •  SanjuroE.dev

Powered by Beautiful Jekyll