Circuit breakers - You don't need to wait for failures.

It gets very annoying when web app keeps hanging on server requests, only to fail with a timeout few seconds later. Or uses up all available network connections (remember, we only have handful of these) just to wait for failure. Especially if feature is non critical and it does many updates while you are interacting with the app. Wouldn’t it be nicer if, after failing, app simply stopped trying for some time?...

September 16, 2016

One year with React

It’s almost a year now since I’m working with React and Flux. After all this time I think I’ve learned a lot about how to build React apps, so they are easy to test, maintain and that components can be easily reused. Here are some of my most important conclusions. I think following them will make your life really easier, especially if you’re just starting with it. Is it worth it?...

September 2, 2016

Sharing database between services will hurt you

Sharing database between application services is one of worst and most common anti-patterns you can still see around. It will hurt you in so many ways, yet it looks so nice and easy at the beginning. Going fast like crazy In the beginning it looks like it makes you go fast. You can get all data in application by just querying same database. Every modification you do is immediately visible in other services....

July 31, 2016