Giter Club home page Giter Club logo

Comments (4)

salex89 avatar salex89 commented on June 16, 2024

I would like to know the status of this issue. I'm having similar issues with the same version of kairosdb and Ubuntu 14.04. The server fails writing since it is a massive write (I'm doing some benchmarking to see if I could use kairosdb), and the write fails which is stated in the console, but the client reports nothing.

from kairosdb-client.

jsabin avatar jsabin commented on June 16, 2024

This would require a change to KairosDB. The data is processed on a different thread so there is no way the client could know of success or failure.

But I'm interested in your use case. Why would all of your Cassandra nodes be brought down? Cassandra is designed with replication so even if one node goes down you should still be able to write data to other nodes guaranteeing that data is written. Help me understand how you are using KairosDB and Cassandra.

from kairosdb-client.

salex89 avatar salex89 commented on June 16, 2024

Hi Jeff. The use case is not all that special, it's just some sensory
readings with 250Hz frequency (so 4ms between data points). We first seen
this with a rather low powered 3-node cluster. When we wanted to insert a
couple of hours of data, the cluster got overloaded and started reporting
errors. We have seen this behavior with native Cassandra, when we load a
larger amount of regular data. So, we might suspect this happens if the
usage overgrows the cluster size. Even if it fails, we should at least know
it, not assume it just worked. The cluster may fail for some other reason
during the write, and we would not know. I hope you understand my concern.

Currently we are mitigating the risk by introducing a worker in front of
KairosDB and with some safe batch size/write delay settings. The worker
reads the data from a broker/queue (which is being filled by a web service)
and then loads the data into KairosDB. It's some sort of load balancing,
also. But nevertheless, i feel a bit concerned. Especially because I've
seen one big write request with "optimistic" batch/delay settings can
overload the cluster.

I've also started this issue in KairosDB project, and the author is aware.
He also states that even if the write fails first time, it will be retried
later, but I don't think it happens like that.

Issue in KariosDB project: kairosdb/kairosdb#145

On Wed, May 27, 2015 at 12:33 AM Jeff Sabin [email protected]
wrote:

This would require a change to KairosDB. The data is processed on a
different thread so there is no way the client could know of success or
failure.

But I'm interested in your use case. Why would all of your Cassandra nodes
be brought down? Cassandra is designed with replication so even if one node
goes down you should still be able to write data to other nodes
guaranteeing that data is written. Help me understand how you are using
KairosDB and Cassandra.


Reply to this email directly or view it on GitHub
#29 (comment)
.

from kairosdb-client.

jsabin avatar jsabin commented on June 16, 2024

Closing this issue. Issue 145 that you opened in the KairosDB project addresses this.

from kairosdb-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.