Academy and Foundation unixmens | Your skills, Your future
2.28K subscribers
6.65K photos
1.36K videos
1.23K files
5.97K links
@unixmens_support
@yashar_esm
unixmens@gmail.com
یک کانال علمی تکنولوژی
فلسفه متن باز-گنو/لینوکس-امنیت - اقتصاد
دیجیتال
Technology-driven -بیزینس های مبتنی بر تکنولوژی
Enterprise open source
ارایه دهنده راهکارهای ارتقای سازمانی - فردی - تیمی
Download Telegram
سالها پیش این کتاب را نوشته بودم // تقدیم به عزیزان https://www.dropbox.com/s/ldpqg4a9ycyip8e/squid.pdf?dl=0 #rman #linux #cache #proxy @unixmens #yashar_esmaildokht
Forwarded from Academy and Foundation unixmens | Your skills, Your future (yashar esmaildokht 🐧)
سالها پیش این کتاب را نوشته بودم // تقدیم به عزیزان https://www.dropbox.com/s/ldpqg4a9ycyip8e/squid.pdf?dl=0 #rman #linux #cache #proxy @unixmens #yashar_esmaildokht
Forwarded from Academy and Foundation unixmens | Your skills, Your future (yashar esmaildokht 🐧)
سالها پیش این کتاب را نوشته بودم // تقدیم به عزیزان https://www.dropbox.com/s/ldpqg4a9ycyip8e/squid.pdf?dl=0 #rman #linux #cache #proxy @unixmens #yashar_esmaildokht
Forwarded from Academy and Foundation unixmens | Your skills, Your future (yashar esmaildokht 🐧)
سالها پیش این کتاب را نوشته بودم // تقدیم به عزیزان https://www.dropbox.com/s/ldpqg4a9ycyip8e/squid.pdf?dl=0 #rman #linux #cache #proxy @unixmens #yashar_esmaildokht
Forwarded from Academy and Foundation unixmens | Your skills, Your future (yashar esmaildokht 🐧)
سالها پیش این کتاب را نوشته بودم // تقدیم به عزیزان https://www.dropbox.com/s/ldpqg4a9ycyip8e/squid.pdf?dl=0 #rman #linux #cache #proxy @unixmens #yashar_esmaildokht
Forwarded from Academy and Foundation unixmens | Your skills, Your future (yashar esmaildokht 🐧)
سالها پیش این کتاب را نوشته بودم // تقدیم به عزیزان https://www.dropbox.com/s/ldpqg4a9ycyip8e/squid.pdf?dl=0 #rman #linux #cache #proxy @unixmens #yashar_esmaildokht
Forwarded from Academy and Foundation unixmens | Your skills, Your future (yashar esmaildokht 🐧)
سالها پیش این کتاب را نوشته بودم // تقدیم به عزیزان https://www.dropbox.com/s/ldpqg4a9ycyip8e/squid.pdf?dl=0 #rman #linux #cache #proxy @unixmens #yashar_esmaildokht
Forwarded from Academy and Foundation unixmens | Your skills, Your future (yashar esmaildokht 🐧)
سالها پیش این کتاب را نوشته بودم // تقدیم به عزیزان https://www.dropbox.com/s/ldpqg4a9ycyip8e/squid.pdf?dl=0 #rman #linux #cache #proxy @unixmens #yashar_esmaildokht
اسکویید (Squid) یک پراکسی سرور web cacheing (ذخیره کننده وب) است که معمولا برای سرعت بخشیدن به صفحات وب و به اشتراک گذاشتن اینترنت در یک شبکه استفاده می شود و از پروتکلهای SSL, FTP, HTTP در وب پشتیبانی می کند.

این قابلیت موجب استفاده بهینه از پهنای باند خطوط ارتباطی موجود و نیز افزایش کارایی و سرعت سرویس دهنده های وب میگردد

عملکرد Squid

در واقعSquid واسطه ای است بین کامپیوترهای یک شبکه محلی و اینترنت.در اصل، اين سرويس كل ترافيك ورودي و خروجي اينترنت را بازرسي می کند. امروزه يكي از بيشترين موارد استفاده Squid (به دليل بالا بودن قيمت اينترنت)در کشینگ پهنای باند مصرفی است.



این تکنیک تاثیر به سزایی در سرعت دیدن صفحات تکراری وب و یا ذخیره کردن فایل های رسانه ای (media) دارد. Squid با هر بار باز شدن صفحات وب از طرف كاربران داخل شبكه، يك كپي از آن صفحه را براي خود نگه ميدارد. و در فراخوانی های بعدی بلافاصله اطلاعات درخواستي ذخيره شده در cache را به کاربر نمایش می دهد.



