At the date (year 2017) Microservices are surrounded by hype that remains on. Every once in a while I receive offers and promotions saying “Learn how to do Microservices” or “5 best practices around Microservices”, etc. Here is what I think about it.
I have been working on a problem for my hobby game. It is all around and about algorithm for players’ businesses to have their state up to date and still be effective in terms of complexity and compute resources. I have come with a solution which I will try to implement as a prototype and see if it works as expected and what caveats it has.
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.
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.
As mentioned in the previous article, where I published my considerations about the game I want to build, the player will have to solve multiple problems on the way to victory. One of them is discovering the potential demand in the market. This article will be devoted to modelling the market.Read More »
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.
This article article is casually devoted to my hobby game. I am still trying to define the minimal scope of features the game will have and set it as my initial vision. The importance of understanding the desired result of one’s work goes without saying. Writing stuff down helps to get a head around the matter really much. So, let me begin.Read More »
I took me a couple hours to track down a typo in my code that caused nasty deadlocks in TPL. So, folks, it’s been said many-many-many times. Here it is once again. Two important things on TPL.Read More »