Tag: architecture
Why duplication isn’t always a bad thing in micro-services
From an early development age, I was taught, that duplication is a bad thing. Especially when it comes to storing data. Relational databases were invented to show data that relates to each other and be able to store them efficiently. There are even a few normalization rules, to be able to avoid data redundancy. We… Continue reading Why duplication isn’t always a bad thing in micro-services
Analyze code with NDepend
Recently I got my hands on NDepend, a static code analysis tool for .Net framework. Because it can work as a plugin for Visual Studio, it offers great integration with code and rapid results. So what it can do? Let’s see! Getting started To start working with NDepend you need to download it and install… Continue reading Analyze code with NDepend
Why sharing your DTOs as dedicated nuget package is a bad idea
I’m working in a solution, that has many micro-services and some of them share the same DTOs. Let’s say I have a Product dto, that is assembled and processed through 6 micro-services and all of them has the same contract. In my mind an idea emerged: Can I have a place to keep this contract… Continue reading Why sharing your DTOs as dedicated nuget package is a bad idea
Getting started with Microsoft Orleans
Microsoft Orleans is a developer-friendly framework for building distributed, high-scale computing applications. It does not require from developer to implement concurrency and data storage model. It requires developer to use predefined code blocks and enforces application to be build in a certain way. As a result Microsoft Orleans empowers developer with a framework with an… Continue reading Getting started with Microsoft Orleans
Implementing deferral mechanism in ServiceBus
Deferral is a method to leave a message in a queue or subscription when you cannot process it at the moment. When using PeekLock read mode you read a message but leave it in a queue. When processing of a message is done, you call Complete and message is removed from queue, but when something… Continue reading Implementing deferral mechanism in ServiceBus
Azure Service Bus – introduction
Azure Service Bus is a Microsoft implementation of a messaging system, that works seamlessly in the cloud and does not require to set up a server of any kind. Messaging is a good alternative for communication between micro-services. Let’s compare the two. REST communication contract constrains may be a risk synchronous model be default load… Continue reading Azure Service Bus – introduction