Getting Started with LevelDB
By Andy Dent
Publisher: Packt Publishing
Final Release Date: November 2013
Pages: 130

In Detail

Mobile and standalone desktop apps often need to store and rapidly retrieve data. LevelDB scales from a few simple values up to trillions of records and is flexible enough to store any kind of data.

Getting Started with LevelDB progresses through the sophisticated ways to use databases. It starts by explaining how to install and build LevelDB from the basics, and moves on to explain the different Objective-C layers for LevelDB. It can be used as an introduction to database-backed iOS apps, as well as provides clarification to key-value stores and helps you understand how they relate to SQL.

LevelDB is a flexible data solution that uses key-value stores to allow for the development of highly complex, efficient data storage systems. From the basics of data storage and retrieval to complex cases involving data storage for apps, this book covers a wide range of LevelDB topics

Even relatively simple apps may have the need to search their data using different terms. Getting Started with LevelDB shows how to design keys to retrieve and store data efficiently. You will learn how its “levelled” nature delivers speedy writes and how to tune its settings and design for performance. You will also see a few techniques for debugging and tuning.

Getting Started with LevelDB will leave you as an accomplished LevelDB programmer, confident you can build a complex database-backed app with high performance on iOS or OS/X.

Approach

The book is a concise guide for using LevelDB. It explains database concepts and the use of C++, ranging from the basics all the way to high level topics in an easy to follow, step-by-step format.

Who this book is for

The book is meant for developers who want an embedded database for their applications. Experienced programmers can pick up on the sophisticated data mapping patterns and tuning tips.

Getting Started with LevelDB requires a minimal background in programming in C++ or Objective-C for OS/X or iOS and familiarity with XCode. Therefore it teaches enough C++ to use LevelDB without presuming any C++ knowledge, so is suitable for beginner Objective-C programmers.

Product Details
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyGetting Started with LevelDB
 
3.7

(based on 3 reviews)

Ratings Distribution

  • 5 Stars

     

    (0)

  • 4 Stars

     

    (2)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Reviewed by 3 customers

Sort by

Displaying reviews 1-3

Back to top

 
3.0

Nice read

By Shashank

from Bangalore, India

About Me Developer

Pros

  • Key Value Store
  • Nosql

Cons

  • Too basic

Best Uses

  • Intermediate

Comments about oreilly Getting Started with LevelDB:

I would prefer some scenarios to be put where leveldb can be used. I understand its a key value store. So how can it be used in context of IPhone.
Some real world scenarios will help the reader better relate with the book.

From the technical side would like to see more insights into the persistance layer is need as to how the physical and logical storage look like. In particular the storage of IPhone.

An initial write up on design will help. I understand that the book is on getting started but if a context is built around design it will help. As an example we have plenty of distributed key value stores like riak,redis.This is primarily a client centric DB, but still an insight into the design of this DB will help

Would have loved to see an example like say photo album app on levelDB, or for that matter a shopping cart .

 
4.0

Start crafting your own NoSQL, now

By mc

from Bologna, Italy

About Me Developer

Verified Reviewer

Pros

  • Concise
  • Easy to understand
  • Helpful examples

Cons

    Best Uses

    • Intermediate

    Comments about oreilly Getting Started with LevelDB:

    LevelDB is amazing, and it represent a new trend in the whole NoSQL space: build your own database. Thanks to a small core, you can build just the data store you want and need. This book teaches you how, ignore it at your own peril.

    I started tinkering with LevelDB last April, after I heard the amazing NodeUp podcast about it. Not much later I wrote LevelGraph, a graph database on top of LevelDB, and I became a LevelUp's committer -- LevelUp is the node.js high-level API for LevelDB. What all this relates to this book? I wish I had this book when I started, as it explains how to use the C++ binding of LevelDB in a hands-on way, something I had to figure out myself.

    (1 of 1 customers found this review helpful)

     
    4.0

    Good basics, with UI application

    By BashoRunner

    from Boston, MA

    Comments about oreilly Getting Started with LevelDB:

    I found this to be a good introduction to using Google's leveldb. The examples are nicely concise. They focus on the key lines of code for leveldb. All the clutter lines for function headers, include statements, etc. are left to the downloadable source. Andy's target environments are C++, then Objective C for the iPhone/OSX. The middle chapters show how to use leveldb as part of UI controls (real nice). I find it humorous that Google wrote leveldb yet the book is applying it to their rival's iPhone.

    First three chapters have a few paragraphs that could use wordsmithing. But then, Andy is a programmer not a technical writer. Chapter 10 on Tuning and Key Policies seemed a bit weak. Then he recovers and closes the book with some nice examples of how to access leveldb from scripting languages of Node.js, Python, and Ruby.

    Overall, good stuff.

    Displaying reviews 1-3

    Back to top

     
    Buy 2 Get 1 Free Free Shipping Guarantee
    Buying Options
    Immediate Access - Go Digital what's this?
    Ebook: $17.99
    Formats:  ePub, Mobi, PDF