---
title: "Comment by ZHE ZHANG on \"The Tri-Z Architecture: a Pattern for Layering ZIO Applications in Scala\" | Hashnode"
description: "Sorry to bother you again, but I'd like to ask about cross-user processing, such as leaderboards and server-wide emails. These are very similar to singleton ser"
url: "https://hashnode.com/posts/the-tri-z-architecture-a-pattern-for-layering-zio-applications-in-scala/66b07c222ac672d4672fe731/comment/681e24bee20965f5d3d4af0f"
---

[Discussion](https://hashnode.com/posts/the-tri-z-architecture-a-pattern-for-layering-zio-applications-in-scala/66b07c222ac672d4672fe731)

Comment [The Tri-Z Architecture: a Pattern for Layering ZIO Applications in Scala](https://hashnode.com/posts/the-tri-z-architecture-a-pattern-for-layering-zio-applications-in-scala/66b07c222ac672d4672fe731)

[ZHE ZHANG](https://hashnode.com/@zhangjiji)

[May 9, 2025](https://hashnode.com/posts/the-tri-z-architecture-a-pattern-for-layering-zio-applications-in-scala/66b07c222ac672d4672fe731/comment/681e24bee20965f5d3d4af0f)

Sorry to bother you again, but I'd like to ask about cross-user processing, such as leaderboards and server-wide emails. These are very similar to singleton services. Can sharding help with this? How do you handle the pressure on these types of services?

[Pierre Ricadat](https://hashnode.com/@ghostdogpr)

[May 9, 2025](https://hashnode.com/posts/the-tri-z-architecture-a-pattern-for-layering-zio-applications-in-scala/66b07c222ac672d4672fe731/comment/681e24bee20965f5d3d4af0f#reply-681e8b99063d4ea22731e501)

How about discussing on Discord instead of here? Comments are not ideal for long conversations. There’s a Shardcake channel on the ZIO Discord.

[ZHE ZHANG](https://hashnode.com/@zhangjiji)

[May 10, 2025](https://hashnode.com/posts/the-tri-z-architecture-a-pattern-for-layering-zio-applications-in-scala/66b07c222ac672d4672fe731/comment/681e24bee20965f5d3d4af0f#reply-681ebb24175d41087b05b130)

Is it convenient to use your Gmail? [Pierre Ricadat](https://hashnode.com/@ghostdogpr)

[Pierre Ricadat](https://hashnode.com/@ghostdogpr)

[May 10, 2025](https://hashnode.com/posts/the-tri-z-architecture-a-pattern-for-layering-zio-applications-in-scala/66b07c222ac672d4672fe731/comment/681e24bee20965f5d3d4af0f#reply-681ebc73822a1dabc03ebd3c)

[ZHE ZHANG](https://hashnode.com/@zhangjiji) I’d rather use Discord since other people can benefit from reading it. Potentially a GitHub issue if it’s specifically about Shardcake.
