# Using reduce() for Multithreaded Aggregation

**URL:** <https://discuss.python.org/t/using-reduce-for-multithreaded-aggregation/99897>\
**Category:** Threading\
**Created:** [July 23, 2025, 7:24pm UTC](https://discuss.python.org/t/using-reduce-for-multithreaded-aggregation/99897 "2025-07-23T19:24:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpdani](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/dpdani/32/14107_2.png) [@dpdani](https://discuss.python.org/u/dpdani)\
**Post date:** [July 23, 2025, 7:24pm UTC](https://discuss.python.org/t/using-reduce-for-multithreaded-aggregation/99897/1 "2025-07-23T19:24:45Z")

</div>

Hello 👋

I’ve posted two examples to the documentation of cereggii on usages for AtomicDict, which was [presented at the 2024 Language Summit](https://pyfound.blogspot.com/2024/06/python-language-summit-2024-free-threading-ecosystems.html).

- [Using `reduce()` for Multithreaded Aggregation](https://dpdani.github.io/cereggii/examples/AtomicDict/reduce/)
- [Using `reduce()` for Averaging](https://dpdani.github.io/cereggii/examples/AtomicDict/reduce-average/)

I think the library is now at a much more usable place than it was back then.  
Any feedback on the library and the examples is very welcome 🙂

Daniele
