server’s cache and L2 can be storage cache of proxy server. This
paper has considered L1 as proxy server cache and L2 as storage
cache of proxy server as shown in fig. 1. Major difference in the
processors cache and the web cache is that in processor cache the
page size is fixed, while in web cache the page size can vary and
caching of a particular page may be dependent upon various
factors such as cost, bandwidth, time, delay, popularity etc.
Whenever a page is requested first of the entire request will go
the proxy server. Proxy server will check its L1 and L2 cache if
the page is found the request will be served otherwise the request
will go to the main server and brought to the proxy server and
then served to the clients. Initially if a page is requested then it
will suffer from initial miss or compulsory miss. As the cache
size is limited, practically it will not be able to cache all the
pages. When cache is saturated and a request for page arrives
which is not in the cache then a miss occurs, with the help of
page replacement algorithms one of the page is to be evicted to
create space for the page requested by the clients.
Page replacement algorithms are designed on the basis of
principle of locality. The principle of locality can be spatial or
temporal. The selection of effective replacement policy will be
helpful in better utilization of Cache. Mostly the replacement
algorithms LRU, LFU, FIFO [1, 2] etc are used to find out the
victim page on L1. The pages which are accessed very
frequently, called as hot pages or popular pages should reside in
L1. When a page is evicted from L1, it is placed in L2, so L2 is
accessed only when the requested page is not found in L1. Above
discussion clarifies that the access to L2 is having poor temporal
locality then to L1, resulting in dissimilar principle of locality,
thus the same replacement algorithms for both L1 and L2 may
not be effective.
แคชเซิร์ฟเวอร์และสามารถจัดเก็บแคช L2 ของพร็อกซี่เซิร์ฟเวอร์ นี้กระดาษได้ถือว่าเป็นเซิร์ฟเวอร์พร็อกซี่แคช L1 L2 เป็นกระเป๋าและแคชของเซิร์ฟเวอร์พร็อกซี่ดังแสดงในรูปที่ 1 แตกต่างที่สำคัญในโปรเซสเซอร์แคชและแคชของหน้าเว็บที่อยู่ในโปรเซสเซอร์แคชขนาดของหน้าคงที่ ในขณะที่อยู่ในแคชของหน้าเว็บเพจขนาดอาจแตกต่างกัน และการใช้แคชของเพจที่เฉพาะเจาะจงอาจขึ้นอยู่กับต่าง ๆปัจจัยดังกล่าวเป็นค่าใช้จ่ายแบนด์วิดธ์ , เวลา , ถ่วงเวลา , ความนิยม ฯลฯเมื่อใดก็ตามที่หน้ามีการร้องขอแรกของคำขอทั้งหมด จะ ไปพร็อกซี่เซิร์ฟเวอร์ พร็อกซีเซิร์ฟเวอร์จะตรวจสอบของ L1 และ L2 แคช ถ้าหน้าพบการร้องขอจะถูกเสิร์ฟอย่างอื่นขอไปที่เซิร์ฟเวอร์หลักและเซิร์ฟเวอร์พร็อกซี่ และนำมาแล้วเสิร์ฟให้ลูกค้า ตอนแรกถ้าหน้ามีการร้องขอแล้วจะประสบจากคุณเริ่มต้นหรือบังคับคุณ เป็นแคชขนาดจำกัด ในทางปฏิบัติจะไม่สามารถแคชทั้งหมดหน้า เมื่อแคชจะอิ่มตัวและร้องขอหน้ามาถึงซึ่งไม่ได้อยู่ในแคชแล้วพลาดเกิดขึ้น ด้วยความช่วยเหลือของหน้าเปลี่ยนอัลกอริทึมหนึ่งของหน้าจะถูกไล่ออกไปสร้างพื้นที่สำหรับเพจที่ร้องขอ โดยลูกค้าหน้าขั้นตอนวิธีการแทนที่ถูกออกแบบบนพื้นฐานของหลักการของท้องถิ่น หลักการของท้องถิ่นสามารถเชิงพื้นที่หรือชั่วคราว การเลือกนโยบายที่มีประสิทธิภาพจะเปลี่ยนประโยชน์ในการใช้ประโยชน์ที่ดีขึ้นของแคช ส่วนใหญ่แทนขั้นตอนวิธีการเลย lfu FIFO , [ 1 , 2 ] ฯลฯ จะใช้เพื่อหาเหยื่อในหน้าภาษาไทย หน้าเว็บซึ่งเข้าถึงได้มากบ่อย เรียกว่าเป็นหน้าร้อน หรือควรอยู่ในหน้านิยมภาษาไทย เมื่อหน้าถูกขับไล่จาก L1 , มันถูกวางไว้ใน L2 , L2 เป็นดังนั้นเข้าถึงได้เฉพาะเมื่อมีการร้องขอหน้าไม่พบใน ภาษาไทย ข้างบนการอภิปรายชี้แจงว่า การเข้าถึง L2 มียากจนชั่วคราวท้องที่แล้ว L1 , ผลในหลักการที่แตกต่างกันของภายในดังนั้นเดียวกันเปลี่ยนอัลกอริทึมทั้ง L1 และ L2 อาจไม่ได้มีประสิทธิภาพ
การแปล กรุณารอสักครู่..
