<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/theburningmonk/best-of/2024" -->

---
title: Best theburningmonk.com posts of 2024 | daily.dev
description: The most upvoted theburningmonk.com posts of 2024, curated by the daily.dev community.
canonical: https://daily.dev/sources/theburningmonk/best-of/2024
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/theburningmonk/best-of/2024
og:type: website
og:site_name: daily.dev
og:title: Best theburningmonk.com posts of 2024 | daily.dev
og:description: The most upvoted theburningmonk.com posts of 2024, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of theburningmonk.com — 2024

1. 1  
[](/posts/when-to-use-light-events-vs-rich-events-in-event-driven-architectures-008wjjeqf "When to use Light Events vs. Rich Events in Event-Driven Architectures")  
[![theburningmonk's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/07b15094e5264cbc974631fd43894816)](/sources/[source]/best-of/[year])  
6m read time • Nov 11, 2024  
### When to use Light Events vs. Rich Events in Event-Driven Architectures  
Choosing between light and rich events in event-driven architectures involves trade-offs. Light events, containing minimal information, are cost-efficient but may increase complexity for subscribers needing additional data. Rich events include more information, reducing the need for extra calls by subscribers but increasing data transfer and storage costs. Domain events, often benefitting from light events, are shared within the same domain, while integration events, suited for rich events, are shared across domains. Understanding these differences helps optimize event design and system efficiency.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/5c620a1d7b468a2ae916c9463c95faad?_a=AQAEuj9)  
75  
3
2. 2  
[](/posts/how-to-end-to-end-test-microservices-across-bounded-contexts--kielzucvz "How to end-to-end test microservices across bounded contexts?")  
[![theburningmonk's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/07b15094e5264cbc974631fd43894816)](/sources/[source]/best-of/[year])  
6m read time • Dec 19, 2024  
### How to end-to-end test microservices across bounded contexts?  
Effective end-to-end testing in a microservices environment requires collaboration between various teams, such as microservice teams, QA teams, and full-stack teams. Microservice teams should focus on service-level testing with tools like Pact, while QA teams conduct broader user journey tests using tools like Cypress or Selenium. Full-stack teams, managing both frontend and backend, can autonomously test their parts of the user journey. Utilizing tools like WireMock can facilitate testing by mocking other teams' services, thus reducing interdependence and coordination. The chosen approach should align with the organization's structure, team responsibilities, and testing maturity.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/819e0bd74758301827e9bcf704f73433?_a=AQAEuj9)  
46
3. 3  
[](/posts/eventbridge-best-practice-why-you-should-wrap-events-in-event-envelopes-dfrehmgmy "EventBridge best practice: why you should wrap events in event envelopes")  
[![theburningmonk's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/07b15094e5264cbc974631fd43894816)](/sources/[source]/best-of/[year])  
6m read time • Nov 06, 2024  
### EventBridge best practice: why you should wrap events in event envelopes  
Learn why wrapping your event payloads in custom envelopes when using AWS EventBridge enhances structure, interoperability, filtering capabilities, versioning, idempotency, observability, and auditing. This approach provides a clear separation between metadata and business data, making it easier to manage, trace, and process events within your serverless architectures.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/a22a6c550a4cd9e481f9b5e85078a6eb?_a=AQAEuj9)  
34  
1
4. 4  
[](/posts/cohesion-vs-coupling-5hqet8fj0 "Cohesion vs. Coupling")  
[![theburningmonk's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/07b15094e5264cbc974631fd43894816)](/sources/[source]/best-of/[year])  
3m read time • Dec 28, 2024  
### Cohesion vs. Coupling  
Cohesion measures how well components within a module or system work together to achieve a single purpose, while coupling describes the extent of dependencies between different modules or systems. High cohesion and low coupling are desired for better system design and maintenance.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/bf2f900c0b08c01816926235d3e76340?_a=AQAEuj9)  
21
5. 5  
[](/posts/how-to-build-a-leaderboard-service-with-momento-a-step-by-step-guide-blc0uamvx "How to build a Leaderboard service with Momento: a step-by-step Guide")  
[![theburningmonk's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/07b15094e5264cbc974631fd43894816)](/sources/[source]/best-of/[year])  
14m read time • Oct 07, 2024  
### How to build a Leaderboard service with Momento: a step-by-step Guide  
Learn to build a scalable leaderboard service using Momento's Sorted Set collections with a step-by-step guide. The guide covers creating API routes for submitting scores, getting user rankings, and listing leaderboard entries, all implemented with AWS Lambda and API Gateway. It also provides tips for securely handling API keys with AWS Systems Manager Parameter Store.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/30d00f72517ac5122bb19ef541b65a03?_a=AQAEuiZ)  
17
6. 6  
[](/posts/here-is-one-of-the-most-misunderstood-aspects-of-aws-lambda-of74wfact "Here is one of the most misunderstood aspects of AWS Lambda")  
[![theburningmonk's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/07b15094e5264cbc974631fd43894816)](/sources/[source]/best-of/[year])  
4m read time • Nov 16, 2024  
### Here is one of the most misunderstood aspects of AWS Lambda  
Understanding AWS Lambda's throttling behavior is crucial. While synchronous invocations check for throttling limits, asynchronous invocations don't face immediate throttling issues as requests go through an internal queue. However, retries for failed async invocations happen up to 6 hours only. This clarification suggests you may not need SNS topics solely to prevent throttling errors, leading to fewer complexities and costs.

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/5d6891795dd093670bc4bad0de4dd710?_a=AQAEuj9)  
15
7. 7  
[](/posts/fine-grained-access-control-in-api-gateway-with-cognito-groups-lambda-authorizer-7umxobmrt "Fine-grained access control in API Gateway with Cognito groups & Lambda authorizer")  
[![theburningmonk's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/07b15094e5264cbc974631fd43894816)](/sources/[source]/best-of/[year])  
4m read time • Aug 29, 2024  
### Fine-grained access control in API Gateway with Cognito groups & Lambda authorizer  
Gain fine-grained access control in API Gateway using Lambda authorizer with Cognito groups. By mapping user roles to specific policies, you can implement and manage user permissions effectively. This approach is simple, cost-efficient, and suitable for straightforward use cases. However, for more advanced needs, consider using Amazon Verified Permissions.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/1ed7580d5da7be2a969ef21ae1752f35?_a=AQAEuiZ)  
14

[See all theburningmonk.com archives](/sources/theburningmonk/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/theburningmonk/best-of/2024#page","url":"https://daily.dev/sources/theburningmonk/best-of/2024","name":"Best theburningmonk.com Posts of 2024","description":"The most upvoted theburningmonk.com posts of 2024, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/theburningmonk/best-of/2024#items","numberOfItems":7,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/when-to-use-light-events-vs-rich-events-in-event-driven-architectures-008wjjeqf","name":"When to use Light Events vs. Rich Events in Event-Driven Architectures"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/how-to-end-to-end-test-microservices-across-bounded-contexts--kielzucvz","name":"How to end-to-end test microservices across bounded contexts?"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/eventbridge-best-practice-why-you-should-wrap-events-in-event-envelopes-dfrehmgmy","name":"EventBridge best practice: why you should wrap events in event envelopes"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/cohesion-vs-coupling-5hqet8fj0","name":"Cohesion vs. Coupling"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/how-to-build-a-leaderboard-service-with-momento-a-step-by-step-guide-blc0uamvx","name":"How to build a Leaderboard service with Momento: a step-by-step Guide"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/here-is-one-of-the-most-misunderstood-aspects-of-aws-lambda-of74wfact","name":"Here is one of the most misunderstood aspects of AWS Lambda"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/fine-grained-access-control-in-api-gateway-with-cognito-groups-lambda-authorizer-7umxobmrt","name":"Fine-grained access control in API Gateway with Cognito groups \u0026 Lambda authorizer"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"theburningmonk.com","item":"https://daily.dev/sources/theburningmonk"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/theburningmonk/best-of"},{"@type":"ListItem","position":5,"name":"2024"}]}]}
```

