Client Libraries

Posts Tagged ‘Client Libraries’

Q&A from My Talk at the Hamburg Javascript Meet-up

On June 18 I gave a talk to the Javascript meet-up group in Hamburg, Germany.  It was a very enjoyable evening.   I’d like to thank Martin Kleppe for organizing the event, and the meet-up group members for investing an evening to learn more about Node.js and VoltDB.

The group asked some interesting questions during the Q&A part of my talk and in the additional discussions afterward.  Below are some of the questions I remember, along with written responses.

Read more

Q: What are the primary differences between VoltDB Community Edition (open source license) and Enterprise Edition (commercial license)?
A: Aside from
 

Using Node.js with VoltDB

We recently released the first supported version of a VoltDB client driver for Node.js applications. It was able to execute over 695K transactions per second. Since then we have been working on building a better driver and sought out help from the Node community and made a series of improvements.

Today I’m going to write about how to access VoltDB from a Node application. A sample application is included with the driver, the latest version of which can be downloaded from http://www.voltdb.com/tao-volt/downloads-home.php.

The integration process is short and straightforward. All VoltDB applications have a set of stored procedures that are … Read more

 

New and Improved Node.js Driver for VoltDB

On June 14, 2011, Jacob Wright (Twitter: @jac_) published a pure Javascript Node.js driver for VoltDB. It is a great driver and it does just about everything a developer could ask for. It is pure Javascript so it runs everywhere and is written asynchronously so it follows the best practices of Node as well as those of VoltDB, which performs best when queries run asynchronously.

VoltDB is evolving constantly and we have just released a our own version of the Nodejs-VoltDB driver based upon Jacob’s excellent work.

Some of the new features include:

  • Cluster support – the client can connect
  • Read more

 

A Peek Inside VoltDB’s VARBINARY Sausage Factory

VoltDB users are pretty passionate, especially when it comes to things they want us to implement.  For example, we got a lot of feedback from early users indicating the need for VoltDB to natively support variable length binary objects.  Some of those apps were looking to use VoltDB as a K/V store (not as insane as it might sound); some for hybrid K/V workloads; some just needed a general purpose solution for storing custom data structures in VoltDB.

We initially handled VARBINARY use cases by base64-encoding data, then storing it in VARCHAR fields in the database.  That workaround satisfied some … Read more

 

VoltDB.NET Unleashed: Post Webinar Wrap-up and VoltDB Studio Introduction

I thought I’d take a quick opportunity to review some of the key highlights form the .NET Webinar, giving out some of the nicer code snippets, and officially introduce our new development tool: VoltDB Studio.<--break->

VoltDB.NET in a nutshell

The .NET/C# client library for VoltDB is extremely flexible and allows you to develop WinForms, Console and Web applications and services much as you would do leveraging any other back-end data service or database.

  • Connect with a customized connectionstring in your app/web.config.
  • Perform Synchronous or Asynchronous data operations using standard .NET design patterns.
  • Consume and filter data results using LINQ.
  • Leverage
  • Read more

 

VoltDB.NET: Synchronous vs. Asynchronous Request Processing

Deciding whether to handle your workload as a sequential set of synchronous operations or an asynchronous batch isn’t just a .NET topic, but a larger design decision with any VoltDB application. This week we review the pros and cons of each choice in a general context and then as it pertains specifically to your .NET implementations.

By now, you probably have a good idea of how VoltDB works: each partition is its own processing engine, and while, within a partition, work is performed sequentially, each partition is essentially autonomous so that all perform work in parallel.

As we discuss below, … Read more

 

VoltDB.NET: Optimizing your Connection Settings

The .NET connection object comes with a host of settings to help you control access to your VoltDB database and optimize performance. In this quick review, we detail each available option, as well as how to use a connection string for portable deployment of your application between environments.

While there is no specific “Provider” support in .NET for VoltDB, the connection settings have been built following the standard DbConnectionStringBuilder support, allowing you to manage a connection to a VoltDB cluster just the same way you would manage connection to ODBC or standard databases.

Most importantly, you have the ability to

Read more

 

Introducing VoltDB.NET: C# Library for Your VoltDB Applications

I’m happy to introduce our first .NET C# library for VoltDB, which is available for download (full source with samples & documentation) at: https://github.com/VoltDB/voltdb-client-csharp (Latest build-only with documentation from the downloads page).

Today I would like to go over the basics of how you can leverage the library to create a basic client application to connect to your VoltDB server…

There will be more posts in the future, on general best practices, optimized asynchronous application designs or detailed looks at specific features – here I will simply go over the basics to wet your appetite and get you started!

Basic Read more

 

Community Contributions – Erlang Client Library

We at VoltDB are proud to announce contributions by our community members. In this post we highlight the Erlang Client Library, contributed by Henning Diedrich, of EonBlast Corporation. Eonblast will use this library and VoltDB in their upcoming game, Solar Pirates. The Erlang library is native and allows Erlang programs to talk with the VoltDB server as VoltDB clients. Server and clients communicate over TCP/IP sockets using the VoltDB binary wire protocol. The library is currently synchronous, and the async version should be online soon. The contributed library includes tests and two examples, Helloworld and Voter.

Source for the VoltDB … Read more