Deutsch   English   Fran├žais   Italiano  
<dbd440fd-e750-4420-bc44-7b285f90108a@googlegroups.com>

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

X-Received: by 10.182.112.167 with SMTP id ir7mr3978172obb.29.1424884295901;
        Wed, 25 Feb 2015 09:11:35 -0800 (PST)
X-Received: by 10.182.56.131 with SMTP id a3mr31944obq.1.1424884295712; Wed,
 25 Feb 2015 09:11:35 -0800 (PST)
Path: ...!news.glorb.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!hl2no23676270igb.0!news-out.google.com!qk8ni43204igc.0!nntp.google.com!hl2no30049898igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Wed, 25 Feb 2015 09:11:35 -0800 (PST)
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2001:550:6600:0:2947:1c6:6faf:4428;
 posting-account=PA_GewoAAADoflKK612Rbw0_LFmszBvf
NNTP-Posting-Host: 2001:550:6600:0:2947:1c6:6faf:4428
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <dbd440fd-e750-4420-bc44-7b285f90108a@googlegroups.com>
Subject: ANNOUNCE: casstcl - an open source, high-performance interface to the
 Cassandra distributed data management system
From: Karl Lehenbauer <karllehenbauer@gmail.com>
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 =
clients.

Casstcl is a Tcl/C interface library that connects to the open source Datas=
tax C/C++ Cassandra Driver (cpp-driver) at https://github.com/datastax/cpp-=
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.

https://github.com/flightaware/casstcl

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!

-karl