Vue normale

Il y a de nouveaux articles disponibles, cliquez pour rafraîchir la page.
À partir d’avant-hierFlux principal

Garnet – Le nouveau cache qui remplacera un jour Redis dans votre cœur

Par : Korben
20 mars 2024 à 09:51

J’sais pas si vous avez vu, mais l’un des plus grands contributeur au monde au logiciel libre nous a sorti un nouvel outil open source très cool baptisé Garnet. Et ce nouveau système de cache open source développé par Microsoft (oui, c’était une blague à retardement ^^) va surement faire trembler Redis et Memcached (ou pas, c’est encore trop tôt pour le savoir).

D’après les specs, Garnet est conçu pour la scalabilité et le débit poussés à fond les ballons. En gros, on peut gérer un max de requêtes sans faire sourciller votre infra et donc au final, faire des économies ! En plus, d’après le benchmark, les perfs sont juste assez dingues et les temps de latence côté client sont réduits à leur max. Comme souvent avec Microsoft, c’est visiblement du solide.

Garnet repose sur la dernière techno .NET, c’est multi plateforme et hyper extensible. Y’a une API blindée de fonctionnalités et avec le mode cluster, on peut même faire du sharding, de la réplication et de la migration dynamique de clés. Les chercheurs de Microsoft ont mis près d’une décennie à peaufiner cette technologie et c’est maintenant en place chez eux notamment dans les plateformes Windows & Web Experiences, Azure Resource Manager et Azure Resource Graph.

Microsoft a comparé Garnet aux autres solutions du marché et les résultats sont sans appel. Que ce soit en throughput ou en latence, Garnet explose tout le monde, même dans des conditions de charge de taré. Ce qui fait la différence avec Garnet, c’est surtout sa capacité à exploiter pleinement les capacités matérielles actuelles, comme les cœurs multiples, le stockage hiérarchisé et les réseaux rapides, tout en restant simple d’utilisation pour les développeurs d’applications.

Maintenant si vous voulez tester, faire des benchmark et éventuellement un jour remplacer votre Redis, Microsoft a rendu Garnet disponible sur GitHub.

Clear DirectX Shader Cache in Windows 11: Top Ways

8 mars 2024 à 14:19

Windows 11 is a robust operating system with a host of features, especially optimization features. In this guide, we explore one of them, the DirectX Shader Cache in Windows 11, and show you all the different ways to clear it when needed.

What is DirectX Shader Cache in Windows 11?

On Windows 11, the DirectX Shader is the optimization feature for storing pre-compiled versions of special instructions, which are called shaders.

Shaders are tiny programs that your graphics card understands. These programs direct the graphics card’s handling of various graphical effects.

Compiling these shaders may be time-consuming, so the cache increases optimization because pre-compiled versions are easier and faster to access.

Should I Clear the DirectX Shader Cache?

Your decision to clear the cache will depend on you. However, below are some reasons why you may want to do so.

  • To resolve performance issues – A cleared DirectX Shader cache may resolve some performance issues, including graphical glitches and stuttering.
  • Freeing up disk space – Even though the cache may not take up much space, clearing it will still free up some extra space on your computer.
  • To update the cache – If you have just updated your graphics card or installed new games, you may clear the DirectX Shader cache to fill it with new information.

How do I Clear the DirectX Shader Cache?

1. Using the Settings App

1. Lunch the Settings app by clicking Windows + I.

2. Navigate System, then Storage.

Storage Settings on Windows - Clear DirectX Shader Cache Windows 11

3. Select Temporary files.

4. Select DirectX Shader cache and click the Remove Files option at the top.

2. Clear DirectX Shader Cache Using Disk Cleanup

1. Click the Taskbar’s magnifying lens type cleanup, and click Disk Cleanup.

Opening Disk Cleanup - Clear DirectX Shader Cache Windows 11

2. Select your C drive, then click the OK button.

Selecting the C drive

3. Tick the DirectX Shader cache option and click OK.

DirectX shader cache option - Clear DirectX Shader Cache Windows 11

Do I Have to Replace the DirectX Shader Cache After Deleting It?

No, you do not have to replace it. After this cache is deleted, your operating system will automatically fill it with all the needed information.

You should also note that clearing the cache is not something you must do often. It is mainly a troubleshooting step when you face some graphical issues.

A New DirectX Shader Cache

This is all we share in this guide. If you have followed from the beginning, you already know all there is to know about the cache, and you probably already have a new DirectX Shader cache.

Were you able to clear the DirectX Shader Cache in Windows 11? Ask your questions in the comment section below.

FAQs

Does clearing the cache affect system stability?

No, this procedure will not negatively affect your system. This is because the cache is isolated storage with no permanent information.

Is it possible to disable or prevent the creation of the DirectX Shader Cache?

Windows 11 has no official way of disabling this optimization feature.

The post Clear DirectX Shader Cache in Windows 11: Top Ways appeared first on Next of Windows.

❌
❌