Up to Main Index                               Up to Journal for May, 2012

                      JOURNAL FOR THURSDAY 24TH MAY, 2012
______________________________________________________________________________

SUBJECT: Slogging on
   DATE: Thu May 24 22:21:01 BST 2012

Slowly making progress. However testing is becoming difficult. To recreate a
specific and rare problem I'm dealing with now - concurrent memory access
without locking blowing up the code with nil references - takes a while.

To re-create the problem and make things blow up I need over 3,000 little test
bots running around, connecting and disconnecting for about 30-60 minutes
using roughly 5,000 Goroutines, just over 200Mb memory and generating between
8 and 12 MB/s of network traffic. All this for each single test run.

At the end I get 54,000+ lines of log file to go through as 5,000 Goroutines
suddenly panic and print a stack trace.

This is one situation where I find a slow, low power machine is better for
debugging than a super fast 8 core i7 monster :(

--
Diddymus



  Up to Main Index                               Up to Journal for May, 2012