Posts

NoRouteToHostException: Cannot assign requested address

On socket s.setReuseAddress(true); check and set max number of file handles ulimit sudo su echo "1" >/proc/sys/net/ipv4/tcp_tw_reuse echo "1" >/proc/sys/net/ipv4/tcp_tw_recycle Other OS settings

Map lat/long

http://universimmedia.pagesperso-orange.fr/geo/loc.htm

HTML/CSS/JavaScript editor

http://jsbin.com/aqajoy/11/edit

Gradle

HowTo To use the gradle daemon and make it faster since it doesn't have to spin up a JVM every time: alias gradle='gradle --daemon'

Vertx Polyglot server - Java, JavaScript, Ruby, Python, Groovy, Scala

http://vertx.io Vertx appears to outperform node.js  by >= 2x for basic socket handling and also when serving small static pages RESTful service

Shark SQL for Hadoop, HBASE, Cassandra

Shark (SQL) uses Apache Spark which can read from hadoop, HBASE, Cassandra

Ansible and Salt

Ansible and Salt  are frameworks that let you automate various system tasks. The biggest advantage that they have relative to other solutions like Chef and Puppet is that they are capable of handling not only the initial setup and provisioning of a server, but also application deployment, and command execution.