A client consumes remote resources through servers with no expectation of errors or any performance drawbacks in common cases. What it should do if errors happen or in case of poor performance? How we should resolve these problems when a client needs a resource and tries to retreive it iteratively but each attempt ended in failure? Answers can be hidden in resiliency patterns: Client-side load balancing Circuit breakers Fallbacks Bulkheads Client-side load balancing A client defines a destination of request routing by having information about service’s instances, their physical location....
Run any Terminal command with a keyboard shortcut
Recently, I’ve became an owner of a Geekboards Macropad. This is a small programmable keyboard: all keys can be binded to macros. I didn’t have a work need to buy it, my Keychrone K8 covers all my needs, it’s done just for aesthetic reasons. Similar macropads can be found on Amazon. A few months ago my main working operational system became macOS and here I’ll describe how to bind macros to the macropad and make it possible to call Terminal commands by a one key’s click....