Reply to post: Re: Banking isn't really a highly computational process

How does Monzo keep 1,600 microservices spinning? Go, clean code, and a strong team

Lee D Silver badge

Re: Banking isn't really a highly computational process

"To put this into context, every fixed line call in Germany has to go through a complete lookup of the portability database. That's a database listing every number that has ever been ported. That's millions of datasets. The lookup works with a simple barely optimized program which rarely takes more than a millisecond to look up a dataset, even on a very modest computer."

I should damn well hope so. Sorry, but it's 2020, and you're doing a lookup from a list of, say, millions of numbers to retrieve a small set of data associated with it?

There's no way it's searching one-by-one... it's hashing prefixes and following trees. If it touches 13, 14 entries for comparision, I'll be amazed. And at 3GHz, even, that's literally taking fractions of a millisecond, even if it takes hundreds of thousands of instructions on an in-memory lookup (a million data rows is NOTHING to keep in main memory).

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon


Biting the hand that feeds IT © 1998–2020