#batching

[ follow ]
fromPsychology Today
1 week ago

You're Not a Procrastinator, You're a Batcher

Sandra doesn't like any dishes left in the sink. She'll wash and put away her breakfast dishes before she leaves for work. Even if it's one or two dirty items, she won't dump them in the sink and walk out the door. She's like this in all areas of her life. She prefers to do tasks steadily, as they come in. She doesn't like anything to build up or feel cluttered.
Productivity
fromStreamHacker
3 months ago

Python Async Gather in Batches

Python's asyncio.gather function is great for I/O bound parallel processing. There's a simple utility function I like to use that I call gather_in_batches: async def gather_in_batches(tasks, batch_size=100, return_exceptions=False): for i in range(0, len(tasks), batch_size): batch = tasks[i:i+batch_size] for result in await asyncio.gather(*batch, return_exceptions=return_exceptions): yield result
Python
Productivity
fromFast Company
3 months ago

Email eats up 28% of your week. Here's how to get your time back

Close email and notifications, batch-check communications in focused sessions, and use simple organizational systems to protect deep work and reclaim time.
React
fromMedium
5 months ago

How React Batching and Scheduling Work Behind the Scenes

Understanding React's batching and scheduling is essential for building high-performance 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
[ Load more ]