Optimizing stateless servers Consider a connectionless server for file reading Wefⅰnd Overhead of opening and closing file Clients may read only a dozen bytes in each equest Clients tend to read files sequentially To optimize the performance Maintain a small table of file information State information 哈工大计算机学院李全龙 Network Application Development Server Software Desi哈工大计算机学院 李全龙 Network Application Development Server Software Design 7 Optimizing stateless servers Consider a connectionless server for file reading We find: Overhead of opening and closing file Clients may read only a dozen bytes in each request Clients tend to read files sequentially To optimize the performance Maintain a small table of file information State information