Configuration for thrift vs cql

150 views
Skip to first unread message

SY

unread,
Jan 20, 2018, 5:20:30 PM1/20/18
to JanusGraph users
Hi,

I am using JG 0.2.0. Currently I am using storage.backend=cassandrathrift configuration - where JG connects to Cassandra over thrift API. 

I see cql is supported in 0.2 JG version. So if i change to storage.backend=cql configuration - then JG connects to Cassandra using CQL adapter. What benefit does it add for me from using JG perspective ?

Another question : 


I see different options to configure concurrent connections while using thrift api to connect -

storage.cassandra.thrift.cpool.max-active
storage.cassandra.thrift.cpool.max-total
storage.cassandra.thrift.cpool.when-exhausted

I do not see these under cql section. Is there a default value for max-active connections while using cql ? Is it possible to configure this ?

Misha Brukman

unread,
Jan 20, 2018, 6:05:03 PM1/20/18
to SY, JanusGraph users
Why use CQL instead of Thrift with Cassandra? Thrift support is deprecated, no longer developed (frozen), and will be removed in the future — Cassandra 4 was mentioned in the announcement. CQL is recommended for use going forward.

More info:

--
You received this message because you are subscribed to the Google Groups "JanusGraph users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-users/c8b8fe48-701b-436e-9e08-7edacba0e647%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

SY

unread,
Jan 22, 2018, 10:12:38 AM1/22/18
to JanusGraph users

I see different options to configure concurrent connections while using thrift api to connect -

storage.cassandra.thrift.cpool.max-active
storage.cassandra.thrift.cpool.max-total
storage.cassandra.thrift.cpool.when-exhausted

I do not see these under cql section. Is there a default value for max-active connections while using cql ? Is it possible to configure this ?

On Saturday, January 20, 2018 at 6:05:03 PM UTC-5, Misha Brukman wrote:
Why use CQL instead of Thrift with Cassandra? Thrift support is deprecated, no longer developed (frozen), and will be removed in the future — Cassandra 4 was mentioned in the announcement. CQL is recommended for use going forward.

More info:
On Sat, Jan 20, 2018 at 5:20 PM, SY <sahithiy...@gmail.com> wrote:
Hi,

I am using JG 0.2.0. Currently I am using storage.backend=cassandrathrift configuration - where JG connects to Cassandra over thrift API. 

I see cql is supported in 0.2 JG version. So if i change to storage.backend=cql configuration - then JG connects to Cassandra using CQL adapter. What benefit does it add for me from using JG perspective ?

Another question : 


I see different options to configure concurrent connections while using thrift api to connect -

storage.cassandra.thrift.cpool.max-active
storage.cassandra.thrift.cpool.max-total
storage.cassandra.thrift.cpool.when-exhausted

I do not see these under cql section. Is there a default value for max-active connections while using cql ? Is it possible to configure this ?

--
You received this message because you are subscribed to the Google Groups "JanusGraph users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-use...@googlegroups.com.

Robert Dale

unread,
Jan 23, 2018, 6:22:44 PM1/23/18
to SY, JanusGraph users
CQL Pooling options were added to master in https://github.com/JanusGraph/janusgraph/pull/776

Robert Dale

To unsubscribe from this group and stop receiving emails from it, send an email to janusgraph-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/janusgraph-users/d5c0e9d8-6214-48e6-814f-eee7c7fc1d80%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages