Redis is fast key value storage with optional persistence, not SQL.
@roytam1 OFC they could do some more fancy stuff, like #WearLeveling, #caching, ECC, keep reserve sectors, etc.
And for many applications, that's fine!
Competitor Price Cache with Failover
Stay fresh even when the scrape target goes down.
#php #python #caching #scraping #failover #pricing #performance #reliability #growthhacks #viralcoding
Traditional #caching fails to stop "thundering herds" where multiple clients trigger the same work during a miss.
This #InfoQ article, Gabor Koos explores a smarter pattern using Cloudflare Durable Objects, treating in-flight work & completed results as two states of a single cache entry.
By routing to a single owner, systems eliminate redundant work and replace complex locking with simple promises.
👉 Read now: https://bit.ly/4qaqEp4
#DistributedCache #DistributedSystems #Infrastructure #SoftwareArchitecture #SoftwareDevelopment
Việc lưu trữ (cache) kết quả embedding giúp tăng tốc xử lý 7.6 lần, từ 7 phút 53 giây xuống còn 62 giây. Bài học: Tránh tái tính toán khi không cần thiết để tiết kiệm GPU và năng lượng. #AI #MáyHọc #Caching #OSS #LocalLLaMA
https://www.reddit.com/r/LocalLLaMA/comments/1qpej60/caching_embedding_outputs_made_my_codebase/
JWT kid Cache
Cache key lookups to verify tokens fast.
#php #python #jwt #kid #caching #auth #security #backendsafety #performance #viralcoding
How Redis Caches a Website? 🇺🇸
🔎Zoom: https://nubecolectiva.com/comunidad/flyers/redis-caches-website/
¿Cómo Cachea Redis una Web? 🇪🇸
🔎Zoom: https://nubecolectiva.com/comunidad/flyers/cachea-redis-web/
#programming #coding #programación #code #webdevelopment #devs #softwaredevelopment #redis #caching #cache
🚀 Behold! Another gloriously over-engineered 🚂 wheel-reinventing masterpiece for the Rustaceans, promising to revolutionize #caching with the agility of an arthritic tortoise 🐢. Meanwhile, GitHub's #AI #circus 🎪 juggles buzzwords like "intelligent apps" and "dev environments" as if anyone knows what they actually mean. 🙄
https://github.com/OxidizeLabs/cachekit #overengineered #Rust #intelligentapps #devenvironments #HackerNews #ngated
Cachekit – High performance caching policies library in Rust
https://github.com/OxidizeLabs/cachekit
#HackerNews #Cachekit #Rust #Caching #HighPerformance #OpenSource #Libraries
this may make me just go to nginx with caching or redis, i can try a few things and see the differences, overall i think nginx is likely faster, you cache on vps side of the r proxy #caching tiers
Ich habe meine #Webseite als #Testinstanz auf meinen #rootServer kopiert und etwas mit der #Performance / den #Ladezeiten getestet, weil ich auf dem Root-Server im Gegensatz zum #Webspace alle Möglichkeiten wie #APCu, #OPCache, #Redis, #Apache Config etc. habe, die Performance zu optimieren.
#Speedtests für Webseiten ergeben auf der Testinstanz ein etwas höheres Ranking. Aber immens ist die Steigerung nicht und ich habe noch nicht herausgefunden, ob /wie ich bei #Joomla von den vollumfänglichen Möglichkeiten des #Caching noch besser profitieren könnte. Man kann in Joomla selbst für das Caching wählen zwischen "aus", "Standard" und "erweitert". Bei aktiviertem Caching zwischen "Datei", "ACPu" und "Redis". Derzeit habe ich "erweitert mit ACPu" auf der Testinstanz aktiviert. Auf dem Webspace geht nur "Datei".
Wenn ich den Seitenaufruf subjektiv vergleiche, empfinde ich keinen erkennbaren Unterschied.
Mir geht's übrigens dabei nicht darum, die Ladegeschwindigkeit durch Veränderung der Webseite zu optimieren (ich weiß, dass ich zu viele Skripte und Designspielereien für eine optimierte Ladegeschwindigkeit nutze), sondern die Überlegung, auf welchem #Server (Webspace oder root-Server) ich die Webseite künftig betreibe.
Mich würde daher mal interessieren, ob ihr einen Unterschied wahrnehmt, ob und wo sich die Webseite geschmeidiger / flüssiger anfühlt:
https://www.crazy-to-bike.de
https://test.crazy-to-bike.de
Wäre nett, wenn das möglichst viele testen und über die Umfrage Rückmeldung geben würden. Vielen Dank 🙏
Bitte auch #Boost für mehr #Reichweite
@AnachronistJohn @stefano @Timpostma
Let's do the following. I'll ping you when I have a few days of internet, like now.
You only acknowledge with a favorite / boost attribute to the toot.
When the code of TRCP is usable you respond to the ping
#Caching #proxy #server #programming #technology #OpenSource
Lưu cache cho LLM phức tạp hơn nghĩ. Để tăng hiệu quả, cần chuẩn hóa prompt (xử lý khoảng trắng), tên model và biết tham số nào ảnh hưởng đến kết quả. Kinh nghiệm thú vị cho lập trình viên.
#LLM #Caching #Programming #AI #Development #LưuTrữ #LậpTrình #TríTuệNhânTạo #PhátTriển
https://www.reddit.com/r/programming/comments/1q7ykin/the_surprising_complexity_of_caching/
Một dev đã tạo công cụ mã nguồn mở để cache API OpenAI/Anthropic, giúp tiết kiệm chi phí khi phát triển. Thay vì gọi API nhiều lần, công cụ lưu response cục bộ, loại bỏ khoảng trắng thừa để nhận diện prompt giống nhau. Dùng thử hiệu quả nên đã chia sẻ trên GitHub: snackcache. Phù hợp cho dev AI đang tối ưu chi phí. #OpenSource #AICostSavings #DevTool #Caching #MãNguồnMở #CôngCụLậpTrình
https://www.reddit.com/r/SaaS/comments/1q7yf3t/built_a_opensource_caching_tool_to_save_on/
Level Up Your SharePoint Skills: SPFx Best Practices for Coders
784 words, 4 minutes read time.
The world of SharePoint development is constantly evolving, and mastering the skills required to build robust and scalable applications is crucial for any serious coder. With the rise of SPFx, it’s essential to stay up-to-date with best practices and patterns that can help take your skills to the next level.
Introduction
The SharePoint Framework (SPFx) has revolutionized the way developers build custom applications for Microsoft 365. With its powerful combination of web development, DevOps, and business intelligence capabilities, SPFx offers a unique opportunity for coders to create innovative solutions that can transform businesses. In this article, we’ll explore some essential best practices for SPFx developers, providing practical guidance on how to level up your skills and build high-quality applications.
Understanding the Power of Modularize
import { declareCustomElement } from '@microsoft/sp-core-library'; import { BaseClientSideWebPart } from '@microsoft/sp-webpart-base';@declareCustomElement({name: 'MyWebPart',metadata: {description: {type: String,default: 'This is a custom web part'}}})export class MyWebPart extends BaseClientSideWebPart {render() {return Hello World!;}onInit() {this.properties.description = 'This is an updated description'; }} Modularize is a powerful pattern in SPFx development that allows you to break down complex applications into smaller, reusable components. By doing so, you can improve maintainability, scalability, and overall quality of your codebase. In this article, we’ll explore the benefits of modularize and provide guidance on how to implement it effectively.
Using Dependency Injection for Loose Coupling
import { injectable } from 'tsyringe';@injectable()export class MyService {private logger: Logger;constructor(logger: Logger) {this.logger = logger;}public doSomething() {this.logger.log('Doing something');}} Dependency injection is a design pattern that allows you to decouple components from each other, making it easier to test, maintain, and extend your codebase. In SPFx development, dependency injection is particularly useful when working with services and libraries that need to be injected into your web part or component. In this section, we’ll explore the benefits of using dependency injection in SPFx and provide guidance on how to implement it effectively.
Optimizing Performance with Caching
import { CacheManager } from 'sp-core-library';const cache = new CacheManager();cache.add('myKey', 'myValue');console.log(cache.get('myKey')); // Output: 'myValue' Optimizing performance is crucial in any web application, and SPFx is no exception. One effective way to improve performance is by using caching mechanisms. In this section, we’ll explore the benefits of caching in SPFx and provide guidance on how to implement it
effectively.
Best Practices for Unit Testing
import { TestBed } from '@angular/core/testing';import { MyService } from './my.service';describe('MyService', () => {beforeEach(() => {TestBed.configureTestingModule({providers: [MyService]});});it('should do something', () => {const service = TestBed.get(MyService);expect(service.doSomething()).toBe(true);});}); Unit testing is an essential part of any software development workflow. In SPFx, unit testing allows you to ensure that your components and services are working as expected, reducing the risk of bugs and errors in your application. In this section, we’ll explore best practices for unit testing in SPFx and provide guidance on how to write effective tests.
Conclusion / Next Steps
In this article, we’ve explored essential best practices for SPFx developers, including modularize, dependency injection, caching, unit testing, and more. By following these guidelines, you’ll be able to build high-quality applications that are scalable, maintainable, and efficient.
Next steps include implementing the patterns and techniques discussed in this article. Start by identifying areas where you can apply modularize, then experiment with dependency injection and caching mechanisms. Finally, take some time to learn about unit testing best practices and apply them to your existing codebase. With dedication and persistence, you’ll become a master SPFx developer in no time.
Call to Action
If this post sparked your creativity, don’t just scroll past. Join the community of makers and tinkerers—people turning ideas into reality with 3D printing. Subscribe for more 3D printing guides and projects, drop a
comment sharing what you’re printing, or reach out and tell me about your latest project. Let’s build together.
Sources
Disclaimer:
The views and opinions expressed in this post are solely those of the author. The information provided is based on personal research, experience, and understanding of the subject matter at the time of writing. Readers should consult relevant experts or authorities for specific guidance related to their unique situations.
Related Posts
#agileMethodology #bestPractices #businessIntelligence #caching #ClientSide #codingPatterns #collaborationPlatform #customApplication #dependencyInjection #devops #enterpriseSoftware #microsoft365 #modularize #performanceOptimization #serverSide #SharePoint #SharePointDevelopment #SharePointFramework #softwareDevelopment #SPFx #testDrivenDevelopment #unitTesting #WebDevelopment #webPart #workflow
MiniMax (official) (@MiniMax__AI)
97.6% 캐시 적중률과 1M 캐시 토큰당 $0.03의 비용을 보고하는 트윗입니다. 높은 캐시 효율성과 낮은 단가를 통해 LLM 서비스의 응답 비용 절감 및 지연 시간 개선 가능성을 시사하며, 캐시 기반 비용 최적화나 인퍼런스 성능 향상 관련 도구·설정 업데이트 소식으로 해석될 수 있습니다.
Chasing BFCache Navigations, by @perfplanet.bsky.social:
https://calendar.perfplanet.com/2025/chasing-bfcache-navigations/
InnoDB dùng biến thể LRU thay vì LRU tiêu chuẩn để tránh loại bỏ dữ liệu nóng khi quét table. Cache được chia thành 2 phần: 'mới' (nóng) và 'cũ' (cách ly). Dữ liệu mới vào phần cũ, và chỉ được nâng cấp lên phần mới nếu truy cập lại. Nhờ vậy, quét toàn bộ bảng sẽ không làm hỏng cache hiệu suất.
#InnoDB #MySQL #Database #Cache #Caching #LRU #Tech #Programming #CơSởDữLiệu #LưuTrữCache #CôngNghệ #LậpTrình
https://shbhmrzd.github.io/databases/mysql/innodb/2025/12/18/innodb-lru-buffer-pool-managemen
In the interest of embracing the short note format instead of cramming everything into one huge article:
On the off-label benefits of No-Vary-Search (for getting nice clean URLs)
Fixing the URL Params Performance Penalty, by @tunetheweb (@perfplanet.bsky.social):
https://calendar.perfplanet.com/2025/fixing-the-url-params-performance-penalty/