---
title: "Jakub Barszczewski (@jbarszczewski) | Hashnode"
description: "Jakub Barszczewski (@jbarszczewski) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@jbarszczewski"
---

@jbarszczewski

# Jakub Barszczewski

@jbarszczewski · London · Joined June 2021

[Website](https://jbarszczewski.com/)

## Comments

[Hi Benjamin, Thank you for reading it! As for Mutex and Arc they serve different purposes and complement each other. Arc is used for reference counting and making sure you can safely pass and access object from multiple threads/tasks, and Mutex makes sure only one can change it at a time by putting a lock on it. But you're right, we could remove the Mutex in this situation as the Arc is all we need. Great spot! :)](https://hashnode.com/posts/rust-actix-cosmosdb-mongodb-tutorial-api/60d84427de92ef110afdeffe/comment/62051a56b6c216065a35d96b#reply-62062a879e350308247feef3)

Reply · Article · Feb 11, 2022 · [Rust + Actix + CosmosDB (MongoDB) tutorial API](https://hashnode.com/posts/rust-actix-cosmosdb-mongodb-tutorial-api/60d84427de92ef110afdeffe)

[Thanks! How could I add it there?](https://hashnode.com/posts/rust-tauri-svelte-tutorial/60ef3a2523b128642163ad17/comment/61cf48f6b9f0453f6d322440#reply-61f406d222a38747671d8a72)

Reply · Article · Jan 28, 2022 · [Rust + Tauri + Svelte Tutorial](https://hashnode.com/posts/rust-tauri-svelte-tutorial/60ef3a2523b128642163ad17)
