c. 2. 3. Big tech architecture sabotages companies Requires too much resourcing Resourcing/need mismatch leads to failures Client case study Dangers of big tech monopolies for society What's new about massive digital platforms? History and future of antitrust Rails promotes small/mid co success => more diverse orgs Take aways 2
of Telos Labs and software developer. Telos is a (US/Mexican) Rails-focused software agency with US clients spanning venture-backed startups, public tech companies, non-profits and governmental organizations. At Telos we've trained 30+ Rails developers and continue to notice strong adoption among Mexican venture-backed cos Previously: Strategy consultant launching cancer therapies, leading large IT projects and operational work for massive companies. Enthusiast of democracy and organizational diversity. 3
Defend against autocratic power Provide choice for people, employees other firms Preserve essential human values, traits, attributes (beyond profit-maximizing) Market power opposes diversity of this kind 4
framework, followed by Vue and Angular. About 20% to 33% of projects use Hotwire/Stimulus. ~40% of Rails projects use a SPA front-end Source: https://rails-hosting.com/2022/#what-javascript-libraries-are-you-using-alongside-rails 10
resourcing (fuel) External market constrains our product needs (force of gravity) User requirements complexity Time to delivery You can control the engine (how much fuel it needs for its thrust) R E A C H I N G E S C A P E V E L O C I T Y 11
front-end. After 6 years, their tech team had grown disappointed with their stack and seemed to have run into issues they could not solve. They decided to move to a services architecture. Rejecting Rails 20
E E D "We can't estimate our projects and can't meet our deadlines. Also, we need to launch a new important part of the platform in 6 months. Can you do it?" 23
E T H E D A T A L A Y E R ? 2 • • Business as usual Change to a newer framework H O W T O H A N D L E T H E C O M P L E X S P A ? 1 Two key questions to change business as usual • • • Business as usual Overhaul node services New Rails service 25
Pros of MPA Simpler execution flow Easier to be full-stack Eliminate front-end state concerns Can DRY-up data transformation logic to back-end But can a MPA perform? Yes. TurboLinks. Source: Sam Stephenson. RailsConf 2016. Turbolinks 5 - I can't believe it's not native! 29
E L E G A N T , B U T … • • Outer shell was the Single Page App with a url that would load some empty HTML New iframe would point to the Rails monolith which rendered HTML using TurboLinks + StimulusJS 33
Source: https://martinfowler.com/articles/microservices.html 1. 2. Options Connect to the API layer and query data and reconstruct in new monolith Somehow bypass the API layer? 35
U L T I P L E D B S , B Y P A S S I N G T H E A P I S D E S I G N T H E D O M A I N T O R E A S O N M O R E E F F E C T I V E L Y A B O U T T H E S P A C E Restoring the Rails monolith 37
important to connect to your database in a single model and then inherit from that model for the tables rather than connect multiple individual models to the same database. Database clients have a limit to the number of open connections there can be and if you do this it will multiply the number of connections you have since Rails uses the model class name for the connection specification name." Source: https://guides.rubyonrails.org/active_record_multip le_databases.html 39
Meta 2009 - 2023 Shopify 2006 - 2023 Most software companies 240 125 2.4 0 Lifetime company profits, $ US billion B I G T E C H Big tech: Not all tech companies are alike V E R Y L A R G E C O S S M A L L T E C H C O S 100k+ employees < 10k employees <!k employees 43
of users Hundreds of thousands to millions of employees Hundreds of billions of cash on hand Financial resources no longer a constraint. Instead: Hiring Regulations (incl. antitrust) Internal communication / mgmt challenges Economic conditions / world limits Internal integration just isn't feasible BigTech loves fragmentation 44
than 50 other developers Even large Rails companies are far from 100k - millions of employees Majority of Rails devs work for small tech Source: https://rails-hosting.com/2022/#how-big-is-the-development-team 47
Power over perception Behavior modification → Political control, Economic domination Dangers: Technofeudalism, cybernetic authoritarianism New kind of monopoly B I G T E C H I S N ' T T H E U S U A L K I N D O F B I G Sources: Shoshana Zubhoff: Age of Surveillance Capitalism, Yanis Varoufakis on Technofeudalism. 48
contracts. C L A Y T O N A C T 1914 • Prohibits unfair methods of competition and deceptive acts or practices. F E D E R A L T R A D E C O M M I S S I O N A C T 1914 • It aims to prevent and punish monopolies and cartels, prohibiting agreements in restraint of trade and monopolization. S H E R M A N A C T 1890 Anti-competitive practices have been illegal for 100+ years 50
3. 4. Reasons: Concerted effort to weaken anti-trust regime Economists and legal scholars The rise of neoliberal economic policies in the 1980s and 1990s The influence of corporate lobbying and campaign contributions Digital power is less understandable / novel and escapes regulation 51
security, Meta has supported efforts to outright ban TIkTok Meta's reasons are clear: TikTok is too good a competitor TikTok's is a threat (to Meta) 52
recession The dominant strategy is always to keep resourcing as efficient and tech optionality large Rails first doesn't mean not using services or SPAs when necessary Don't intentionally adopt Big Tech patterns unless you are sure financial resourcing is no longer an issue So Big tech patterns may not be right for you 56
• • Some cos may be able to sustain big tech patterns, either due to huge resourcing, advanced skills of tech team and prior experience, etc. For most, Rails a key driver of tech diversity and plurality, as it enables smaller companies 57
SPAs for most use cases (when factoring resource efficiency) Monolith by default is the right choice when product requirements are uncertain Medium/Large tech cos like Shopify, Github and others as well as DHH/Basecamp continue to enhance the framework Let's take up Eileen's call to make a contribution to Rails Rails is cool because it helps companies succeed 58