Re:Deep dive into the UK air traffic control meltdown
by madeofpalk on Monday September 11, 2023 @12:55PM
(#37470073)
That's like saying that because one browser tab tried to parse some invalid JSON then my whole browser should crash.
[ Parent
| on HN ]
Re:Deep dive into the UK air traffic control meltdown
by zimpenfish on Monday September 11, 2023 @01:20PM
(#37470426)
No, it's more like saying your browser has detected possible internal corruption with, say, its history or cookies database and should stop writing to it immediately. Which probably means it has to stop working.
Re:Deep dive into the UK air traffic control meltdown
by ludwik on Monday September 11, 2023 @02:08PM
(#37471155)
It definitely isn't. It was just a validation error in one of thousands external data files that the system processes. Something very routine for almost any software dealing with data.
Re:Deep dive into the UK air traffic control meltdown
by Spivak on Monday September 11, 2023 @01:20PM
(#37470425)
Well yes because you're describing a system where there are really low stakes and crash recovery is always possible because you can just throw away all your local state.
The flip side would be like a database failing to parse some part of its WAL log due to disk corruption and just said, "eh just delete those sections and move on."
Re:Deep dive into the UK air traffic control meltdown
by madeofpalk on Monday September 11, 2023 @01:41PM
(#37470750)
Crash the tab and allow all the others to carry on!
The problem here is that one individual document failed to parse.
Re:Deep dive into the UK air traffic control meltdown
by haimez on Monday September 11, 2023 @06:52PM
(#37474778)
The other “tabs” here are other airplanes in flight, depending on being able to land before they run out of fuel. You don’t just ignore one and move on.
Re:Deep dive into the UK air traffic control meltdown
by adrianmonk on Monday September 11, 2023 @01:59PM
(#37471030)
You don't know that the JSON is invalid. Maybe the JSON is perfect and your parser is broken.