Browser event target / currentTarget
- https://t.co/Oc1V0LkuEY : It is the element that triggered the event
- e.currentTarget: It is the element to which event handler is attached or whose event handler is actually executed
What is ICE candidates?
They are list of IP and port addresses that the browser gathers with the information that is obtained from it's local provider, STUN and TURN server which it sends to another peer through signaling server which are then used to find working connection.
What is SDP offer in webRTC?
SDP offer tell the other peer what codec and media it support so that they both can communicate viva some common codec and media.
What is WebRTC?
WebRTC is a protocol that allows direct peer-to-peer audio, video and data streaming between browsers and devices.
It's core protocols and components:
- SDP
- ICE, STUN & TURN
- SRTP & DTLS
Materialised view is an amazing concept. Instead of reading the data from multiple collection you create materialised view of collections and your application reads from that view thus optimising the read performance but could expensive on write side and also in maintaining views
In CQRS, commands updates the state while the queries read the state from the database. If separate databases are used events propagates changes from write side to read side.
When this propagation is async it typically results in eventual consistency between the databases.
CQRS (Command Query Responsibility Segregation) pattern separates the write/command side from the read side allow each to be independently optimised, scaled and designed.