Haisum's Blog It's not a bug, it's a feature.

Let's talk about passwords

I was frustrated at setting up password for my bank’s internet banking portal. It’s frustrating to come up with passwords that follow annoying rules of having particular set of combinations to get a strong password. It’s even more difficult to remember such passwords. It doesn’t even solve problem of making passwords strong. P@ssword1 is considered strong by such rules but it takes seconds to get cracked with good password dictionary. Such composition based rules for password strength have been discouraged in latest IANS password guidelines.

RPC, JSON-RPC examples in Golang

I discussed about RPC for message passing in last post. Here we take a practical look at it using golang, my favorite language nowadays.

Using RPC for message passing in distributed systems

My last post discussed about distributed systems and their problems. The most important and fundamental requirement in distributed systems is message passing between different processes so they can coordinate on a single task. We want such communication to happen in an standardized and reliable way. Fortunately, because of years of research and real world usage we have a number of reliable protocols to meet our needs. SOAP, Thrift, REST APIs, message queues such as RabbitMQ, key value stores such as Etcd are examples of tools and protocols we may use to enable two processes to communicate. One of reliable and frequently used protocols is RPC.

A Primer on Distributed Systems

Days of Moore’s law, that number of transistors in an integrated circuit double every two years, are arguably numbered. Our modern world grows and demands computing needs faster than Moore’s law. We have complex applications and big data which simply can not be processed and stored by a single computer, no matter if that’s the fastest computer in world or has maximum possible hard drives attached. A modern scalable application consists of several processes. A process, as I use here, may represent a physical computer, a virtual machine, a container, or a thread in a concurrent system. A fundamental problem in such a hybrid architecture is that each process needs to communicate and coordinate with other processes to work on some task. Such processes may be distributed as containers or virtual machines on same server or be on separate server nodes in same datacenter or even distributed to separate distant datacenters connected with secure networks. We call such systems by names such as Distributed Software Systems, Distributed Architecture and Microservices etc.

Getting into Google's knowledge graph

Google tables pygments jekyll highlighters