Message grouping and deduplication using SQS and Ruby
In this article, let’s try to design a specific event-based queuing architecture. We will use the term event or message interchangeably through the post.
We are trying to build a user analytics system where every user action must be tracked and stored for later reporting and behavioral analysis. Let’s think of something similar to Google analytics or Segment that we are building in-house.
user_idand that will help us identify the user across the board
This post will try to summarize the most important features you should be taking advantage of. We will highlight features from the following recent releases:
Note: Before diving into any of these features, you should check out the TypeScript playground where you can test out all the features. …
The core design aspect of libraries like Lodash or Underscore.js is
functional programming where you have pure functions that have no side-effects or do not mutate state. Well, the formal definition follows below…
There are many ways to explain functional programming as a concept, but the definition below is succinct:
Functional programming is a style of programming which models computations as the evaluation of expressions. Contrast this with imperative programming where programs are composed of statements which change global state when executed. Functional programming typically avoids using mutable state and favors side-effect free functions and immutable data instead. …