|
|
About ::
TODO ::
Blog ::
RSS ::
Old blog ::
Projects ::
GIT ::
Gallery ::
Notes
Sun, 17 Aug 2008
DST. BIO. Barriers. Alignment.
I actually was wrong when
talked
about problems distributed storage
may have with non-page-aligned vectors inside single block rquest. Actually neither client
nor server should not know about how another peer works with given block request. Then only
thing which should be transferred between the peers is start of the request and its size.
And of course flags and operation mode (i.e. automatic sync/barrier support and read/write operation).
That's it. Server will allocate as many pages for the request as needed for own page size,
client will also process them just like a contigous flow of bytes coming out of the network pipe,
which then are placed into number of pages client was asked to read or write. Simple.
BIO can not have holes inside it, but it can have multiple pages
to be partially filled. And this information should not be shared between the nodes at all.
Which basically means that I do not need to even think about how to handle this problems and just
complete protocol between the peers. Stay tuned!
/devel/dst :: Link / Comments ()
|