NoSQL distilled

August 20th, 2013 by Terrence Miao No comments »

If you have large amount of data in the correct format, then you can consider a large in process off-heap cache. Apache and Terracotta (the current owners of EHCache) has a free version. Off-Heap caches can be extremely large (100+ GB), because their contents are exempt from GC. 

On the other hand, if you have data that is aggregated from multiple source or requires significant processing, then a NoSQL solution can be useful. However you should be aware what you are doing. 

First you need to understand what type of NoSQL solutions, might be optimal for your purposes. A few thing to consider: CAP, supported data models, replication, scalability, consistency, read or write path optimised, in memory / distributed, data center support. 

Second you need to understand the differences in data modelling compared to traditional SQL solution. Without this knowledge you will introduce performance and consistency problems that will eventually "kill" your application, if you are lucky (Distributed NoSQL solutions tend to like denormalised and redundant data representation. While SQL works best with normalised data). By the way forget about Joins and Transactions. 

Third make sure you have enough time to investigate and test the available solutions and gain experience with them. Preferably using examples from the problem domain you are trying to solve. 

A few useful links to get you started:

http://en.wikipedia.org/wiki/CAP_theorem 
http://en.wikipedia.org/wiki/Eventual_consistency 
http://www.julianbrowne.com/article/viewer/brewers-cap-theorem 
http://blog.nahurst.com/visual-guide-to-nosql-systems 
http://kkovacs.eu/cassandra-vs-mongodb-vs-couchdb-vs-redis 
http://en.wikipedia.org/wiki/NoSQL 

An advice, if you want "experience" and "adventure" then go with MongoDB. It maybe considered heresy here, but Spring Data and Spring Cache, or any other magical wrapper/abstraction layer/solution, may not be a best idea in the long run. 

» Read more: NoSQL distilled

Building Next Generation Real Time Web Applications using Websockets

August 20th, 2013 by Terrence Miao No comments »

Building Next Generation Real Time Web Applications using Websockets

Embedded Link

Building Next Generation Real-Time Web Applications using Websockets
Building Next Generation Real-Time Web Applications using Websockets

Google+: View post on Google+

In-depth Nexus 7 (2013) review by AnandTech

August 18th, 2013 by Terrence Miao No comments »

In one word, new Nexus 7 is so good so close to the industry benchmark – Apple iPad 4 but costs less than half the price of iPad 4.

What are you still waiting for?

Embedded Link

Nexus 7 (2013) – Mini Review

Google+: View post on Google+

WebRTC and Node are simply a perfect fit for one another, for both share the same…

August 17th, 2013 by Terrence Miao 4 comments »

WebRTC and Node are simply a perfect fit for one another, for both share the same goal of making the real-time web a reality, and a relatively easy-to-implement one at that.

Embedded Link

New horizons in Node.js: App.js and WebRTC

Google+: View post on Google+

Smart Concept, Not-So-Smart Watch

August 17th, 2013 by Terrence Miao No comments »

Smart Concept, Not-So-Smart Watch

Embedded Link

The Best-Funded Project in Kickstarter History Is Kind of a Dud
In April 2012, a team of engineers posted a Kickstarter fundraising pitch for Pebble, an intelligent wristwatch that would connect to your smartphone and alert you to calls, emails, text messages, and other bits of digital ephemera. The Pebble was far from the most beautiful watch you’d ever seen, but…

Google+: View post on Google+

Infographic – The iPhone Saga

August 17th, 2013 by Terrence Miao No comments »

Is American Manufacturing Dying or Specializing?

Embedded Link

How iPhone Is Made: A Report on How Much of Apple’s Top Product is US-manufactured | Finances Online™
Did you know that 90% of all the rare-earth minerals used on an iPhone 5’s circuitry, screen, speakers, and glass cover are mined in China and Inner Mongolia?

Google+: View post on Google+

There is NO way Larry Ellison's big mouth can shut up

August 16th, 2013 by Terrence Miao 1 comment »

Let's catch up his latest zingers.

"I think what Google did was absolutely evil."

"Get me the name of that pharmacist, SAP must be on drugs."

"I was tempted to shoot Craig Conway, the head of PeopleSoft."

"You can check in SalesForce, but you can't check out."

"The U.S. National Security Agency's (NSA) electronic surveillance programs are absolutely essential" because CIA runs a lot Oracle database.

Finally, something insightful "There are a lot of talented people in Apple, but Steve is irreplaceable."

Embedded Link

» Read more: There is NO way Larry Ellison's big mouth can shut up

If you are a Doctor Who fan

August 15th, 2013 by Terrence Miao No comments »

an … …

Reshared post from +Michael Poloni

http://ausdroid.net/2013/08/15/checkout-the-inside-of-the-tardis-in-this-google-maps-easter-egg/   #DrWho   #DoctorWho   #Tardis  

You'll need to click the 'A' marker to venture inside … 

Embedded Link

Checkout the inside of the Tardis in this Google Maps easter egg.
Ok, while not Android related, it’s Google Maps and Dr Who, so I couldn’t resist. You’re checking out Earl’s Court Road in London and happen across the a Police Call box, pretty exciting for the av…
» Read more: If you are a Doctor Who fan