مزایای Squid

1-open source
2-proxy cache

2-1-Proxy:

2-1-1-ﺍﺳﻜﻦ ﻣﺤﺘﻮﺍﻱ ﺩﺭﻳﺎﻓﺖ ﺷﺪﻩ ﺍﺯ ﻭﺏ ﺟﻬﺖ ﻳﺎﻓﺘﻦ ﺑﺪ ﺍﻓﺰﺍﺭﻫﺎﻱ ﺍﺣﺘﻤﺎلی.
2-1-2-ﺍﻋﻤﺎل Policy های امنیتی(فایروالینگ)
2.1.3-ﻛﻨﺘﺮﻝ ﻣﺼﺮﻑ ﭘﻬﻨﺎﻱ ﺑﺎﻧﺪ ﻭ ﺗﺮﺍﻓﻴﻚ ﺍﻳﻨﺘﺮﻧﺘﻲ (delay pool)
2-1-4-اسكن محتواي خارج شده از شبكه
2-1-5-عبور از محدوديت هاي منطقه اي *

2-2-Caching

2-2-1-کاهش هزینه های اینترنت (ﺻﺮﻓﻪ ﺟﻮﻳﻲ ﺩﺭ ﭘﻬﻨﺎﻱ ﺑﺎﻧﺪ)
2-2-2-ﺍﻓﺰﺍﻳﺶ ﺳﺮﻋﺖ اینترنت (با استفاده از cache )
2-2-3-دسترسی به محتوای offline (مثل فیلم هایی که یک بار دانلود شده اند یا مستندات)

3-پشتیبانی از http و ftp,SLL
4-گزارش گیری Full Logging
5- accounting
6- reverse proxy
و ...





#squid #cache #proxy


🌐 @unixmens
Forwarded from Academy and Foundation unixmens | Your skills, Your future (yashar esmaildokht 🐧)
سالها پیش این کتاب را نوشته بودم // تقدیم به عزیزان https://www.dropbox.com/s/ldpqg4a9ycyip8e/squid.pdf?dl=0 #rman #linux #cache #proxy @unixmens #yashar_esmaildokht
Bcache, cachefs and cachefilesd are three different caching solutions that can improve the performance of disk access. Bcache is a block-level cache that uses an SSD as a cache for another block device, such as a hard disk. Cachefs is a file-level cache that uses a directory on a local disk as a cache for network filesystems, such as AFS or NFS3. Cachefilesd is a daemon that manages the cachefs data store and communicates with the kernel module cachefiles. Some of the benefits of using bcache are:

It can speed up random read and write operations on slow disks by using fast SSDs as cache.
It can handle files that are larger than the cache size by caching partial extents.
It can protect data integrity by reliably handling unclean shutdowns and IO errors.
It can bypass the cache for sequential IO and large file copies to avoid cache pollution.
Some of the benefits of using cachefs and cachefilesd are:

They can reduce network traffic and latency by caching data locally on disk.
They can automatically adjust the cache size according to the available disk space and culling limits.
They can work with any network filesystem that supports FS-Cache, such as AFS or NFS.
They can hide IO errors that occur in the cache from the client filesystem driver.



https://lnkd.in/gneuxUSe


#linux #storage #yashar_esmaildokht #cachefs #zfs #bcache #kernel #cache
varnish cache
3.2 MB
مقاله ای که سال ها پیش نوشته بودم تقدیم عزیزان
این مقاله در مورد varnish cache هست
Varnish Cache is a powerful web application accelerator, also known as a caching HTTP reverse proxy, that is designed to significantly enhance the performance of dynamic, content-heavy websites. It works by storing a copy of a webpage's resources in memory the first time a user requests that page and subsequently serving that cached content to future users, reducing the load on the backend server and speeding up response times.

#varnish #cache #linux #net #network #cache #yashar_esmaildokht


https://t.me/unixmens
varnish cache
3.2 MB
مقاله ای که سال ها پیش نوشته بودم تقدیم عزیزان
این مقاله در مورد varnish cache هست
Varnish Cache is a powerful web application accelerator, also known as a caching HTTP reverse proxy, that is designed to significantly enhance the performance of dynamic, content-heavy websites. It works by storing a copy of a webpage's resources in memory the first time a user requests that page and subsequently serving that cached content to future users, reducing the load on the backend server and speeding up response times.

#varnish #cache #linux #net #network #cache #yashar_esmaildokht


