Low Latency Architecture – AWS
1–9 of 9 posts
Re: Low Latency Architecture – AWS
#2Re: Low Latency Architecture – AWS
#3If your batch settings are low enough Kinesis should be fine. SQS with long polling would also be pretty fast if you have enough workers.
Re: Low Latency Architecture – AWS
#4Re: Low Latency Architecture – AWS
#5Also consider what happens when latency spikes; performance isn't guaranteed in this environment. At scale, edge cases become the common case.
On the DynamoDB side, I'm sure you've already seen the DynamoDB Accelerator (10x read performance) already in preview, but just in case, see https://aws.amazon.com/dynamodb/dax/
Re: Low Latency Architecture – AWS
#6I work in subsecond latency domain. Can you elaborate what do you want to achieve in the sub-second: Does the ingestion have to be subsecond? or the entire cycle of ingestion and data available into redis/DDB needs to be done in sub-second?
A -> stream -> datastore (subsecond)
Re: Low Latency Architecture – AWS
#7I work in subsecond latency domain. Can you elaborate what do you want to achieve in the sub-second: Does the ingestion have to be subsecond? or the entire cycle of ingestion and data available into redis/DDB needs to be done in sub-second?
Entire cycle in sub-second. I agree that it depends on many factors but as per the system, we are looking subsecond from ingestion of data from client to availability of data for query. A -> stream -> datastore (subsecond)
Re: Low Latency Architecture – AWS
#8Earlier quoted context omitted.
Entire cycle in sub-second. I agree that it depends on many factors but as per the system, we are looking subsecond from ingestion of data from client to availability of data for query. A -> stream -> datastore (subsecond)
I see. I would suggest you explore the following: 1. CitusDB (an offshoot of postgres with high ingestion rate, cloudflare used it) 2. Druid.io (popular in ad-tech) 3. Linkedin Pinot (uber uses it for similar use-cases) 4. memSQL (used in ad-tech)