News for hackers. Stuff that matters.
Re:Valkey achieved one million RPS 6 months after forking fr... by dtouitou on Saturday September 14, 2024 @12:39PM (#41540890)
Who in their right mind would use linked lists in linux kernel... hehe
Re:Valkey achieved one million RPS 6 months after forking fr... by jacobgorm on Saturday September 14, 2024 @04:16PM (#41542517)
That is not a database style workload like the one in the example with millions of elements that all had to be scanned.
Re:Valkey achieved one million RPS 6 months after forking fr... by dtouitou on Sunday September 15, 2024 @03:04AM (#41545785)
A server with 100K TCP connections isn't much different, and you might be surprised (or maybe not) by how extensively dynamic data structures are used in the TCP stack implementation. I'm not sure all of them can be made 'cache-friendly,' and embedding all layers together would make the code unmaintainable. Intensive access to external memory is inevitable when accessing a large enough number of unrelated states.