twitter - Tweetinvi keep stream alive -
i run web app using amazon ec2 servers , use tweetinvi maintain user , filtered twitter stream. need streams running 24/7.
i using streamstopped event keep stream running continuously described here:
how keep streaming continuously - tweetinvi
i starting stream in startup class using hangfire (http://hangfire.io/) maintain stream connection in background happy other way.
my application kept alive 24/7 if no users connect.
however, after while, no exception raised, streams stop.
is there better way maintain , keep alive stream?
my keep-alive function wasn't working 100% , application died during night when no users connected hence streamstopped event wasn't called. use uptime robot hit site every minute keeping alive.
Comments
Post a Comment