forked from ScottLogic/blog
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Convincing Langchain and 1 other file
- Loading branch information
1 parent
7945bc7
commit c64e6ab
Showing
11 changed files
with
284 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.excalidraw |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# What to send on your event bus | ||
Messages, instructions, events, states | ||
Message - this is poorly defined. The literature talks about messages being things you send on queues. I'd suggest this could be be an instruction or state but is generally targeted somewhere. You send out a message to someone usually. | ||
|
||
An event says that something has happened or changed, e.g. "profile created". State contains the state of something like a user's profile. The two can be mixed. e.g. a state update contains | ||
An instruction says "do X". For example, let's say we want to request a delivery with the courier for a customer's order this may work 2 ways: | ||
* the courier listens to order placed events and creates delivery arranged events | ||
* an intermediary service consumed the order placed events and knows certain things must happen off the back of that. It writes out a "DELIVERY NEEDED" intruction | ||
|
||
## Normalization vs de-normalization | ||
In realational database books we always encounter a discussion around how far to normalise your data and the pros and cons of doing this. When it comes to sending data between services this is much less discussed but is also important. | ||
|
||
Security considerations when aggregating |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.