Knot is a network server as well as Haboob. The difference is the concurrency model: Knot is thread-based, instead Haboob is event-based [9]. Clearly, from the benchmark results, the poll()/epoll() mechanism is a serious bottleneck as soon as the number of active concurrent clients become relevant (in the specific case, at 16384 clients the trashing hits hardly and the benchmark ...
Read More »Home »
Scalable I/O: Events- Vs Multithreading-based
Everything begins with a refresher reading of my fundamental papers – yes, I use a set of papers and books as reference material. This paper is titled: “Why Events Are A Bad Idea (for high-concurrency servers)“, by Rob von Behren at the time of writing a PhD fellow at Berkeley [18]. Von Behren opens with: “Event-based programming has been highly touted ...
Read More »Pills of Eventual Consistency
A question raises spontaneously: why Eventual Consistency? Isn’t ACID enough? Let’s try to understand the need for Eventual Consistency guarantees when we talk about Distributed Computing on large scale, and of course Data is involved. With the advent of Internet and Cloud services, Databases and more in general Data Storage technologies have undergone a radical change: scaling out systems over replicated ...
Read More »Coding: Reversing Unordered Single Linked List using 2 Pointers
Puzzle Given an Unordered Single Linked List, provide an Algorithm to reverse such Linked List using only 2 pointers. Input A Single Linked List. Example. 1 -> 4 -> 3 -> 2 -> 0 Output A Reversed Single Linked List. Example. 0 -> 5 -> 3 -> 2 -> 1 Solution Using Java as Programming Language Complete Code Base is ...
Read More »