Session info

8 views
Skip to first unread message

kaushalender shekhawat

unread,
Apr 26, 2016, 5:11:45 AM4/26/16
to Redis DB
Hi,

I am sorry, If it looks dump but I am new beginner to Redis or in-memory db.I am trying  to build mqtt solution in which I am trying to use in memory nonsql DB in-spite of tradition sql DB.



I am trying to achieve following 


There  will be linux box installed remotely on which some scripts will be running and performing testing on various parameter of internet bandwidth like download speed etc etc of the remote location .


This server will also send Heartbeat to centralize server which will be present  in my lab and message broker will be runig on this. To tell that remote site is up and active


Heartbeat will be consist of 


a)      server Unique ID  

b)      sequence number (which increments every time a heartbeat is sent, so that we can easily calculate missing heartbeats)

c)       IP address 

Get the time of the heartbeat


Now I have to record all these parameter in  db and update them whenever heartbeat comes  and also  there will be one flag which will be Marked as True/False .If Heartbeat fails this flag will be Marked as False and this flag will also record time when it is Marked as false and No of heartbeat missed.If HeartBeat is missed 5 times message Broker will generate a alarm


Does this type of solution is supported by Redis.If Yes .Can I create my own schema and HoW 


Reply all
Reply to author
Forward
0 new messages