Zbr's days.

About :: TODO :: Blog :: RSS :: Old blog :: Projects :: GIT :: Gallery :: Notes

Fri, 19 Jan 2007

Brilliant idea on how to break Linux networking code completely.


I'm going to substitute sockets with netchannels, but with having backward compatibility - mainly I will replace socket lookup hash tables with netchannel's trie and will make socket as special type of netchannels, like netfilter or userspace netchannels currently.
This change is completely transparent to all users, since no API will be changed, only socket allocation/lookup/freeing.
This change us intended to allow unlimited scaling of number of sockets with constant search time (since there is only one type of wildcards sockets - listening ones, which expect incoming connection from 0.0.0.0 address, there will be only one wildcard per trie, thus searching time will be constant).

I've put this item into TODO and schedule this changes after M-on-N threading model implementation.

/devel/networking :: Link / Comments ()