Deutsch   English   Fran├žais   Italiano  

View for Bookmarking (what is this?)
Look up another Usenet article

X-Received: by with SMTP id ir7mr3978172obb.29.1424884295901;
        Wed, 25 Feb 2015 09:11:35 -0800 (PST)
X-Received: by with SMTP id a3mr31944obq.1.1424884295712; Wed,
 25 Feb 2015 09:11:35 -0800 (PST)
Path: ...!!!!hl2no23676270igb.0!!qk8ni43204igc.0!!hl2no30049898igb.0!!!not-for-mail
Newsgroups: comp.lang.tcl
Date: Wed, 25 Feb 2015 09:11:35 -0800 (PST)
Injection-Info:; posting-host=2001:550:6600:0:2947:1c6:6faf:4428;
NNTP-Posting-Host: 2001:550:6600:0:2947:1c6:6faf:4428
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <>
Subject: ANNOUNCE: casstcl - an open source, high-performance interface to the
 Cassandra distributed data management system
From: Karl Lehenbauer <>
Injection-Date: Wed, 25 Feb 2015 17:11:35 +0000
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Lines: 31

Wikipedia: Apache Cassandra is an open source distributed database manageme=
nt system designed to handle large amounts of data across many commodity se=
rvers, providing high availability with no single point of failure. Cassand=
ra offers robust support for clusters spanning multiple datacenters, with a=
synchronous masterless replication allowing low latency operations for all =

Casstcl is a Tcl/C interface library that connects to the open source Datas=
tax C/C++ Cassandra Driver (cpp-driver) at
driver, making the power of Cassandra available to Tcl.

Using casstcl, Tcl programs can connect to a Cassandra Cluster and do CQL q=
ueries against it, including inserts, updates and selects as well as creati=
ng and altering tables and all that.

Queries can be performed synchronously or asynchronously, and callbacks are=
 supported for asynchronous query results when the event loop is functional=
.  The interface is real natural from Tcl, for instance selects run supplie=
d code iteratively with each row's fields filled into a specified array in =
turn, similar to Pgtcl's pg_select.

The state of the code is that it is pretty new but it has been used to inse=
rt and query millions of rows to and from clusters.  It is in active develo=
pment and more examples are forthcoming.  The methods of casstcl objects ar=
e unlikely to change greatly but the schema explorer is going to be complet=
ely rewritten shortly. Memory leaks are a distinct possibility.

Try it out and let me know what you think!