Stage 4, day 18:
The last 2 margin trades did highlight some major design oversights. The last one made the server crash. I have spent the last few days correcting those oversights.
One oversight did break a major assumption and did require a lot of changes to support what was required to do to make things work the right way.
That was a pretty good exercise. I still have to complete reviewing the logs to make sure that the fixes that I have just bake in do fix everything or if there is more to do... but I am quite satisfied of the changes... Code quality of that important system area did improve in many small ways as a result
In parallel to fixing the margin trading code, I kept thinking and looking for ways to improve my system reaction time.
I am into something. The answer is Linux futexes or something around them... I think that with this idea, this might cut down by half my current reaction time... I am currently reading Ulrich Drepper 12 pages paper on the topic to clarify how this is going to be integrated in the system. But I need to put this project on hold. Priority is to upgrade the server with the required margin trading code fixes as the server has been down for 2 days now...
It is 2 days where I might leave money on the table and losing opportunities to let the server stumble into undiscovered issues...
The last 2 margin trades did highlight some major design oversights. The last one made the server crash. I have spent the last few days correcting those oversights.
One oversight did break a major assumption and did require a lot of changes to support what was required to do to make things work the right way.
That was a pretty good exercise. I still have to complete reviewing the logs to make sure that the fixes that I have just bake in do fix everything or if there is more to do... but I am quite satisfied of the changes... Code quality of that important system area did improve in many small ways as a result
In parallel to fixing the margin trading code, I kept thinking and looking for ways to improve my system reaction time.
I am into something. The answer is Linux futexes or something around them... I think that with this idea, this might cut down by half my current reaction time... I am currently reading Ulrich Drepper 12 pages paper on the topic to clarify how this is going to be integrated in the system. But I need to put this project on hold. Priority is to upgrade the server with the required margin trading code fixes as the server has been down for 2 days now...
It is 2 days where I might leave money on the table and losing opportunities to let the server stumble into undiscovered issues...