Non-Fiction, Informative, Educational

Decentralized Application Architecture

A Coursebook on Decentralized Application Architec

by Pham Hortensia

  • English
  • 121 pages
  • 2026
  • SamEnrico

A Coursebook on Decentralized Application Architecture

Formats

About this book

A Coursebook on Decentralized Application Architecture

Free sample

Chapter 1: The Trust Inversion--The most dangerous assumption in software architecture is also the most invisible: the assumption that the server you talk to today will belong to the same people tomorrow, that it will follow the same rules, that it will not one day decide that your data is its product.Most developers never question this assumption because they have never seen it break. They have built careers on top of it. They have pushed code to production assuming that the database will always be there, that the API terms will not change overnight, that the company hosting their users' photos will not go bankrupt and delete everything. These are not technical guarantees. They are social contracts, and social contracts can be revoked.I learned this the hard way in 2017.

I had built a small but thriving community platform for independent bookstores. The idea was simple: local bookstores could list their events, readers could discover readings, and everyone could discuss books in forums. I built it on a standard Web2 stack: React frontend, Node backend, Postgre SQL database, all hosted on AWS. It cost me about $200 a month to run, and I had fifteen hundred bookstores using it. The platform made no money, but it made me happy.Then Amazon changed its affiliate API terms.

Overnight, the revenue stream that funded the platform's server costs disappeared. I tried to adapt. I added a small monthly fee for bookstores. Most of them left. I tried to add advertising.

Readers complained. Within six months, the platform was generating 40amonthandcosting40 a month and costing 40amonthandcosting200. I shut it down. The bookstores that had built their event listings on my platform lost years of historical data. Readers lost their discussion threads.

No one had done anything malicious. No one had broken any laws. But the platform was gone, and so was their data.That experience taught me something that no computer science course had ever mentioned: in centralized systems, the user does not own their data. The platform owner does. The user's ability to access their own information is a privilege granted by the platform…

This is the end of the free sample. Get the eBook to keep going. Buy now

Read a sample →

Contents

  1. Chapter 1
  2. Chapter 2
  3. Chapter 3
  4. Chapter 4
  5. Chapter 5
  6. Chapter 6
  7. Chapter 7
  8. Chapter 8
  9. Chapter 9
  10. Chapter 10
  11. Chapter 11
  12. Chapter 12

Details

Author
Pham Hortensia
Publisher
SamEnrico
Language
English
Genre
Non-Fiction, Informative, Educational
Released
2026-05-09
Pages (approx.)
121
Available as
eBook, Audiobook

Read better in the ZLOADR app

Your eBooks on your phone or tablet. Sign in with your SamEnrico account and start reading.

More by Pham Hortensia

See all