Scaling to 100M: MySQL is a Better NoSQL

MySQL is a better NoSQL. When considering a NoSQL use case, such as key/value storage, MySQL makes more sense in terms of performance, ease of use, and stability. MySQL is a solid engine with lots of online material, ranging from operations and failure cases, to replication and different patterns of usage. For this reason, it has an advantage over newer ...

Read More »

Show Layers of Docker Image

Every speaking opportunity is a learning lesson, and hence a new opportunity to share. This blog will address one of the questions that has been bothering me for the past few days. It is about how to show different layers of Docker image, and their sizes, after it is downloaded. I was invited to talk about Docker for Java developers at Peru JUG this morning. ...

Read More »

Dependency injection in Ceylon with Weld and Guice

I’m personally ambivalent about the benefits of dependency injection. On the one hand, I recognize its usefulness in certain container environments such as Java EE. (For the record, I was the author of the CDI 1.0 specification, with my JCP Expert Group.) On the other hand, given the nature of what I’ve been working on for the last few years, ...

Read More »

Docker Swarm Cluster using Consul

Docker Swarm is native clustering for Docker. It allows you create and access to a pool of Docker hosts using the full suite of Docker tools. Because Docker Swarm serves the standard Docker API, any tool that already communicates with a Docker daemon can use Swarm to transparently scale to multiple hosts. Docker Swarm has a Manager, a pre-defined Docker ...

Read More »

Reactive Development Using Vert.x

java-interview-questions-answers

Lately, it seems like we’re hearing about the latest and greatest frameworks for Java. Tools like Ninja, SparkJava, and Play; but each one is opinionated and make you feel like you need to redesign your entire application to make use of their wonderful features. That’s why I was so relieved when I discovered Vert.x. Vert.x isn’t a framework, it’s a ...

Read More »

Reactive file system monitoring using Akka actors

In this article, we will discuss: File system monitoring using Java NIO.2 Common pitfalls of the default Java library Design a simple thread-based file system monitor Use the above to design a reactive file system monitor using the actor model Note: Although all the code samples here are in Scala, it can be rewritten in simple Java too. To quickly ...

Read More »

#GeekListener v.6

Hello hello hello! It’s time to publish a new #GeekListener digest! What was interesting during the last week? What trends in twitter among the developers? As usual, I’m going to comment on tweets which I liked more than others. By the way, on the past week was a big software development conference in Berlin – GOTO, where cool architects are ...

Read More »

What Are the Key Skills to Being a CTO?

You may have noticed that we’ve chatted with a lot of really smart people through our Inside Look interview series. As we wrap up 2015, we’re revisiting some of the sage advice we’ve encountered from these founders, CTOs, and engineers. We’re starting with a broad question this week: What are the skills necessary to being a CTO? According to our ...

Read More »