Hi! I'm Helen, one of your friendly mods looking after the #monitoring and #performance tags.
At the end of each month, I'll be showcasing some of the great posts, projects, and insights from the Dev community.
Kicking us off this month is Abdisalan, who makes the case that offset has its place, but not as a tool for pagination. Check out the post and comments for more efficient alternatives.
Ivo then makes a case for moving away from OFFSET and LIMIT when building reliable systems. If you are struggling with performance check out the advice to ensure your server can store data in memory and paginate effectively.
Why You Shouldn't Use OFFSET and LIMIT For Your Pagination
Ivo Pereira ・ Jun 16 '20
Next, Rhymes and Molly from the Dev team share how they used jemalloc when facing memory troubles. This alternative memory allocator can be used by multithreaded Ruby apps, like Dev.to
How we decreased our memory usage with jemalloc
rhymes for The DEV Team ・ Jun 5 '20
We then move on to JavaScript, I/O operations, and CPU-intensive tasks. By understanding their use cases, one can confidently identify the correct tools for maximizing JavaScript concurrency.
JavaScript Concurrency: Avoiding the Sequential Trap
Basti Ortiz ・ Jun 14 '20
Our next post from the Linkurious team details how they decided to give WASM a try and run a thorough benchmarking project before jumping on the bandwagon.
To WASM or not to WASM?
linkurious-dev ・ Jun 12 '20
Our next post from Trishul gives an introduction on web workers. Check it out for more on how to use them for CPU intensive operations while the UI is free and responsive.
Get started with web workers
Trishul for Itsopensource ・ Jun 22 '20
To finish up we have a post from Bruno who takes on performance issues with Bullet. It’s very difficult to catch every N + 1 in every query we build and it’s even harder to detect cases where we should no longer preload data.
Rails N + 2 queries
Bruno Vezoli for Rootstrap ・ Jun 6 '20
That's all for this month! For more, check out the #monitoring and #performance tags.
Top comments (0)