home.social

#cache — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #cache, aggregated by home.social.

  1. Was just checking out some tvix talks, the tvix-store is certainly attractive with even the replit blog mentioning about 90% storage reduction in cache storage. Even devenv switched to tvix.

    But I couldn't see any docs on how can I start using it in my nixos or atleast for nix shells, etc

    Am I missing out something or any views on this would help me
    #nix #tvix #cache #devenv #replit

  2. Чем хороша моя профессия: всегда есть чему научиться интересному. Например, всегда знал про proxy_cache в nginx, но никогда не замечал proxy_store. А разница существенная! Если первый - временное хранилище в собственном формате, то второе - хранение полученного 1-в-1 без чисток. Идеально, чтобы простым конфигом сделать кеш реп любого нужного дистриба Linux и т.д. Сегодня на FreeBSD затестировал этот вариант и пакетики легли на локальный сервер для повторных запросов.

    #nginx #freebsd #cache

  3. Как я построил кеш страниц для многодоменного проекта с помощью PVC и кастомного подхода

    У меня был проект, где один Next.js сайт обслуживал несколько доменов, и возникла задача — эффективно кешировать страницы, чтобы не пересоздавать их каждый раз. Сначала я попробовал внедрить кеширование через Redis: я написал хендлер, подключил его, но вскоре обнаружил, что Redis потребляет колоссальный объём оперативной памяти — порядка 100 ГБ, и это при том, что ещё не все запросы были закешированы. Тогда я решил поискать другой подход и обратил внимание на PVC — общее хранилище, которое могли бы использовать все поды. Я начал изучать варианты работы с PVC и довольно быстро пришёл к идее общего кеш‑хранилища для всех подов. Я попробовал просто писать данные в PVC, но столкнулся с проблемой: каждый раз, когда под поднимался, он перезаписывал кеш. До тех пор, пока не подняты все поды, данные постоянно перезаписывались, а мне нужно было, чтобы первый под записал данные, а последующие только читали их. Я начал искать, как сделать кастомный кеш‑хендлер, но готовых решений не нашёл.

    habr.com/ru/articles/1028314/

    #pvc #nextjs #redis #cache #next #node

  4. #Nix should be able to request that the #cache server's it's connected to - assuming it has permission - to compile and deliver packages if needed.

  5. Un système de cache par couches qui permet de gérer les systèmes distribués. Pas testé mais l'approche semble cohérente si vous recevez énormément de trafic.

    🔗 github.com/flyingsquirrel0419/

    #cache

  6. O profiling apontou o gargalo. A mesma query rodando dezenas de vezes por requisição, resultado idêntico toda vez.

    Novo artigo: quando usar lru_cache, quando partir pro cachetools com TTL e quando o Redis é inevitável — com exemplo concreto de cache injetável via Dishka.

    riverfount.dev.br/posts/cache-

    #python #performance #redis #cache

  7. Гибридный кэш на базе Redis в серверной разработке

    В серверной разработке кэш влияет не только на скорость ответа. От него напрямую зависят стоимость обработки запроса, нагрузка на базу, поведение системы под пиком и предсказуемость масштабирования. Именно поэтому практика кэширования имеет сегодня столько нюансов и разновидностей, если вы хотите реализовать что-то особенное или применить сложную схему кэширования, от ваших специалистов потребуются специальные навыки и умения. Под катом — рассказ о том, как мы ушли от кастомного кода к использованию гибридного кэша из .Net Framework, с какими сложностями столкнулись на этапе масштабирования системы, и как решали вопросы инвалидации кэша в процессе развития нашего проекта API Hub .

    habr.com/ru/companies/cloud_x/

    #cloud_x_group #redis #кэш #cache #гибридный_кэш #кейс #оптимизация_запросов

  8. 🎩🤖 Oh no, the sky is falling! #Anthropic sneakily adjusted some #cache #settings, and now #developers everywhere are losing their marbles over a setting that only a robot could love. Quick, call #GitHub Copilot! Surely, #AI can save us from the horrors of a 5-minute TTL! 🚀🔧
    github.com/anthropics/claude-c #Copilot #tech #news #HackerNews #ngated

  9. In case it helps anyone else: I've been off mastodon a couple days because the pages wouldn't render (were #blank)I . The console showed several "failed to find a valid digest in the 'integrity' attribute for resource... with computed SHA-384 integrity... The resource has been blocked" errors.

    Guessing that it was comparing to some cached data I deleted the #cache and that fixed it. {edit: I actually cleared cache A N D #cookies, but forgot until it happened again. See below.}

  10. In case it helps anyone else: I've been off mastodon a couple days because the pages wouldn't render (were #blank)I . The console showed several "failed to find a valid digest in the 'integrity' attribute for resource... with computed SHA-384 integrity... The resource has been blocked" errors.

    Guessing that it was comparing to some cached data I deleted the #cache and that fixed it. {edit: I actually cleared cache A N D #cookies, but forgot until it happened again. See below.}

  11. In case it helps anyone else: I've been off mastodon a couple days because the pages wouldn't render (were #blank)I . The console showed several "failed to find a valid digest in the 'integrity' attribute for resource... with computed SHA-384 integrity... The resource has been blocked" errors.

    Guessing that it was comparing to some cached data I deleted the #cache and that fixed it. {edit: I actually cleared cache A N D #cookies, but forgot until it happened again. See below.}

  12. In case it helps anyone else: I've been off mastodon a couple days because the pages wouldn't render (were #blank)I . The console showed several "failed to find a valid digest in the 'integrity' attribute for resource... with computed SHA-384 integrity... The resource has been blocked" errors.

    Guessing that it was comparing to some cached data I deleted the #cache and that fixed it. {edit: I actually cleared cache A N D #cookies, but forgot until it happened again. See below.}

  13. In case it helps anyone else: I've been off mastodon a couple days because the pages wouldn't render (were #blank)I . The console showed several "failed to find a valid digest in the 'integrity' attribute for resource... with computed SHA-384 integrity... The resource has been blocked" errors.

    Guessing that it was comparing to some cached data I deleted the #cache and that fixed it.

  14. 🎉🎊 Wow, #AMD managed to squeeze #208MB of #cache into a single chip! 📦🚀 Meanwhile, my toaster just made #toast without crashing. Truly #groundbreaking #tech journalism from #Ars #Technica, where #chip #specs are the new bedtime story. 😂💤
    arstechnica.com/gadgets/2026/0 #HackerNews #ngated

  15. 🎉🎊 Wow, #AMD managed to squeeze #208MB of #cache into a single chip! 📦🚀 Meanwhile, my toaster just made #toast without crashing. Truly #groundbreaking #tech journalism from #Ars #Technica, where #chip #specs are the new bedtime story. 😂💤
    arstechnica.com/gadgets/2026/0 #HackerNews #ngated

  16. 🎉🎊 Wow, #AMD managed to squeeze #208MB of #cache into a single chip! 📦🚀 Meanwhile, my toaster just made #toast without crashing. Truly #groundbreaking #tech journalism from #Ars #Technica, where #chip #specs are the new bedtime story. 😂💤
    arstechnica.com/gadgets/2026/0 #HackerNews #ngated

  17. 🎉🎊 Wow, #AMD managed to squeeze #208MB of #cache into a single chip! 📦🚀 Meanwhile, my toaster just made #toast without crashing. Truly #groundbreaking #tech journalism from #Ars #Technica, where #chip #specs are the new bedtime story. 😂💤
    arstechnica.com/gadgets/2026/0 #HackerNews #ngated

  18. Here Is The Unvarnished Truth About Google’s TurboQuant: Jevons Paradox Prevails, Memory Crunch To Continue Google's new algorithm that dramatically compresses KV cache in a lossless fashion,...

    #Featured #News #AI #Google #KV #Cache #Memory #TurboQuant #Mobile

    Origin | Interest | Match
  19. Here Is The Unvarnished Truth About Google’s TurboQuant: Jevons Paradox Prevails, Memory Crunch To Continue Google's new algorithm that dramatically compresses KV cache in a lossless fashion,...

    #Featured #News #AI #Google #KV #Cache #Memory #TurboQuant #Mobile

    Origin | Interest | Match
  20. Hype for the Future 146M → National Forests in Utah

    Overview Within the State of Utah, the notable national forest units include the Ashley, Dixie, Fishlake, Manti-La Sal, and Uinta-Wasatch-Cache National Forests. Though the vast majority of the forested areas of the State are associated with the Rocky Mountains on the eastern side, national forest units and ranger districts are also notable for protecting mountainous zones even immediately to the east of the urban corridor of the Wasatch Front. Today, the Ashley National Forest is associated […]

    novatopflex.wordpress.com/2026

  21. Hype for the Future 146M → National Forests in Utah

    Overview Within the State of Utah, the notable national forest units include the Ashley, Dixie, Fishlake, Manti-La Sal, and Uinta-Wasatch-Cache National Forests. Though the vast majority of the forested areas of the State are associated with the Rocky Mountains on the eastern side, national forest units and ranger districts are also notable for protecting mountainous zones even immediately to the east of the urban corridor of the Wasatch Front. Today, the Ashley National Forest is associated […]

    novatopflex.wordpress.com/2026

  22. Hype for the Future 146M → National Forests in Utah

    Overview Within the State of Utah, the notable national forest units include the Ashley, Dixie, Fishlake, Manti-La Sal, and Uinta-Wasatch-Cache National Forests. Though the vast majority of the forested areas of the State are associated with the Rocky Mountains on the eastern side, national forest units and ranger districts are also notable for protecting mountainous zones even immediately to the east of the urban corridor of the Wasatch Front. Today, the Ashley National Forest is associated […]

    novatopflex.wordpress.com/2026

  23. Hype for the Future 146M → National Forests in Utah

    Overview Within the State of Utah, the notable national forest units include the Ashley, Dixie, Fishlake, Manti-La Sal, and Uinta-Wasatch-Cache National Forests. Though the vast majority of the forested areas of the State are associated with the Rocky Mountains on the eastern side, national forest units and ranger districts are also notable for protecting mountainous zones even immediately to the east of the urban corridor of the Wasatch Front. Today, the Ashley National Forest is associated […]

    novatopflex.wordpress.com/2026

  24. Hype for the Future 146M → National Forests in Utah

    Overview Within the State of Utah, the notable national forest units include the Ashley, Dixie, Fishlake, Manti-La Sal, and Uinta-Wasatch-Cache National Forests. Though the vast majority of the forested areas of the State are associated with the Rocky Mountains on the eastern side, national forest units and ranger districts are also notable for protecting mountainous zones even immediately to the east of the urban corridor of the Wasatch Front. Today, the Ashley National Forest is associated […]

    novatopflex.wordpress.com/2026

  25. Введение в высокопроизводительные вычисления на С++ для CPU

    " Поскольку вы программист на C++, вероятность того, что вы слегка одержимы производительностью, выше среднего. А если нет, то вы, вероятно, по крайней мере с пониманием относитесь к такой точке зрения. (Если производительность вас совсем не интересует, аудитория Python разработчиков дальше по коридору) " — Из пункта 42 книги С. Майерса “Effective Modern C++”, 2015. Эта заметка описывает мой личный взгляд на то, как писать эффективный и надежный код для CPU. Статья ориентируется на С++, но значительная часть обсуждения CPU, кэшей, паттернов доступа к памяти и профилирования применима к Rust, Go и другим компилируемым языкам. Статья задумана как краткое введение и больше всего подходит студентам, имеющим опыт программирования на занятиях, но не в реальных проектах. Для профессионалов статья может быть полезной в качестве референса, чтобы не пугать новичков чем-то в духе Что каждый программист должен знать о памяти . В статье опишу "набор новичка": godbolt.org, профилирование, бенчмарки, особенности CPU и его взаимодействия с памятью, когда есть ли смысл от асимптотических оптимизаций и почему важно при этом пользоваться санитайзерами, отслеживать coverage и вообще более трепетно относится к надёжности.

    habr.com/ru/articles/1011014/

    #высокопроизводительные_вычисления #cpu #ram #cache #simd #оптимизация #профилирование

  26. DeepSeek-V3 Model: Theory, Config, and Rotary Positional Embeddings Table of Contents DeepSeek-V3 Model: Theory, Config, and Rotary Positional Embeddings Introduction to the DeepSeek-V3 Model The F...

    #DeepSeek-V3 #KV #Cache #MultiHead #Latent #Attention #RoPE #Tutorial #deepseekv3 #kv #cache

    Origin | Interest | Match
  27. Инвалидация nginx кэша

    Высоконагруженная система. Несколько миллионов страниц. Много сервисов, много данных. Имеются кэши разного уровня. Возникла идея сделать полный html кэш страницы. Достаем с полки nginx, ставим перед системой, включаем кэширование запросов. Работает. Но как быть, если данные изменяются? Надо сбрасывать кэш.

    habr.com/ru/articles/1007944/

    #nginx #javascript #cache #njs

  28. Инвалидация nginx кэша

    Высоконагруженная система. Несколько миллионов страниц. Много сервисов, много данных. Имеются кэши разного уровня. Возникла идея сделать полный html кэш страницы. Достаем с полки nginx, ставим перед системой, включаем кэширование запросов. Работает. Но как быть, если данные изменяются? Надо сбрасывать кэш.

    habr.com/ru/articles/1007944/

    #nginx #javascript #cache #njs

  29. Инвалидация nginx кэша

    Высоконагруженная система. Несколько миллионов страниц. Много сервисов, много данных. Имеются кэши разного уровня. Возникла идея сделать полный html кэш страницы. Достаем с полки nginx, ставим перед системой, включаем кэширование запросов. Работает. Но как быть, если данные изменяются? Надо сбрасывать кэш.

    habr.com/ru/articles/1007944/

    #nginx #javascript #cache #njs

  30. Инвалидация nginx кэша

    Высоконагруженная система. Несколько миллионов страниц. Много сервисов, много данных. Имеются кэши разного уровня. Возникла идея сделать полный html кэш страницы. Достаем с полки nginx, ставим перед системой, включаем кэширование запросов. Работает. Но как быть, если данные изменяются? Надо сбрасывать кэш.

    habr.com/ru/articles/1007944/

    #nginx #javascript #cache #njs

  31. Кэш-монтирование или Cache mount в Docker. Использование кэш-монтирования в GitLab CI/CD

    Кэш-монтирование в Docker — это мощный инструмент, который может значительно ускорить процесс сборки образов в CI/CD. Но его правильная настройка в GitLab требует понимания не только работы BuildKit, но и особенностей взаимодействия с различными конфигурациями GitLab Runner — DinD и DooD. В этой статье я расскажу об устройстве кэш-монтирования в Docker и как его использовать в GitLab CI/CD. На примере простой сборки Python-проекта покажу готовые решения для кэширования зависимостей, чтобы оптимизировать сборку Docker-образов.

    habr.com/ru/articles/995528/

    #docker #deploy #gitlab #python #cache #dockerfile #cicd #dind #buildkit #git