deepu_256

Joined 16 years ago

Karma
352
Submissions
31
Member since
Aug 31
A 25 yr old python hacker enjoying life at a startup.
View on Hacker News

Recent submissions

Comment · 15 years ago
Do you mind sharing the details of that hack ??
Comment · 15 years ago
wonderful.

Can you also shed light on thrift protocol ? i have struggled with the blocking nature of thrift(client).

Does eventlet convert blocking thrift client written in python to non-blocking ?

Comment · 15 years ago
A quick question ---

can i say use pymongo in Brubeck and you are saying the blocking nature of pymongo won't affect the async nature of Brubeck ??

Comment · 15 years ago
I guess what he means is that for drivers like mysql which are blocking only there is little support in tornado to not freeze the tornado instance during the request response cycle.
Comment · 15 years ago
So they are ok with making their tweets and posts on tumblr being exposed to public but they are not ok with their parents being on facebook ??
Comment · 15 years ago
This is from my experience of trying to build a news feed (we are about to launch one for our site which gets about a million unique visitors a month).

The approach you suggested is the first approach that i tried. And frankly it worked great when i am testing the feature on my dev macbook with just a couple of 1000's of users. But when i started testing it on our server loading entire legacy data redis ended up taking more than 6GB of RAM for abt half a million users.

i told myself to just plan for 2 times our current traffic and then later on think of a better solution(best thing wud be to plan for 5-10 times your current traffic) and told my CEO that we might have to bump up RAM on the redis machine to 32 or 64 GB in the future(the easiest way but not an elegant way to solve the problem is throw more resources). Also mind that you need atleast 2 such machines to provide failover. i just hoped salvatore(a great guy BTW) would release a cluster solution for redis and will save me.

While testing the feed we came to know we needed to add more such actions from the user and every time you add a new type of action for every user you are looking at increasing the memory of Redis process by substancial amount. you will run out of memory faster than you have planned. i thought VM is the solution to all of this as user feeds typically use only latest data and the entire feed doesn't need to be in the memory. But quite frankly VM has it's own set of problems -- http://groups.google.com/group/redis-db/browse_thread/thread....

Not telling that your solution isn't good. Just wanted to warn you about some potential problems from experience of trying out your solution. Finally i am using cassandra for news feed. Working great as of now. At least much better than my experience with implementing the same with redis. The major problem with cassandra as of now is implementing pagination and counting. distributed counters are coming in 0.8 . pagination is still a major problem though. But for news feed you might not need pagination. providing a load more button as facebook and twitter does should be good enough.

Hope it helps.

Comment · 15 years ago
This looks really useful.

In the coming weeks i will try and use it in one of the apps i am building on tornado.

Kudos to Greplin.

Just one question. I see Tornado related repos in Greplin Github account. Are you using it in one of your Tornado apps ? In that case any gotchas regarding blocking ?

Comment · 15 years ago
How ??

For the entire site or only some parts ?

just curious.

Comment · 15 years ago
Hi nechmads, Are you willing to review the business plan/provide letters of recommendation if you really like the application ??

saw that Letters of Recommendation can be from StartUp Chile Alumni. Hence asking.

Comment · 15 years ago
Well, may not exactly big but Quora is using Tornado in production.
Comment · 15 years ago
Wow. Hearing about this guy for the first time. Inspiring ....
Comment · 15 years ago
i played with gizzard for one of our services with redis as backend. twitter engineers on #twinfra IRC channel helped me a lot on understanding gizzard and flockdb src code. Not yet using in production though.

You have any questions ?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton