News for hackers. Stuff that matters.
Re:LSE Halts by mtkd on Friday February 25, 2011 @06:24AM (#2261830)
"And as a final note, solely for the seriously nerdy techies, there's been some talk about the failure being due to F# error."

http://ftalphaville.ft.com/marketslive/

Re:LSE Halts by timrobinson on Friday February 25, 2011 @06:38AM (#2261846)
I've no idea where they got this from, although I mentioned it on Twitter as a joke: https://twitter.com/tim_g_robinson/status/41086872876892160
Re:LSE Halts by alecco on Friday February 25, 2011 @07:10AM (#2261899)
I still don't understand how they choose languages with garbage collection for systems that should be real time or similar.
Re:LSE Halts by davidw on Friday February 25, 2011 @07:37AM (#2261950)
Erlang is not "real time" in the hard, embedded systems sense, but it does pretty well and has GC.

Here's a bit more information: http://www.erlang.org/faq/academic.html#id55755

I don't know what sorts of 'real time' properties trading systems are required to have - can anyone talk about it with a bit more in-depth knowledge?

Re:LSE Halts by IDisposableHero on Friday February 25, 2011 @08:49AM (#2262139)
I don't know much, but for high-frequency trading, fast is never fast enough. response times are measured in microseconds.

http://richg74.wordpress.com/2010/10/25/speedy-new-lse-tradi...

http://www.h-online.com/open/news/item/Linux-boosts-Stock-Ex...

Re:LSE Halts by alecco on Friday February 25, 2011 @08:59AM (#2262163)
Speed isn't all. The system should be based in algorithms with manageable worst case time.
Re:LSE Halts by alecco on Friday February 25, 2011 @08:55AM (#2262153)
I don't buy Erlang camp's reports.

A GC will always trash the cache, and that's the worst issue right now in hardware. (If you take out HDD I/O.)

Re:LSE Halts by axod on Friday February 25, 2011 @07:24AM (#2261925)
GC isn't a problem for realtime systems, if configured correctly. For example, have the GC running incrementally in a separate thread.
Re:LSE Halts by CountHackulus on Friday February 25, 2011 @11:08AM (#2262584)
Close, you do need to stop the world every once in a while to GC some of the harder stuff.

But it's true, there's flavors of Java that are certified for hard realtime. If you stop the GC for 100ms every 2s regardless if you need it or not, that's pretty nice and predictable behavior for a realtime system.

Re:LSE Halts by wingo on Friday February 25, 2011 @11:18AM (#2262636)
100ms is an eternity. You can do GC with 1ms pauses.

http://www.infoq.com/articles/azul_gc_in_detail, for one example.

Re:LSE Halts by timrobinson on Friday February 25, 2011 @07:11AM (#2261900)
It's not F# or Java, it's C++. http://news.ycombinator.com/item?id=2261896
Re:LSE Halts by alecco on Friday February 25, 2011 @07:20AM (#2261919)
It could be some left over system from the previous .Net platform causing a knock-on effect.
Re:LSE Halts by IDisposableHero on Friday February 25, 2011 @07:29AM (#2261935)
It could be anything. Why do you want it to be that?
Re:LSE Halts by alecco on Friday February 25, 2011 @07:34AM (#2261945)
I don't want it to be that. I'm saying the rumour sounds plausible.
Re:LSE Halts by IDisposableHero on Friday February 25, 2011 @08:50AM (#2262141)
Not so plausible to me, considering that the old system was in C#.
Re:LSE Halts by dagw on Friday February 25, 2011 @09:39AM (#2262282)
I'm pretty sure I've read somewhere that they where using F# for some parts.
Re:LSE Halts by IDisposableHero on Monday February 28, 2011 @10:25AM (#2271489)
Can we have a link please?
Re:LSE Halts by tzs on Friday February 25, 2011 @12:46PM (#2263017)
That seems unlikely. F# only recently moved from being an experimental language from Microsoft Research to a supported .NET language. The previous system is old enough to predate that.
Re:LSE Halts by StrawberryFrog on Friday February 25, 2011 @05:31PM (#2264054)
Agreed. and Anderson consulting using an experimental, non-obvious language? I don't see it.
Re:LSE Halts by scott_s on Friday February 25, 2011 @11:26AM (#2262660)
You may be interested in the Metronome project, which aims to provide a GC suitable for realtime use: http://domino.research.ibm.com/comm/research_projects.nsf/pa...

An academic paper about the project, Design and Implemention of a Comprehensive Real-Time Java Virtual Machine: http://domino.research.ibm.com/comm/research_people.nsf/page...

Re:LSE Halts by chollida1 on Friday February 25, 2011 @08:26AM (#2262076)
that link doesn't contain the text 'F#' any where on the page.
Re:LSE Halts by timrobinson on Friday February 25, 2011 @10:49AM (#2262510)
Re:LSE Halts by chollida1 on Friday February 25, 2011 @01:26PM (#2263195)
Thanks:)
Re:LSE Halts by drstrangevibes on Friday February 25, 2011 @06:39AM (#2261851)
F# on linux?
Re:LSE Halts by timrobinson on Friday February 25, 2011 @06:40AM (#2261854)
Re:LSE Halts by mtkd on Friday February 25, 2011 @06:40AM (#2261858)
I doubt they'd be using Mono - if it really is an F# issue it maybe indicates it's a failure in some of the legacy system they are replacing.
Re:LSE Halts by IDisposableHero on Friday February 25, 2011 @07:35AM (#2261946)
As far as I know, the previous system didn't use F#.

"written in C#" http://www.computerworlduk.com/news/open-source/3260727/lond...

Re:LSE Halts by viraptor on Friday February 25, 2011 @06:40AM (#2261856)
Via mono. If that's true... that would be an interesting news for the project (not because of the bug itself of course...).
Re:LSE Halts by timrobinson on Friday February 25, 2011 @06:44AM (#2261864)
If the LSE were using F# we'd have heard a lot more about it already. For instance, from Microsoft.
Re:LSE Halts by viraptor on Friday February 25, 2011 @06:50AM (#2261869)
Maybe not if they were using F# on mono. Their PR would have to work very hard to put this in a way that doesn't say "LSE is using our language on a foreign platform using a completely alternative implementation, which has nothing to do with us apart some ECMA specs - and they're still successful without MS involvement. Yes, we just confirmed that you can trust your highly critical .NET environment to the alternative versions of runtime."
Re:LSE Halts by IDisposableHero on Friday February 25, 2011 @07:08AM (#2261896)
They have publicly stated that the system is written in C++ on Suse Linux.

http://www.computerworlduk.com/news/open-source/3260727/lond...

Re:LSE Halts by alecco on Friday February 25, 2011 @07:21AM (#2261921)
I wouldn't believe 100% in those statements.
Re:LSE Halts by IDisposableHero on Friday February 25, 2011 @07:32AM (#2261942)
True enough. If the statement turns out to be not entirely correct, that would be news.

I suspect that if there is any F# code, it's in a 3rd party system that talks to the stock exchange. There are lots of those due to the nature of an exchange, though they should all talk over the standard FIX protocol.

Re:LSE Halts by chollida1 on Friday February 25, 2011 @10:18AM (#2262415)
> I wouldn't believe 100% in those statements.

Why not? What makes you think this is a lie?

Re:LSE Halts by alecco on Friday February 25, 2011 @02:11PM (#2263380)
They systematically cover the problems and have zero transparency. Never a post-mortem. Like back in January.
Re:LSE Halts by timrobinson on Friday February 25, 2011 @07:00AM (#2261882)
OK, I wouldn't expect an official press release like this from Microsoft head office.

But the team in Microsoft Research are (a) keen to promote their language (people like Don and Brian often help early adopters personally) and (b) supportive of Mono (they've always released a .zip file for Mono at the same time as their Windows installers).

Re:LSE Halts by drstrangevibes on Friday February 25, 2011 @07:01AM (#2261883)
using a immature language (f#) over unproved software stack for an international multi billion dollar low latency transactions when there are dozens of proven highly stable functional alternatives that run well on a linux platform? I can hardly believe it
Re:LSE Halts by IDisposableHero on Friday February 25, 2011 @07:11AM (#2261901)
I don't believe it at all. Mainly because of the public statements that the new LSE trading system was written in C++.

On the other hand, it has to integrate with lots of enternal trading systems, one of which could easily be written in F#.

Re:LSE Halts by siika2000 on Friday February 25, 2011 @07:07AM (#2261892)
That's modern enterprise computing for you.