Understanding Locking and Conditional Writes in AWS DynamoDB
Optimistic locking is a strategy to ensure that the client-side item that you are updating (or deleting) is the same as the item in DynamoDB. …
Read Article →In-depth guides, insights, and best practices for modern software engineering
Optimistic locking is a strategy to ensure that the client-side item that you are updating (or deleting) is the same as the item in DynamoDB. …
Read Article →CodeDeploy provides two (2) deployment type options:
In-place deployment: The application on each instance in the …
Read Article →Amazon ECS supports the following task placement strategies:
binpack – Place tasks based on the least available amount of CPU or memory. This …
Read Article →– All at once – Deploy the new version to all instances simultaneously. All instances in your environment are out of service for a short time while …
Read Article →If you need to sync the clock on Linux using the central NTP clock service, you can do the following:
sudo service ntp stop
sudo ntpd -gq
sudo service …
Read Article →
Master data partitioning techniques including sharding.
Data partitioning (also known as sharding) is the process of …
Read Article →Master the algorithms that enable distributed systems to agree on shared state despite failures and network partitions.
Before …
Read Article →You can query the ip-ranges Amazon AWS URL, and parse the results through jq as follows:
Query:
curl -s …
Read Article →
Reverse Number is a number which is the same when reversed.
For example, the first 20 Reverse Numbers are:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, …
Read Article →
Write a function called sumIntervals/sum_intervals() that accepts an array of intervals, and returns the sum of all the interval …
You are given an odd-length array of integers, in which all of them are the same, except for one single number.
Complete the method …
Read Article →You can issue the following command on an Apple Mac’s terminal to show the EDID UUID (unique serial number) of all attached external monitors: …