Open aerosol opened 10 years ago
If it is just for pings, than personally, I prefer to "read" which is less invasive.
But reads go through a different port and won't keep the write socket alive
So perhaps version
for telnet ping and read foobar
for cassandra ping?
awesome :+1:
:+1: I approve of this message
Pros for write: can query kairos for client pings / writes are cheaper? Pros for read: separation of concerns, not polluting the DB with writes user may not care about, even if deploying on AWS
I'm conflicted ;-)
Exactly, that is why I wrote "if just for pings" -> read, "querying for kairos client pings" is a perfect reason for writes.
Let user decide, add option in configuration, implement both ;-)
Shame there is no ying-yang emoji.
Tentative start here https://github.com/aerosol/kai/pull/7
To be improved..
Right now it only keeps-alive
erlang node <-> kairos
but doesn'tkairos <-> cassandra
.Solution: periodically put metric with
timestamp=0
value=now()
andtag=node()
.@loucash ?