#caching

[ follow ]
Software development
fromInfoQ
2 days ago

One Cache to Rule Them All: Handling Responses and In-Flight Requests with Durable Objects

Treat in-flight work and cached completed responses as two states of the same per-key cache entry to eliminate duplicate computations and reduce thundering-herd effects.
fromThedrum
2 days ago

Aston Darby: Improving site speed through development optimisations

Speed is critical to the way users interact with websites. Google research shows that bounce rate increases dramatically the longer a site takes to load on mobile. Those that have a 3-second delay risk an increase of 32%, while those that take up to 10 seconds can expect to see it increase by 123%. When we were hired by investment firm Aston Darby to help with their digital marketing, the slowness of their site was one of the first issues we identified. When we first started with them, the site took around seven seconds to load. By the time we'd implemented our optimisations, that figure dropped to just three seconds.
fromGitHub
1 week ago

GitHub - puffinsoft/syntux: Generative UIs for the web.

How does generation work? (Does it generate source code?)Generated UIs must be secure, reusable and cacheable. As such, syntux does not generate source code. It generates a schema for the UI, known as a "React Interface Schema" (RIS). See the question below to get a better understanding. This schema is tailored to the value that you provide. It is then hydrated by syntux and rendered.
React
#streamlit
fromPyImageSearch
2 weeks ago
Python

Integrating Streamlit with Snowflake for Live Cloud Data Apps (Part 2) - PyImageSearch

Streamlit app connects interactive UI to Snowflake, enabling live querying, caching, visualization, and exporting of warehouse data, integrated with local datasets.
fromPyImageSearch
1 month ago
Python

Getting Started with Streamlit: Learn Widgets, Layouts, and Caching - PyImageSearch

Streamlit converts pure Python scripts into interactive, reactive web apps quickly without writing HTML, CSS, or JavaScript, enabling fast deployment and cached performance.
Software development
fromInfoQ
1 month ago

API Platform Unkey Ditches Serverless After Performance Struggles

Moving an API auth service from serverless Cloudflare Workers to stateful Go servers cut latency sixfold by eliminating network-dependent caching and enabling in-memory hot data.
fromMail Online
1 month ago

Does your dog keep hiding food and toys? Animal expert reveals why

What they're doing is called 'caching', she explained - the act of storing food in hidden places for later use. This behaviour is widespread across the animal kingdom, from squirrels to crows and wolves. One approach, called larder hoarding, is when animals store food in just one or two places to help them get through a long winter - for example, how squirrels stash nuts.
Pets
Python
fromTalkpython
1 month ago

Python apps with LLM building blocks

Treat LLMs as standard APIs in Python apps: create focused endpoints, use wrappers for caching/validation, monitor responses, and constrain outputs with types.
fromLogRocket Blog
4 months ago

React Server Components broke my app and I still don't know why - LogRocket Blog

The hype around the introduction of React Server Components (RSC) was undeniable. For the uninitiated, RSCs are a new way to build React apps that render components on the server, keeping code and data-fetching logic away from the client. The promise was appealing: a unified approach to server and client rendering, unmatched performance, and simpler data fetching, enough to convince many of us that this was the next best thing after cheese.
Web frameworks
Web frameworks
fromInfoWorld
4 months ago

How to implement caching in ASP.NET Core minimal APIs

Use in-memory, distributed, hybrid, response, or output caching in ASP.NET Core minimal APIs to improve application performance, scalability, and response latency.
Software development
fromInfoQ
5 months ago

Pogocache: Open Source Caching Software with Low Latency and Multiple Wire Protocols

Pogocache 1.0 is a C-based, low-latency, CPU-efficient open-source cache supporting Memcache/Redis/HTTP/PostgreSQL protocols with a sharded Robin Hood hashmap.
#nextjs
Django
fromPeterbe
5 months ago

Combining Django signals with in-memory LRU cache - Peterbe.com

Django ORM can efficiently retrieve category data as a dictionary, with cache for performance.
Node JS
fromLogRocket Blog
7 months ago

How to get faster data access in Node.js with Valkey - LogRocket Blog

Valkey offers a robust, open-source alternative to Redis for advanced caching in Node.js applications.
fromHackernoon
1 year ago

Optimizing RPC Performance with Batch Requests and Caching Layers | HackerNoon

Heavy-traffic decentralized applications (dApps) querying Ethereum's blockchain frequently face latency due to high node workload, leading to poor user experiences and elevated costs.
Node JS
fromMedium
7 months ago

Frequent Spark Interview QuestionsPart 2

Both cache() and persist() store an RDD/DataFrame/Dataset in memory (or disk) to avoid recomputation. cache() is shorthand for persist(StorageLevel.MEMORY_ONLY), while persist() offers more control.
Scala
Ruby on Rails
fromHackernoon
8 months ago

How to Use Redis for Caching in Full Stack Applications | HackerNoon

Caching in full stack apps enhances performance, making applications faster and more scalable by reducing database load.
Web frameworks
fromHackernoon
2 years ago

The Many Layers of Caching: All the Places Data Lives in Modern Systems | HackerNoon

Caching is critical for improving the performance and speed of modern software systems.
fromPycoders
8 months ago

PyCoder's Weekly | Issue #681

In this tutorial, you'll learn how to use Loguru to quickly implement better logging in your Python applications. You'll spend less time wrestling with logging configuration and more time using logs effectively to debug issues.
Django
React
fromHackernoon
3 years ago

How to Cash 300K Requests per Second in a High-Volume Surveillance System | HackerNoon

High-throughput systems require resilience, not just speed, to handle extreme volumes.
Implementing eBPF effectively can transform caching strategies in high-volume applications.
[ Load more ]