A guest post by Salman Ul Haq, a techpreneur, co-founder and CEO of TunaCode, Inc. Frequent and regular data backups are important in most environments, and though data backups are a standard procedure, there are multiple ways they can be … Continue reading
Author Archives: Safari Books Online
About Safari Books Online
Safari Books Online is an online learning library that provides access to thousands of technical, engineering, business, and digital media books and training videos. Get the latest information on topics like Windows 8, Android Development, iOS Development, Cloud Computing, HTML5, and so much more – sometimes even before the book is published or on bookshelves. Learn something new today with a free subscription to Safari Books Online. ← Older postsBacking Up and Restoring Data On a Live HBase Cluster
Storm in Action
In a previous post, I introduced Storm, the distributed and fault-tolerant stream processing system for Big Data. This post covers some details about Storm clusters and then examines an actual Storm example. In general, a Storm cluster is superficially similar … Continue reading
An Introduction to Storm
Storm, a big-data processing system, has been presented by Twitter as a distributed and fault-tolerant stream processing system with the following key design features: Horizontal scalability: Computations and data processing are performed in parallel using multiple threads, processes and machines. … Continue reading
Node.js and Websockets: A Modular Approach
In our last article we covered how you can connect two Node.js processes using streams. In this article we will explore that same technique, but this time we’ll connect a browser to a Node.js websocket server and implement a simple … Continue reading
Ideas For Writing a User Authorization System RESTfully
Writing user authorization systems RESTfully can be tricky for any newcomer to REST. This blog post is meant to provide some ideas on how you can do this in a RESTful manner. When people first think of user authorization, they … Continue reading
Errors Happen – How to Deal with Them in Scala
“In the interest of clarity we will not worry too much about error handling.” (Advanced Perl Programming by Sriram Srinivasan) This was the attitude toward error handling until very recently. Errors were called side-effects, and scientists were busy inventing languages … Continue reading
REST from a Client Perspective
Many developers are exploring how to build good Web APIs. The most common current approach is to build APIs that conform to the REST architecture. Discussions about how best to adopt a RESTful approach often focus on server-side issues, such … Continue reading
Traits: How Scala Tames Multiple Inheritance
Many programmers exhibit a slight, involuntary shudder whenever multiple inheritance is mentioned. Ask them to identify the source of their unease and they will almost certainly finger the so-called Deadly Diamond of Death inheritance pattern. In this pattern, classes B … Continue reading
Probe Web Resources Efficiently with HEAD and OPTIONS in REST
Few Web APIs these days don’t strive in some way to be RESTful. When designing an API, developers often focus on the CRUD (Create, Read, Update and Delete) operations that apply to their API resources, and how these map onto … Continue reading
Scala Type Classes Demystified
The term “type class” has been popular for a while now, but what does it really mean? An article in Wikipedia defines a type class as an interface. This works for Java, but once we switch to Scala, it does … Continue reading
