Skip to content

Instantly share code, notes, and snippets.

View rdagumampan's full-sized avatar

Rodel E. Dagumampan rdagumampan

View GitHub Profile
@rdagumampan
rdagumampan / AdvancedDistributedSystemDesignCourseNotes.md
Created January 8, 2024 15:40 — forked from craigtp/AdvancedDistributedSystemDesignCourseNotes.md
Notes on Udi Dahan's Advanced Distributed System Design Course

Advanced Distributed System Design Course - Udi Dahan

Notes by Craig Phillips

Fallacies of Distributed Computing

  • There are 11 fallacies of Distributed Computing:
    1. The network is reliable
    2. Latency isn’t a problem
    3. Bandwidth isn’t a problem
    4. The network is secure
  1. The topology won’t change
/*Data for the table regions */
INSERT INTO regions(region_id,region_name) VALUES (1,'Europe');
INSERT INTO regions(region_id,region_name) VALUES (2,'Americas');
INSERT INTO regions(region_id,region_name) VALUES (3,'Asia');
INSERT INTO regions(region_id,region_name) VALUES (4,'Middle East and Africa');
/*Data for the table countries */
INSERT INTO countries(country_id,country_name,region_id) VALUES ('AR','Argentina',2);
CREATE TABLE regions (
region_id SERIAL PRIMARY KEY,
region_name CHARACTER VARYING (25)
);
CREATE TABLE countries (
country_id CHARACTER (2) PRIMARY KEY,
country_name CHARACTER VARYING (40),
region_id INTEGER NOT NULL,
FOREIGN KEY (region_id) REFERENCES regions (region_id) ON UPDATE CASCADE ON DELETE CASCADE
@rdagumampan
rdagumampan / gist:920247a791dbd6fcddc5cddbfd49edbc
Created February 6, 2020 05:28
yuniql-efcore-aws-postgresql-scriptdb
2020-02-06T05:15:11.4904484Z ##[section]Starting: Script EFCORE CLI
2020-02-06T05:15:11.5339967Z ==============================================================================
2020-02-06T05:15:11.5340308Z Task : PowerShell
2020-02-06T05:15:11.5340376Z Description : Run a PowerShell script on Linux, macOS, or Windows
2020-02-06T05:15:11.5340456Z Version : 2.163.1
2020-02-06T05:15:11.5340516Z Author : Microsoft Corporation
2020-02-06T05:15:11.5340608Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2020-02-06T05:15:11.5340683Z ==============================================================================
2020-02-06T05:15:12.6123438Z Generating script.
2020-02-06T05:15:12.6998104Z ========================== Starting Command Output ===========================
@rdagumampan
rdagumampan / table2.csv
Created December 31, 2019 07:25
table2.csv
Mode Description
StartInclusive All data that started within the search period.
EndInclusive All data that ended within the search period.
Inclusive All data that started and ended within the search period.
Overlapped All data that overlapped the search period at any point in time.
InProgress All data that started within the search period and end time is Datetime.MaxValue or NULL.