jondot Profile picture
Founder & CEO, CTO of Spectral, acq. by Check Point | ๐Ÿ‘พ Hacker | ๐Ÿดโ€โ˜ ๏ธ Reverser | ๐Ÿ’พ Open Source | #Rust ๐Ÿฆ€ #Hacking #Startups | Opinions my own.
Aug 22 โ€ข 5 tweets โ€ข 2 min read
First rule of microservices should be to avoid microservices.

๐Ÿงตโฌ‡๏ธโฌ‡๏ธ Because spreading a what mostly is a coherent, mostly linear workflow that is virtually the majority of workflows in business over many machines for the sake of โ€œperformanceโ€ is just calling for trouble.

Do your capacity planning better. Choose better languages and benchmark your unknowns.

Only after youโ€™ve done all that, cut a microservice out. At this point you will have a very good reason to do so and a few years have passed for every single lesson youโ€™ll need while refactoring your code.
Feb 11, 2022 โ€ข 7 tweets โ€ข 3 min read
ื—ืœืืก. ื‘ื ื–ื•ื ื” ืœื›ืชื•ื‘ ืงื•ื“ ืคืจื•ื“ืงืฉืŸ ื‘bash ื‘ืœื™ื ื•ืงืก. ืžืขื•ืœื”. ืžื“ื”ื™ื. ืคืฆืฆื”. ืืคืก ืฆื™ื ื™ื•ืช. ื”ื’ื™ืข ื”ื–ืžืŸ ืœื”ื’ื™ื“ ืืช ื–ื”, ื‘ืœื™ ื›ื•ื›ื‘ื™ื•ืช ื•ื‘ืœื™ ืกื™ื™ื’ื™ื.

ืชืขืฉื• ื›ืœ ืžื” ืฉืืชื ื™ื›ื•ืœื™ื ืœื›ืชื•ื‘ ื‘bash. ื–ื” ืœื ืจืง ืงื•ืคื™ ืคื™ื™ืกื˜, ื™ืฉ ืขื•ื“ ื“ื‘ืจื™ื. ืžื” ืฉืžืฉื ื” ื–ื” ืฉืชืขืฉื• ื”ื›ืœ ื‘bash, ื–ื• ื”ื“ืจืš ื”ื ื›ื•ื ื”.

ืื– ืœื›ืชื•ื‘ ื‘bash, ืœืžื” ืœืฉืื•ืฃ ืจืง ืœื–ื”, ๐Ÿงต 1) ืžืขืœ ื”ื›ืœ, ืœื›ืชื•ื‘ ืงื•ื“ ื‘ื™ื ื•ื ื™ ื‘bash ืขื“ื™ืฃ ืžืœื›ืชื•ื‘ ืงื•ื“ ืžื“ื”ื™ื ื‘ื›ืœ ื”ืฉืคื•ืช ื”ืื—ืจื•ืช.

ืจื•ื‘ ืฉืคื•ืช ื”ืชื›ื ื•ืช ืžืชืคืœื’ื•ืช ื›ื›ื”:

5% ืงื•ื“ ื—ืจื
5% ืงื•ื“ ื—ืจื ืฉื—ื•ืฉื‘ื™ื ืฉื”ื•ื ืžื“ื”ื™ื
ืื‘ืœ 90%. 90% ืงื•ื“ ื‘ืืžืช ื—ืจื ืฉื™ื•ืฉื‘ ื‘ืžื™ืงืจื•ืกืจื‘ื™ืกื™ื ื•ืื– ืœืžื™ ืื›ืคืช, ืืฃ ืื—ื“ ืœื ื™ื•ื“ืข ืื™ืคื” ื”ื ื™ื•ืฉื‘ื™ื ืื– ืžื” ื–ื” ืžืฉื ื”
Jan 23, 2022 โ€ข 4 tweets โ€ข 2 min read
For the last 15 years, I regularly code-read interesting projects and write my own notes about code & arch as I go. This time I'm reading @prisma's codebase.
In one word: clever.

Rarely I come across codebases that tick all the boxes and take all the right trade-offs. with my commercial projects, I usually find "unfair" advantages; eat the cake and have it too.

* Userland API in a malleable programming language and infrastructure code in Rust, you pay no overhead.
* The extremely right tool for the job
* "Payment" with good interop