News for hackers. Stuff that matters.

noahfschr

Re:Latency Comparison: DynamoDB vs. FaunaDB vs. Redis on Wednesday April 14, 2021 @01:54PM (#26810628)
If you mean histogram, yes I reset the histogram for Fauna.

If you mean deleting Faunadb internal events, I do not know how to do. Can you guide me?

Re:Latency Comparison: DynamoDB vs. FaunaDB vs. Redis on Wednesday April 14, 2021 @01:26PM (#26810226)
I have commented this section and redeployed the code.

See the Fauna endpoint: https://71q1jyiise.execute-api.us-west-1.amazonaws.com/dev/f...

See the code: https://github.com/upstash/latency-comparison/blob/master/ne...

Re:Latency Comparison: DynamoDB vs. FaunaDB vs. Redis on Tuesday April 13, 2021 @09:37PM (#26801990)
Current request latency is also the read latency (from lambda function -> db). I should have been more clear on that.
Re:Latency Comparison: DynamoDB vs. FaunaDB vs. Redis on Tuesday April 13, 2021 @08:47PM (#26801628)
Upstash has two consistency modes. Eventual consistency and Strong consistency. Please see: https://docs.upstash.com/overall/consistency

In my code, Upstash database was eventually consistent. Similarly the index in the FaunaDB was not serialized.

But both of those should not affect the latency numbers in the histogram because those numbers are all read latency.

Re:Latency Comparison: DynamoDB vs. FaunaDB vs. Redis on Tuesday April 13, 2021 @08:25PM (#26801476)
I will be happy if someone from Fauna team helps me to improve my code. https://github.com/upstash/latency-comparison

Upstash is not non-durable. It is based on multitier storage (memory + EBS) implementing Redis API. In a few weeks, I will add upstash premium which replicates data to multiple zones, to the benchmark app.

In the blog post, I mentioned the qualities where Fauna is stronger than the others: https://blog.upstash.com/latency-comparison#why-is-faunadb-s...

Re:Latency Comparison: DynamoDB vs. FaunaDB vs. Redis on Tuesday April 13, 2021 @06:54PM (#26800517)
Sure, I will.