Logbook 2022-29

Projects Cloud Events cloudevents.io is somehow what AsyncAPI is for an API. You might even use them together under certain circumstances. It specifies a common format for event data. Most of the messaging tools come with their own protocol. This makes interoperability challenging. Cloud events creates one specification wrapping the protocol specifics in an envelop like fashion. This way event handling code can remain independent from a specific messaging protocol. It specify both binary and non-binary messages Supporting specifications contain AMQP,Kafka, MQTT, WebSockets,Avro,Protobuf and many more SDKs are currently available for Go, JavaScript, Java, C#, Ruby, PHP, PowerShell, Rust, and Python....

Thu, Jul 21, 2022 (last update:Thu, Jul 21, 2022) · 1 min · blog.hongkongcoder.com · 

Logbook 2022-28

Tools replibyte replibyte is a simple tool to transfer database dumps from one host to another one(i.e. from local to the remote cloud host). It creates a repository of possible encrypted and compressed dumps by date, hence I can choose which dump to restore. This abstracts the use of native tools for postgres, mysql or mongodb (yes it also supports mongodb). An important additional feature is the option to transform sensitive data on the fly....

Sun, Jul 17, 2022 (last update:Mon, Jul 18, 2022) · 2 min · blog.hongkongcoder.com · 

ADR - Describe Your Architecture

Your application has an architecture even if it was accidential. A typical scenario Imagine an everyday situation. A team is working on a green field project solving a non trivial problem. The team is experienced, conducting proper testing and documents all public APIs. Time passes and the team structure changes. New developers are coming in, others leaving. A new developer might wonder why API calls were implemented synchronously and extends the software using asynchronous one; since asynchronous communication is the new best practice she is convinced…....

Sat, Jul 16, 2022 (last update:Sat, Jul 16, 2022) · 9 min · blog.hongkongcoder.com · 

Logbook 2022-27

Projects level3.rest level3.rest gives a clear written out specification how to make any state-oriented API work. It follows RFCs and HTTP specs as well as best practice to specifying the client-server interaction describing allowed methods,headers and payload and many more. Common API design problems are described in Patterns. Profiles provide the client a specific description howto interact with the API.There are profiles for all common use cases like Forms, Actions and many more....

Mon, Jul 4, 2022 (last update:Fri, Jul 8, 2022) · 1 min · blog.hongkongcoder.com · 

Quarkus - In A Nutshell

The Quarkus framework is a Kubernetes native java stack, incredible quick start up times and build on strong standards like the Micro Profile. You might wanna give it a try if you use java for small footprint services running on Kubernetes, Openshift or similar. Comparison with traditional frameworks “Java is slow and a memory hog”. That reputation makes java often seen as inferiour choice when it comes to small services running on the cloud....

Fri, Jul 1, 2022 (last update:Sat, Jul 2, 2022) · 7 min · blog.hongkongcoder.com ·