webserver - Does concatenation improves I/O performance? -
http/2 nice improvement, don't have network overhead related creating multiple connections download multiple files, , recommended stop concatenating js , css files improve caching, i'm not sure if perspective of i/o, having read multiple files hard drive impact performance.
i don't know if web servers apache or nginx have ram caching of frequent files , avoids i/o overhead , can stop concatenating , stop worrying this.
no, having read multiple files hard disk won't worsen performance, specially if using current crop of ssd hard-drives. have amazing performance , them network bandwidth, ssl , else bottlenecks.
also, operating systems automatically cache in ram accessed files, feature doesn't need built web server, because built operating system. , works if using magnetic drives.
there 1 thing though. (at shimmercat.com) have noticed compression suffers having multiple small files instead of concatenated one. in sense, have been nice if http/2 had included compression format sdch ... should matter more particularly small files big files. in all, think cache benefits small files worth it.
Comments
Post a Comment