How to maintain unique log event identifiers

Logs have been around to troubleshoot issues in software systems since ever. They are a bottomless source of information on how things run under the surface. Logs contain a time stamp and a message at least, but more advanced cases imply other metadata associated with a log record. In this article I will focus on event IDs. Event IDs are a perfect way to distinguish events by types. It would make sense if all IDs were unique within the system being developed and if all IDs were bound to a specific code execution path. Now, lets see how we can have the event IDs unique.

Read More »

Having a proper REST

Today’s article is devoted to REST API. I will try to keep it as short as possible and simple as possible targeting people who are new to this concept. So if you have had experience with REST then you are very likely to find here lots of stuff that you already know. The article gives the essential crisps and bits of understanding what a good REST implementation might look like.

Read More »

How to handle config changes in consul

It is common to have dedicated systems to manage configurations for distributed applications. One of the options to do so is to have a consul running and serving key-value pairs to all the application instances interested in reading them. Usually the configuration is used during the application startup, but sometimes configurations change and applications need to obtain the latest data to act accordingly. In this article I will show how you can use consul API to listen to configuration changes.

Read More »

Hello world

I’ve been in software engineering for quite a while now and I’ve seen lots of people doing a great job bringing good quality products and services to those in need. It’s been a pleasure to see customers enjoy consuming something that you put a bit your soul into. This feeling means a lot.Read More »