Search Results


11 matches found for 'latency'

CSR vs. SSR

Introduction 10 years ago, Amazon found that every 100ms of latency cost them 1% in sales. Google found an extra .5 seconds in search page generation time dropped traffic by 20%.


TCP/IP and HTTP - Part 1

... = A data packet ACK = An acknowledgement packet TODO: More detailed information about latency and packet handshakes


Design Concepts

... Requirements Describes architectural requirements i.e. URL redirection should occur with minimal latency Extended Requirements Metrics, REST API, etc. Capacity Estimation Capacity can be split up into four subsections: Traffic Storage Bandwidth Memory Traffic Traffic means the incoming reads to your service (ingress) and the outgoing writes to your clients (egress).


Distributed scaling with Relational Databases

... need high write throughputs, or to store big data (petabytes and beyond) or have incredibly low latency (tens of milliseconds) on reads/writes. Or maybe you just want to stick to NoSQL because it handles the general job of scaling for you under the hood.


Data stores in Software Architectures

... of these databases can handle read/writes of large amounts of unstructured data with very good latency and availability, at the cost of consistency. These databases are suitable for real-time operations.


CAP Patterns

... slave host becomes promoted to a master It is worth noting that adding more replicas increases latency, complexity and costs. But consistency... In a distributed system with Master-Master hosts or Master-Slave hosts, ACID properties are not easy to come by.


Traditional Message Queues vs. Log-based Message Brokers

... SQS Messages are not durable, typically Messages are inserted and removed into the queue with low latency No ordering guarantee! Messages are ACK'ed by consumers before they are removed from the queue.


Quick Numbers in Software Engineering Cheatsheet

Preface This article is a cheatsheet and a collection of tips/tricks for doing back of the envelope calculations. Numbers Data Types to Bytes Note: keep in mind that these are general estimates.


Scaling Instragram Infrastructure

... replicas, where reads happen on replicas (Master-Slave Replication) To deal with increased latency with writes, by batching requests wherever possible Replication lag from Master to slave replicas was not a big issue (for them) Cassandra NoSQL (wide column store) to store user feeds, activities, etc.


Web Development 101

... majority of APIs, REST as a protocol has no problems. For performance-heavy APIs where minimal latency is a necessity, other protocols such as gRPC are a better choice. GraphQL GraphQL was a more recent invention by Facebook that addresses the big concern that REST API had, where multiple redundant REST API calls were needed for more complex query operations.


Sharding User IDs of Celebrities

... to do a read query on all partitions and merge the data. As a consequence, there will be added latency and total roundtrip times when a user wants to fetch JMomoa76's posts. Another thing to keep in mind is that this incrementing counter is a very simple example, and the counter can be larger if you'd like (say, 2 or 3 digits => 100 or 1000 partitions).