[{"data":1,"prerenderedAt":162},["ShallowReactive",2],{"project-2798994":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":33,"aspects":34,"strip":36,"post_text":29,"what":39,"said":56,"maker_in_thread":94,"shape":102,"grid":105,"attempts":125,"same_week":126,"maker_shows":32,"maker_hidden":155,"reader_version":156,"card":157},"2798994","Megacomet","Comet server w\u002Fend project, barely breaks a sweat at 1000msg\u002Fs","title","Show HN: Comet server w\u002Fend project, barely breaks a sweat at 1000msg\u002Fs","http:\u002F\u002Fsplinter.com.au\u002Fmegacomet-with-1-million-queued-messages","splinter.com.au","chubs",1311496555,2011,13,10,682,1097,63,"shown","infrastructure","comet server","other",[21,24,25,26,27],"long polling","message queue","c hash library","realtime messaging","quiet",null,{"positive":31,"neutral":32,"mixed":31,"critical":32},0,2,4,{"performance":35},{"positive":31,"critical":32},[37,37,31,38,31,31,31,31,38,31],1,3,{"problem":29,"audience":29,"pricing":29,"motivation":29,"time_to_build":29,"stack":40,"openness":54,"stage":55,"team_size":54},[41,48],{"value":42,"source":43,"evidence":44},"C","maker",[45],{"id":46,"by":11,"text":47},"2800501","I googled for C hash libraries, and came across one of those 'shootout' blog posts where they compare memory size and cpu usage, and klib looked to be a winner. Plus it's only…",{"value":49,"source":43,"evidence":50},"klib hash\u002Fdictionary\u002Flist library",[51],{"id":52,"by":11,"text":53},"2799161","Thanks for having a look! The main thing i wanted to check for as of now is the performance (in terms of memory usage) of the hash\u002Fdictionary\u002Flist library i'm using (klib). In…","unknown","prototype",{"praise":57,"objections":64,"requests":77,"questions":78,"alternatives":93},[58],{"value":59,"source":43,"evidence":60},"Low memory use per queued message",[61],{"id":62,"by":11,"text":63},"2799157","Those are orthogonal stats, true. More relevant is queued messages vs RAM used, which i'm quite happy with: 1m messages = 65m ram. Also think about the 1000 msgs\u002Fsec vs 5% cpu,…",[65,73],{"value":66,"source":67,"evidence":68},"No consumers yet, so queuing benchmark is not meaningful","commenter",[69],{"id":70,"by":71,"text":72},"2799129","darklajid","I think the argument is that queuing should be cheap and the consumers should actually use the CPU. He has no consumers yet, he just fires messages like crazy and they are left…",{"value":74,"source":67,"evidence":75},"Benchmark targets localhost only",[76],{"id":70,"by":71,"text":72},[],[79,86],{"value":80,"source":67,"evidence":81},"How can 1 million queued messages use only 5% CPU",[82],{"id":83,"by":84,"text":85},"2799121","Meai","How is it good to have 1million queued messages but only utilize 5% of the cpu?",{"value":87,"source":67,"evidence":88},"How 65535 connection limit applies to concurrent connections",[89],{"id":90,"by":91,"text":92},"2800945","teyc","For a long time I thought there was a limit of 65535 concurrent connections, but I learnt today that it is for local ports only. Now I'm confused. Doesn't accept() create a local…",[],{"comments":95,"answered":38,"key":96},5,[97,98,99],{"id":52,"text":53},{"id":46,"text":47},{"id":100,"text":101},"2800493","Holy moly! What a turnaround. You're welcome :)",{"commenters":95,"max_depth":95,"maker_replies":95,"first_comment_mins":103,"lifespan_hours":104},115,18,[106,108,109,111,115,116,119,120,122,123],[83,31,37,107,84,31],"project\u002Fcritical\u002Fperformance",[70,31,37,107,71,31],[52,31,31,110,11,37],"project\u002Fneutral\u002Fperformance",[112,31,38,113,114,31],"2800170","maker\u002Fneutral\u002Fnone","tom_b",[46,31,31,113,11,37],[117,31,31,118,71,31],"2800384","commenter\u002Fneutral\u002Fnone",[100,31,31,118,11,37],[62,31,31,121,11,37],"project\u002Fpositive\u002Fperformance",[90,37,38,110,91,31],[124,37,31,110,11,37],"2801141",[],[127,132,137,142,147,151],{"id":128,"name":129,"points":130,"category":131},"2810373","Pump",118,"languages",{"id":133,"name":134,"points":135,"category":136},"2810324","Kondoot",97,"consumer_social",{"id":138,"name":139,"points":140,"category":141},"2799523","ClearTax",75,"web_saas",{"id":143,"name":144,"points":145,"category":146},"2797432","FutureMessage.me",66,"productivity",{"id":148,"name":149,"points":150,"category":136},"2800684","Recently Read",26,{"id":152,"name":153,"points":154,"category":136},"2794180","Weekend Project",14,false,"v2",{"id":158,"name":5,"line":6,"ai":155,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":29,"top":18,"kw":159,"maker":11,"domain":10,"tier":19,"attempts":31,"strip":160,"url":9,"mix":161,"praise":59,"objection":66,"sub":21},2798994,[21,24,25,26,27],"1103000030",[31,32,31,32],1793990873954]