# Design ideas for handling configuration

**URL:** <https://forum.codecrafters.io/t/design-ideas-for-handling-configuration/16110>\
**Category:** General\
**Tags:** challenge:redis\
**Created:** [May 14, 2026, 10:31pm UTC](https://forum.codecrafters.io/t/design-ideas-for-handling-configuration/16110 "2026-05-14T22:31:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![alep](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/alep/32/24189_2.png) [@alep](https://forum.codecrafters.io/u/alep)\
**Post date:** [May 14, 2026, 10:31pm UTC](https://forum.codecrafters.io/t/design-ideas-for-handling-configuration/16110/1 "2026-05-14T22:31:59Z")

</div>

I would like some help thinking about the redis server design. I’ve built until now a server that uses mpsc to handle synchronization of the storage. Until now the storage is just a HashMap that is owned by a thread. The thread can recieve messages using a channel and send back messages through a channel that’s added in the message type. That is I unpack the message and have a sender to respond. Now that I have to add “configuration” I was thinking of doing same thing but it seems that It would become a mess of threads?

I would like some ideas? Thank you 🙂

---

<div class="post-metadata">

**Author:** ![alep](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/alep/32/24189_2.png) [@alep](https://forum.codecrafters.io/u/alep)\
**Post date:** [May 14, 2026, 10:34pm UTC](https://forum.codecrafters.io/t/design-ideas-for-handling-configuration/16110/3 "2026-05-14T22:34:54Z")

</div>

Ok, maybe you should of read the eventloop design? 😃
