18 articles

📰 Dev.to · BAOFUFAN

Articles from Dev.to · BAOFUFAN · 18 articles · Updated every 3 hours · View all reads

All ⚡ AI Lessons (21711) ArXiv cs.AIDev.to AIMedium · AIMedium · ProgrammingForbes InnovationMedium · Machine Learning
Is asyncio Really Better Than Multithreading? I Tested 100 Concurrent Requests, and the Difference Is Huge
Dev.to · BAOFUFAN 7h ago
Is asyncio Really Better Than Multithreading? I Tested 100 Concurrent Requests, and the Difference Is Huge
Last month, the data platform I maintain suddenly got a new requirement: run health checks against...
3-Hour Debugging: How `time.sleep` in Async Functions Killed Our asyncio Concurrency
Dev.to · BAOFUFAN 7h ago
3-Hour Debugging: How `time.sleep` in Async Functions Killed Our asyncio Concurrency
Here’s the situation: we have a data collection service that fetches data from a dozen upstream APIs....
The asyncio Mistake That Cost Me 3 Hours
Dev.to · BAOFUFAN 7h ago
The asyncio Mistake That Cost Me 3 Hours
Last week I was building an internal monitoring tool that needed to fetch pages from over 200...
I Rewrote Our Scraper with asyncio. My CTO Thought I Added Servers.
Dev.to · BAOFUFAN 7h ago
I Rewrote Our Scraper with asyncio. My CTO Thought I Added Servers.
Here's the story. Last week, the product manager dropped a requirement: we needed to fetch real-time...
I Spent 3 Hours on This Asyncio Bug — Here’s How to Avoid It
Dev.to · BAOFUFAN 7h ago
I Spent 3 Hours on This Asyncio Bug — Here’s How to Avoid It
Last Friday at 5:30 PM, I was about to shut my laptop and call it a day when our operations colleague...
How asyncio Slashed Our Data Aggregation Latency from 30s to 2s
Dev.to · BAOFUFAN 8h ago
How asyncio Slashed Our Data Aggregation Latency from 30s to 2s
Last Thursday afternoon, operations suddenly @ me in the group chat: "Dude, the activity page data is...
asyncio Pitfalls: 3 Hours Debugging a Concurrent Crawler
Dev.to · BAOFUFAN 8h ago
asyncio Pitfalls: 3 Hours Debugging a Concurrent Crawler
Last week my boss threw me a task: pull data from 50 third‑party APIs and build an aggregated report....
How I Boosted Concurrency 40x with asyncio — and Ops Thought We Were DDoSed
Dev.to · BAOFUFAN 8h ago
How I Boosted Concurrency 40x with asyncio — and Ops Thought We Were DDoSed
Last month, the product manager cornered me in the break room and fired off: “The dashboard timed out...
From 20 Minutes to 90 Seconds: Refactoring a 100-Endpoint Crawler with asyncio
Dev.to · BAOFUFAN 8h ago
From 20 Minutes to 90 Seconds: Refactoring a 100-Endpoint Crawler with asyncio
Last Thursday afternoon, my boss tossed me a “small request”: shrink the data collection cycle of our...
The 3-Hour Async Bug: Why My 1000 Concurrent Requests Ran One by One
Dev.to · BAOFUFAN 8h ago
The 3-Hour Async Bug: Why My 1000 Concurrent Requests Ran One by One
Last week, my boss dropped a requirement on my desk: scrape hundreds of thousands of product listings...
Python asyncio Pitfalls: The Bug That Cost Me 3 Hours
Dev.to · BAOFUFAN 8h ago
Python asyncio Pitfalls: The Bug That Cost Me 3 Hours
Last week I got a requirement: fetch data from 30 third-party APIs, clean it, and store it in the...
How I Boosted Our Web Scraper 20x with asyncio — And the CTO Noticed
Dev.to · BAOFUFAN 8h ago
How I Boosted Our Web Scraper 20x with asyncio — And the CTO Noticed
Here’s the story. Last month, my team lead tossed me a “small task”: revamp the company’s sentiment...
asyncio Pitfalls: A 3-Hour Debugging Nightmare That Nearly Took Down Production
Dev.to · BAOFUFAN 1d ago
asyncio Pitfalls: A 3-Hour Debugging Nightmare That Nearly Took Down Production
Here’s what happened: last week my manager asked me to optimize a data aggregation service that calls...
Designing a Code Snippet Manager: From Requirements to Implementation
Dev.to · BAOFUFAN 2d ago
Designing a Code Snippet Manager: From Requirements to Implementation
1. Why You Need a Code Snippet Manager As developers, we deal with code every single day....