Oct 16, 2020Configuring an Nginx TCP proxy for my RabbitMQ cluster in under 10 minutesIn the previous post, I described what a cluster is and how to setup a RabbitMQ cluster on Raspberry Pi with a few Zero W’s. I’ve built a 5 node cluster, with one master and 4 followers. But this is not enough, I’d like my cluster to be accessible from…Rabbitmq7 min readRabbitmq7 min read
Published inThe Startup·Sep 13, 2020Member-onlyHow to Build a RabbitMQ Cluster on Raspberry PiIn this blog post I will show you how to build and configure a 5-node Raspberry Pi cluster and use RabbitMQ’s clustering capabilities on the above to scale the message broker horizontally. Introduction Experimenting with Pi clusters is something that I have been thinking a lot lately. I decided to build…Rabbitmq15 min readRabbitmq15 min read
Aug 1, 2020Member-only.NET Core and RabbitMQ Part 2 — Communication via AMQPIn part 1 I demonstrated how to create a simple consumer and producer using ASP.NET Core Hosted Services. In this part, I will cover everything that happens under the wraps, the communication between the client and the server, the connection, the message publishing and consuming. AMQP AMQP is the protocol that…Amqp12 min readAmqp12 min read
Aug 1, 2020.NET Core and RabbitMQHaving a system which is composed by distributed applications is a great idea, but a way to communicate with each other is required. A very popular architecture is the so called MDA or Message Driven Architecture, where a system is composed from autonomous components that communicate with each other via…Rabbitmq7 min readRabbitmq7 min read
Jul 10, 2019Babel F# pipeline operator proposalIntroduction Writing readable and declarative code in JavaScript, how nice it would be! 😆 I know, readable and declarative don’t go in the same sentence when talking about JavaScript, but should it be always like this? …JavaScript7 min readJavaScript7 min read
Jun 23, 2019To box (and unbox)? Or better not to?Introduction Working with types sometimes can be very tricky for a developer, regardless of the employed programming language. Surely, many professionals have a story or two to share on this. Types can be tricky beasts and it’s not uncommon to be accompanied with few surprises and often sinister quirks which can…Programming16 min readProgramming16 min read
Aug 19, 2018Build a secure Angular client using ASP.NET Core and OAuthWhat is the resource owner password credentials grant? How can I secure my Angular client using OAuth and JWT bearer tokens? In this post I will focus on the resource owner password credentials grant, a different kind of credential flow supported by the OAuth protocol, and how it can be…JavaScript13 min readJavaScript13 min read
Aug 11, 2018How the pomodoro technique has changed the way I workFor many years I thought that working hard was the way to go. Just make some TO-DO lists, pick work items in order, carry the task on and move to the next. This was my style and I thought this was the proper way. However this proved to be not…Productivity17 min readProductivity17 min read
Aug 5, 2018ASP.NET Core API authentication using JWT bearer tokensWhat is OAuth 2.0 and how its flows can be applied for securing my applications? What does a token do and how it is useful in securing API’s? Is there any way to implement all these nice and easy in ASP.NET Core? In this post I will cover these topics…API12 min readAPI12 min read
Jul 21, 2018Structs and the in keyword in C#Since the release of 7.0 version for C#, we’ve seen many small, yet useful features added to the language, aiming to aid developers, directly or indirectly. A new keyword was added in version 7.2, the in keyword, which makes the reference semantics of the language richer. …Csharp12 min readCsharp12 min read