HandlerSocket is cool. But, it turns out there are a few issues.
Justin Swanhart points out HandlerSocket currently lacks atomic operations . Since HandlerSocket uses different connections for reading and writing, you can’t increment/decrement a value without creating a race condition.
Still, the idea of skipping SQL interpretation and just reading the data you know you want is a great one. Writing data might even be better. But being able to use both SQL and NoSQL could be really wonderful. What if we could use complex queries to update complex tables and pluck values out as needed. For example, queries to analyze current weather conditions and produce forecasts that we could then retrieve via a location key? What about updating current condition data …
[Read more]