Development

Data consistency in distributed system

In this post, we give a short tutorial on consistency levels - explaining what they do, and how they work. Much of the existing literature and online discussion of consistency levels are done in the context of multi-processor or distributed systems that operate on a single data item at a time, without the concept of a “transaction”. In this post we give some direction for how to think about consistency levels in the context of ACID-compliant database systems.

Java 8: New Date and Time API

With Java < 8, you would need to write something like: Calendar cal = Calendar.getInstance();cal.set(Calendar.HOUR, cal.get(Calendar.HOUR) + 2);vs. with Java 8: Readability: Calendar.getInstance() is not very well named: it is hard to tell which instance you are getting without reading…

Git : What is Git

Version control Let’s begin our exploration of Git, by gaining an understanding of what it is and what it can do for you. Git is software that keeps track of changes that you make to files and directories. And it’s…

Java Lambda Expressions

This post explores Oracle’s Java 8 specification for lambda expression , the syntax and use cases. Lambda expressions can be used as method arguments or to iterate, filter, and extract data from a collection.