Re: Session object shared across all service instances for single keyspace

6 views
Skip to first unread message

Alex Popescu

unread,
May 10, 2016, 12:53:16 PM5/10/16
to java-dri...@lists.datastax.com
Anuj,

You'll have to provide us with more details about:

1. what service instance means?
2. your cluster
3. how you set up the Java driver


On Fri, May 6, 2016 at 5:08 AM, Anuj Jalan <anuj....@exclusively.com> wrote:
Hi,

We are following a micro-service architecture and we have one cassandra service that do all db operations on cassandra i.e. read, write, update...

Now we want to scale our service and start multiple instances of the service and doing that will create multiple session objects also. We are observing some inconsistent updates while starting more then one instance of our service. 

Can someone suggest how can we share one session object across all our service instances?

--
You received this message because you are subscribed to the Google Groups "DataStax Java Driver for Apache Cassandra User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to java-driver-us...@lists.datastax.com.



--
Bests,

Alex Popescu | @al3xandru
Sen. Product Manager @ DataStax



» DataStax Enterprise - the database for cloud applications. «


Reply all
Reply to author
Forward
0 new messages