How to leverage HTTP conditional requests to build robust REST APIs

System Design: Domain Name System (DNS), Load Balancing & Clustering.

Launching an Infrastructure SaaS Product, An Example Walkthrough

Issue #287

11/3/2022

{{PreviewText}} 

Hey hey hey
Last issue before the weekend. Hope you have a lovely one!
If you're going to do technical writing, or any writing in general, please either don't use niche acronyms or write out the fully expanded version and put the acronym after it in parentheses the first time you mention it. Same thing for conversations. It's annoying to have to interrupt reading to go look up something you couldn't be assed to spend a second typing out.
Here's an interesting article on different VPS providers, spying, and hosting your own mail server.
Here's a public disclosure of a SQLite vulnerability that can lead to the program crashing or arbitrary code execution.
Anyway, here's le issue.

====================================================================

Today's Sponsor: Could be you!

Are you or your company interested in sponsoring the newsletter? Feel free to reach out to me by replying to this email or clicking the link above.

====================================================================

How to leverage HTTP conditional requests to build robust REST APIs

Published: 26 October 2022
Tags: http, networking, web


Ilija Eftimov discusses how organizations can use HTTP conditional requests to improve the performance and robustness of their APIs. Ilija provides a brief overview of the basics of conditional requests and then goes into detail about how eight different organizations use conditional requests for their HTTP APIs, as well as the advantages and tradeoffs of each approach.
Some highlights:

  • Conditional requests are a mechanism native to HTTP with headers that define a precondition the server evaluates before taking action
  • Conditional requests have two prominent roles: they can serve as a way to tell the client to use a cached response and to prevent race conditions while mutating data via an API
  • REST API requests are nothing more than HTTP requests with additional semantics


====================================================================

System Design: Domain Name System (DNS), Load Balancing & Clustering.

Published: 12 October 2022
Tags: distributed systems, dns, web


Nandan Kumar does a deep dive into the titular topics, including what, how, why, and examples.
Some highlights:

  • DNS is a decentralized naming system that translates human-understandable domain names to machine-understandable Internet Protocol addresses
  • Load balancing lets us distribute incoming network traffic across multiple resources, ensuring high availability and reliability by sending requests only to resources that are available and running
  • A computer cluster is a group of two or more computers, or nodes, that run in parallel to achieve a common goal


====================================================================

Launching an Infrastructure SaaS Product, An Example Walkthrough

Published: 1 November 2022
Tags: business, cloud, infrastructure


Yeva Byzek's article is about the different features required to launch an infrastructure as a service (IaaS) company. Yeva uses "an ETL as a service that for its most basic service enables users to deploy jobs that connect to a source system, read data from it, store it, and write it to some other destination" as an example.
Some highlights:

  • The architecture usually comprises a control plane to manage the user and ETL metadata and to integrate with the data plane that actually does the job execution
  • Although hard isolation makes some tasks like backups and migration easier in the short term, it tends to come with higher cost, poor scalability, and negative impact on tenant onboarding because new infrastructure needs to be provisioned
  • Soft isolation (like row-level security in a database) can be a harder at first solution to implement, but would end up being easier in the long-run


How did I do?

5 4 3 2 1
Amazing


Bad

Want to help?

Thank you for reading! If you enjoy the newsletter, I would really appreciate you helping me spread the word by forwarding this to your friends and colleagues or sharing it on social media! Get cool stuff for your referrals using your link https://abyteofcoding.com.

Your referrals:


If you want to discuss or comment on this issue, head on over to this page at A Byte of Coding. You can also subscribe there if you're new!

Have comments or feedback? Just reply to this email or hit me up on Twitter @AByteOfCoding.

Email landed in your promotions tab? Please move it over to primary so you don't miss the latest issues in the future.
Thanks for your Support! 

Big thanks to all of the Patreon supports and company sponsors. If you want to support the newsletter you can checkout the Patreon page. It's not necessary, but it lets me know that I'm doing a good job and that you're finding value in the content.


Stats (updated daily)

Sent: 2995

Opens: 1539

Clicks: 401

Link Clicks Clicks % Unique Clicks Unique Clicks %
How to leverage HTTP conditional requests to build robust REST APIs 119 39.40% 127 39.56
System Design: Domain Name System (DNS), Load Balancing & Clustering. 101 33.44% 108 33.64
Launching an Infrastructure SaaS Product, An Example Walkthrough 82 27.15% 86 26.79

Previous

Back to Issues

Next