Stage 1: The Database choice!

To start off I needed to think about where we will store the raw data. The data we were supposed to fetch was coming from third party events and it was very crooked. Crooked in a sense that it didn’t had the same structure for the same event triggered twice!. So, a very clear choice in this case to me was to choose a NoSQL database. And I chose elasticSearch for it.

Press enter or click to view image in full size

Created with Mermaid

Now, all of the raw data will be kept in elastic search and then it should be processed (formatted, indexed) as well right?

But then how do you do that for an event based system?

Let’s assume there is an event ‘A’ that is triggered and it gives us certain data and that same event ‘A’ occurred again while we w…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help