Full-Stack Web Applications

Penny Auction Web Application

The penny-auction engine behind Perabid: bid packs, one-centavo increments and a resetting countdown timer, built solo on the LAMP stack.

This was the penny-auction side of Perabid, and the logic behind it is more interesting than it looks. A penny auction is not a normal online sale, so the rules had to be built carefully, and they had to stay fair and fast under a lot of simultaneous bidding.

How a penny auction works

  • Pay per bid: users buy packs of bids first. Each bid placed costs one bid from their balance, whether they win or not.
  • Tiny increments: every bid lifts the item price by a very small amount, in our case one centavo.
  • Resetting timer: a countdown of around 15 seconds resets every time someone bids. When it finally hits zero, the last bidder wins at that low final price.

Building it on LAMP

I built this solo on the LAMP stack. The hard parts were the timer and the bidding. The countdown has to reset the instant a bid lands, bids have to be recorded in the right order even when they arrive together, and no one can be charged for a bid that did not count. That meant careful transaction logic in PHP and MySQL, on a Linux and Apache server that had to stay up while people were actively bidding.

Why it stuck with me

It was a formative solo project. Getting real-time bidding to behave correctly under pressure makes you think hard about timing, concurrency and data integrity, and that has stayed useful ever since.

Have a similar challenge?

Business systems, WordPress platforms, performance or infrastructure: tell me what you are working on.

Start a conversation