https://t.me/unixmens
Bcache, cachefs and cachefilesd are three different caching solutions that can improve the performance of disk access. Bcache is a block-level cache that uses an SSD as a cache for another block device, such as a hard disk. Cachefs is a file-level cache that uses a directory on a local disk as a cache for network filesystems, such as AFS or NFS3. Cachefilesd is a daemon that manages the cachefs data store and communicates with the kernel module cachefiles. Some of the benefits of using bcache are:

It can speed up random read and write operations on slow disks by using fast SSDs as cache.
It can handle files that are larger than the cache size by caching partial extents.
It can protect data integrity by reliably handling unclean shutdowns and IO errors.
It can bypass the cache for sequential IO and large file copies to avoid cache pollution.
Some of the benefits of using cachefs and cachefilesd are:

They can reduce network traffic and latency by caching data locally on disk.
They can automatically adjust the cache size according to the available disk space and culling limits.
They can work with any network filesystem that supports FS-Cache, such as AFS or NFS.
They can hide IO errors that occur in the cache from the client filesystem driver.



https://lnkd.in/gneuxUSe


#linux #storage #yashar_esmaildokht #cachefs #zfs #bcache #kernel #cache
در واقع Bcache یک ماژول کرنل لینوکس است که اجازه می دهد تا یک دیسک سخت را به عنوان حافظه کش استفاده کنید. با فعال کردن Bcache بر روی یک دیسک سخت، داده هایی که به سمت دیسک سخت می روند ابتدا در حافظه کش Bcache ذخیره می شوند و در صورت نیاز به سرعت از آن استفاده می کنند. این بهبود عملکرد سیستم عامل و افزایش سرعت بارگیری و ذخیره سازی داده ها می تواند منجر به بهبود کارایی و کاهش زمان تاخیر در سیستم شود.
همچنین Bcache از ترکیب SSD و HDD برای افزایش سرعت و بهره وری استفاده می کند. به عنوان مثال، با استفاده از یک SSD به عنوان حافظه کش و یک HDD به عنوان فضای ذخیره سازی، می توانید بهره وری بالاتری در مقایسه با استفاده از یک دیسک سخت تنها داشته باشید.
از آنجا که Bcache برای افزایش سرعت استفاده می شود، نباید برای ذخیره سازی داده های حیاتی استفاده شود. بهتر است از Bcache به عنوان یک حافظه کش استفاده کنید و داده های حیاتی را در دیسک سخت یا حافظه های دیگر ذخیره کنید.
این سیستم فایل باعث می‌شود که داده‌هایی که بیشتر دسترسی دارند روی SSD ذخیره شوند و بنابراین سرعت خواندن و نوشتن آن‌ها افزایش یابد. bcache همچنین از الگوریتم‌های هوشمندانه‌ای برای مدیریت کش و همگام‌سازی داده‌ها بین دو دیسک استفاده می‌کند.

برای استفاده از bcache در لینوکس، ابتدا باید یک پارتیشن را برای SSD اختصاص دهید و آن را به عنوان backing device معرفی کنید. سپس باید یک پارتیشن را برای HDD اختصاص دهید و آن را به عنوان caching device معرفی کنید. در نهایت، باید یک سیستم فایل را روی backing device ایجاد کنید

bcache یک سیستم فایل جالب و قابل توجه است که می‌تواند عملکرد سیستم شما را بهبود بخشد. البته، همانطور که در هر فناوری جدید وجود دارد، bcache هم ممکن است با مشکلات و محدودیت‌های خود روبرو شود. برای مثال، اگر SSD شما خراب شود، ممکن است داده‌های ناقص یا غیرقابل بازیابی روی HDD شما باقی بماند. یا اگر HDD شما خراب شود، ممکن است داده‌های جدید یا تغییر یافته روی SSD شما همگام نشده باشد. بنابراین، قبل از استفاده از bcache، لازم است که از داده‌های خود پشتیبان تهیه کنید .

Bcache, cachefs and cachefilesd are three different caching solutions that can improve the performance of disk access. Bcache is a block-level cache that uses an SSD as a cache for another block device, such as a hard disk. Cachefs is a file-level cache that uses a directory on a local disk as a cache for network filesystems, such as AFS or NFS3. Cachefilesd is a daemon that manages the cachefs data store and communicates with the kernel module cachefiles.


نویسنده : یاشار اسمعیل دخت

#storage #cache #ssd #storage #performance
#yashar_esmaildokht

https://www.slideshare.net/yasharesmaildokht/bcache-and-cachefs-its-benefits


https://t.me/unixmens