Best of PerformanceSeptember 2023

  1. 1
    Article
    Avatar of nextNext.js·3y

    Next.js 13.5

    Next.js is now growing 80% MoM when looking at the top 10 million origins crawled by the HTTP Archive. With 13.5, we've seen the following improvements on a new application: 22% faster local server startup - 29% faster HMR (Fast Refresh) - 40% less memory usage.

  2. 2
    Article
    Avatar of medium_jsMedium·3y

    Serverless Bun vs Node: Benchmarking on AWS Lambda

    Serverless Bun vs Node: Benchmarking on AWS Lambda. Bun promises a whole host of benefits, mostly around performance and developer experience, while boasting strong interoperability standards. Bun claims it can process logic at 3-4x the speed of NodeJS.

  3. 3
    Article
    Avatar of taroTaro·3y

    How I Became An $800K Engineer

    In 2021, the last full year I worked at Meta, I made more than $800,000 dollars.

  4. 4
    Article
    Avatar of devtoDEV·3y

    Web workers in ReactJs

    A web worker is a JavaScript feature that allows you to run scripts in the background. This background execution enables you to perform tasks concurrently without blocking the user interface. Web workers are particularly useful for handling computationally intensive or time-consuming operations without impacting the user's experience.

  5. 5
    Article
    Avatar of dzDZone·3y

    What Is Good Database Design?

    DZone: Good database design is essential to ensure data accuracy, consistency, and integrity. The design must address the storing and retrieving of data quickly and easily while handling large volumes of data in a stable way. Data security is a critical consideration in modern database design, given the rising prevalence of fraud and data breaches.

  6. 6
    Article
    Avatar of snykSnyk·3y

    Node.js vs. Deno vs. Bun: JavaScript runtime comparison

    Node.js vs. Bun is the latest upstart, offering blistering speed and significantly outperforming its rivals. Deno aims to improve its security via fine-grained access controls. Bun is still in beta and has some gaps to fill out to be fully production-ready.

  7. 7
    Article
    Avatar of hackernoonHacker Noon·3y

    Is Your Code Slow?: Avoid These 19 Common JavaScript and Node.js Mistakes

    We're spotlighting the top 19 performance pitfalls that can secretly slow down JavaScript and Node.js apps. We'll explore what causes them through illustrative examples and actionable solutions to optimize your code. The good news?

  8. 8
    Article
    Avatar of thevergeThe Verge·3y

    The Raspberry Pi 5 is finally here

    The Raspberry Pi 5 has launched with notable upgrades, including a 64-bit quad-core processor, improved graphics performance, and in-house silicon. It is priced at $60 for the 4GB version and $80 for the 8GB version. The Raspberry Pi 5 will be available to purchase before the end of October.

  9. 9
    Article
    Avatar of itnextITNEXT·3y

    Why Web UI Development Is So Hard?

    This piece aims to dissect the inherent challenges of web UI development, from the discrepancy between web languages and the modern UI requirements. We’ll explore often-overlooked ‘unhappy paths’ such as loading states, error handling, and broader architecture considerations including security, performance, and accessibility.

  10. 10
    Article
    Avatar of communityCommunity Picks·3y

    Stop Lazy Loading Product and Hero Images

    Lazy loading is a recurring performance problem on many ecommerce sites. It impacts user experience, Core Web Vitals, and by extension search engine optimization. The main product photo takes 14.39 seconds to load on a simulated Fast 3G / Slow 4G connection. This network speed is what Google’s Lighthouse and Page Speed.

  11. 11
    Article
    Avatar of kdnuggetsKDnuggets·3y

    Top 5 Free Alternatives to GPT-4

    Meta AI is enabling researchers and developers to build innovative applications powered by advanced language capabilities. LlaMA 2 is a family of state-of-the-art large language models released by Meta AI. You can access the model for free on HuggingFace or try the official demo on lmsys.org.

  12. 12
    Article
    Avatar of amplicationAmplication·3y

    Picking the Perfect Database for Your Microservices

    Microservices have been the go-to application architecture that many software projects have adopted. Microservices favour independent service components where each service can run on its own runtime and connect to its own database. This means you're encouraged to share data between microservices rather than using an extensive single database for all your microservices.

  13. 13
    Article
    Avatar of communityCommunity Picks·3y

    Can you fix 2,500 TypeScript errors?

    Inkdrop mobile v5.1.0 beta is available on the beta version on TestFlight and Google Play Store. The app used to freeze for a few seconds when changing device orientations on tablets. I realized that this was caused by a massive amount of UI rerendering due to the window dimension change event.

  14. 14
    Article
    Avatar of amplicationAmplication·3y

    How to Effectively Use Caching to Improve Microservices Performance

    Caching is a technique used in computer systems to store frequently accessed data or computation results in a temporary storage area called a "cache" This article will dive into the art of leveraging caching techniques to their fullest potential. We will explore database caching, edge caching, API caching, and local caching.

  15. 15
    Article
    Avatar of devtoDEV·3y

    Why not React?

    React’s streaming has interesting flaws, and the official RSC implementation ain’t exactly fast Low-end devices remain stubbornly stagnant. The intro became more relevant than I could have possibly known when I wrote it. I once planned a rewrite, but I’m burnt out and can't be arsed.

  16. 16
    Article
    Avatar of communityCommunity Picks·3y

    Deno vs. Bun vs. Node.js: A Speed Comparison

    Deno vs. Bun vs. Node.js: A Speed Comparison by Hexagon, 3 minutes read deno bun nodejs benchmark. For this test, I focused on three key endpoints: static file delivery, JSON response, and a compute-heavy task (prime number calculation) Each endpoint is then tested using 10 and 100 user concurrency.

  17. 17
    Article
    Avatar of newstackThe New Stack·3y

    Bun 1.0 Ships as Node.js and Deno Alternative

    Built for Speed Bun competes with Node.js and the Rust-based Deno, which were both created by Ryan Dahl. It’s designed to be a drop-in replacement for node.js, according to a release livestream that aired Thursday. The buzz over Bun was all about its speed and ease of use.

  18. 18
    Article
    Avatar of asayerasayer·3y

    Exploring Million.js, a high-performance web framework

    Million.js is a minimalistic JavaScript framework designed to handle DOM elements efficiently. Million.js uses a granular approach by updating only the necessary parts of the DOM. The Block virtual DOM is based on the concept of Blockdom, which facilitates virtual DOM diffing for re-rendering the actual DOM.

  19. 19
    Article
    Avatar of pragmaticengineerThe Pragmatic Engineer·3y

    Bun: lessons from disrupting a tech ecosystem

    Two weeks ago, a JavaScript runtime and toolkit called Bun was released and took the Node.js world by storm. Its top focus is performance, and according to benchmarks shared in the launch video, around 10x performance increases can be observed when building packages, running code, or handling inbound requests on a server.

  20. 20
    Article
    Avatar of tigerdataTigerData (Creators of TimescaleDB)·3y

    PostgreSQL Performance Tuning, Part II: Key Parameters

    The ‘max_worker_processes’ parameter determines the maximum number of worker processes you can start. The default value is two, but somewhere around a quarter to a half of your CPU count is a good option. In Timescale, we start at two and progressively increase it as your CPU increases to match half your CPU.

  21. 21
    Article
    Avatar of medium_jsMedium·3y

    Go Fiber vs Rust: Performance comparison for JWT verify and MySQL query

    Go Fiber vs Rust: Performance comparison for JWT verify and MySQL query. Fiber, built on the foundation of fasthttp, shows promising potential for superior performance compared to Gin. In prior tests, Gin outperformed Rust for this particular use case. With Fiber, we anticipate even more impressive results.

  22. 22
    Article
    Avatar of nodelandAdventures in Nodeland·3y

    My thoughts on Bun and other Adventures

    Bun does not support Fastify or Pino, with pino being as popular as Next.js. In my experience, it's not a drop-in replacement, and many inner details differ. Bun team is actively looking into adding the missing APIs and behaviors, and I expect them to catch up in the coming months.

  23. 23
    Article
    Avatar of amplicationAmplication·3y

    Fast-Track Your Projects: Introducing Redis Caching in Amplication

    Redis is an open-source, in-memory data store known for its high performance and wide range of supported data structures. It's commonly used for caching, real-time analytics, and other applications requiring fast data retrieval. Redis can also be configured as a Memcache, a simpler, high-speed in- memory caching system.

  24. 24
    Article
    Avatar of halodocHalodoc·3y

    Mastering Subscription Handling in Angular

    The lack of subscription handling can cause many problems in your app, the most critical one is memory leak. Subscriptions are not bundled with the component; therefore, we also need to dispose of subscriptions when the components are being destroyed. To destroy the subscription we created we can use the method on the function we created.

  25. 25
    Article
    Avatar of tiaThis is Angular·3y

    Should You Pair Signals & OnPush?

    Should You Pair Signals & OnPush? - DEV Community. Should you pair Signals and On push? In this article, I want to share the issue we faced while sparingly adding the strategy to components. There are actually 3 criteria when OnPush CD runs, and you can find more about them in this article.