March 2010
2 posts
Streaming Twitter into MongoDB
curl http://stream.twitter.com/1/statuses/sample.json -u<user>:<pass> | mongoimport -c twitter_live
One thing that you can do with mongo is have 1 streaming master and 1 read/write master
server A:
./mongod —master —dbpath /tmp/a
server B
./mongod —dbpath /tmp/b —master —slave —source localhost:27017 —port 9999
You can then pipe the...
Blogging
I think I’m going to try blogging again. Its not from a lack of opinions that I don’t, just a lack of time :) And perhaps a small algorithm somewhere in my brain that prevents me from putting all my thoughts out there…