Live data from Hacker News

Viewing profile — BuckToBid

BuckToBid

HN member
Joined
Thu, Oct 21, 2010, 4:16 PM UTC
HN karma
77
Public activity
23 items

About BuckToBid

Run/own a penny auction site called BuckToBid. http://apps.facebook.com/bucktobid

Recent public activity

  1. comment
    Comment #1831095

    I just had an submission hit the front page the other day where I explained how moving from PHP/Apache to C saved my bacon. I'm 26 and have not been out of school that long. I woul…

  2. comment
    Comment #1824082

    So now you have just jumped straight into calling me a crook. I'm sorry that Wavee or whatever site you went to took your money. I honestly didn't know (and still don't) if you can…

  3. comment
    Comment #1822204

    This is interesting. Would this work if I was on the site for say an hour? Or is there some limit to the amount of time you can send data like this? I have never tried anything lik…

  4. comment
    Comment #1821585

    Yes there are many penny auction sites out there. The whole reason to link it to facebook is so that you know its a real person you are bidding against. How do you know wavee has a…

  5. comment
    Comment #1821467

    http://en.wikipedia.org/wiki/Fork_bomb Fork Bombs are easier to pull off from the command line. Not so much with DOS. I would say that loading a large webserver for each request wo…

  6. comment
    Comment #1821395

    I had never heard of those before. Are they capable of working inside any web broswer? Looking it up right now.

  7. comment
    Comment #1821242

    Thanks for the suggestion!

  8. comment
    Comment #1821217

    Yes, right now its all on one server. The parts of the app that serve the pages you see are separate from the 1 second updater and could be on separate servers. Right now the C app…

  9. comment
    Comment #1821128

    Mostly just because I've never used FastCGI before, and I have played around with making C/C++ servers for fun before. Seemed like the fastest solution and so far its worked out be…

  10. comment
    Comment #1821084

    Was it an auction site as well? If so which one if you don't mind me asking?

  11. comment
    Comment #1821008

    Yes, it would handle it and we could have kept scaling the server up to handle more and more of it. With the C app all those problems went away. It has almost no footprint and uses…

  12. comment
    Comment #1820936

    The reason it has to continually sync is that any user could place a bid at any moment. This makes the timer increase and top bidder change, so every user must be notified of the c…

  13. comment
    Comment #1820916

    yes, I was just saying that we can't wait for replication, when someone places a bid all the others users must have that information immediately.

  14. comment
    Comment #1820882

    The timers are all set differently, we can have 9 seperate auctions going at once and all have different times they end at. Also when someone bids the timers increase. So they are …

  15. comment
    Comment #1820800

    I completely bypassed apache all together. Apache is not used for the 1 second ajax call at all. The only libs i used were jansson for easy json manipulation and mysql++ for databa…

  16. comment
    Comment #1820757

    Thanks! I understand your point, but a fork server is so simple I don't think there is much that can go wrong there, if it was serving more data I would be worried, but its meant t…

  17. comment
    Comment #1820661

    Yeah I have run into some of those problems already. Thanks for pointing that out. You definately need a SIGALRM handler if you are thinking of doing something like this. But I don…

  18. comment
    Comment #1820607

    Also because of the need for consistency and latency I'm not sure memcached would be a benefit because it could never be scaled anything but vertically anyways.

  19. comment
    Comment #1820584

    On the frontend I was already using lighttpd, but I could have used memcached on the backend that was going to be the next step if the c app didn't work. It just worked so well I d…

  20. comment
    Comment #1820570

    You could google how to do a simple fork server in c/c++ and after you have that working you just need to do something like this: stringstream response; response int n = write(s, r…

  21. comment
    Comment #1820526

    Sure thing, what part are you stuck on?

  22. story
    Moving from PHP to C saved my web startup.

    A few months ago I took the journey into startup land. I quit my job and decided to finish the project I had been thinking about finishing for a long time. A penny auction app wher…

  23. story
    Rate my startup: BuckToBid

    We have created a penny auction Facebook App. One of the biggest complaints with today's penny auction sites is that they could be cheating with auto-bidding bots. With BuckToBid y…