Wasn't sure if using delimited would improve performance but it would allow for just reading the exact number of bytes. Docs: https://dev.twitter.com/docs/streaming-apis/parameters#delimited. I noticed that Python implementation https://github.com/tweepy/tweepy/blob/master/tweepy/streaming.py uses and so I looked into it. Thoughts?