You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
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
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
#Scalable data transfer
A work use case for streaming video from an aircraft to our systems had me pondering what is a good way to do this.
For starters video is nothing but a sequence of bytes so we can generalize the use case to streaming possibly large sequences of bytes to our system (where we might store it away somewhere for instance).
To help come up with a design let's start by asking how we might scale the service.
#Delivery of messages to AMSA via AWS
This is an exploration of how one could expose a web service over https to external parties that would put messages onto AMSA's internal messaging backbone.
Components
AWS Beanstalk
A java application (tomcat8) using ssl on 443 is deployed to Beanstalk
Override the tomcat-users.xml using yaml
Exposes an authenticated REST endpoint (HTTP POST)
A submit method call on the endpoint submits validated messages onto a SQS queue in AMSA's internal xml message format (message-simplified).
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
The definitions of Hot and Cold Observables have always seemed imprecise to me so I thought I'd see if I could sharpen the definition up a bit.
Intro to Rx characterizes them as follows:
Cold - Sequences that are passive and start producing notifications on request (when subscribed to)
Hot - Sequences that are active and produce notifications regardless of subscriptions.
I find the the terms active and passive in the definitions above to be vague. Additionally a sequence that produces notifications when there are no subscribers is meaningless because it is happening unobserved. I would prefer that a Cold or Hot Observable was characterized only by what we can observe about them.