was pretty laggy today
We're back.
I think what you're seeing may be the forced bet delays I put in place to slow down dust bets:
< 0.00000001 0.50s
< 0.00000010 0.40s
< 0.00000100 0.30s
< 0.00001000 0.20s
< 0.00010000 0.15s
< 0.00100000 0.10s
< 0.01000000 0.05s
else 0.00s
ie. if you bet 0, your bet takes half a second. If you bet single-digit satoshis, it takes 0.4 seconds, etc.
If you bet 0.01 BTC ($1) or more, there's no delay, and if you bet 0.0001 BTC ($0.01) or more, the delay is only 0.15 seconds, so you can place more than 6 $0.01 bets per second. That seems fast enough to me. The huge number of tiny bets is becoming a problem (since I made a kinda dumb decision originally to store the bets in the fast datastore, and keep the datastore in RAM, we're running out of RAM!)
I will implement a solution that writes old bets to disk, and then I won't have to worry about running out of RAM, but for the time being I've had to limit the rate at which the 'dust bets' are made.
On the plus side, this should help alleviate the "lag" people have reported where the server stops responding for a few seconds at a time, since it will be less loaded now.