Kyriakos Markakis (@marquicodes) header
Kyriakos Markakis (@marquicodes) profile picture

💼 solution architect | software engineer • 📚 technical reviewer • tweets about #javascript, #nodejs, #fastify

🇪🇺
Joined September 2008
Photo by Kyriakos Markakis (@marquicodes)Photo by Kyriakos Markakis (@marquicodes)Photo by Kyriakos Markakis (@marquicodes)Photo by Kyriakos Markakis (@marquicodes)Photo by Kyriakos Markakis (@marquicodes)Photo by Kyriakos Markakis (@marquicodes)Photo by Kyriakos Markakis (@marquicodes)Photo by Kyriakos Markakis (@marquicodes)Photo by Kyriakos Markakis (@marquicodes)Photo by Kyriakos Markakis (@marquicodes)
Kyriakos Markakis retweeted
We cut @nodejs memory in half with a one-line Docker image swap. No code changes. No new APIs. Just smaller heaps. Here's what happened when we tested pointer compression on real workloads 🧵
13
71
2
713
65,614
I almost approved a security hole last year. A simple image server. Clean code. Worked perfectly. It also let anyone read any file on our filesystem. Here's what happened 🧵
1
1
1
223
Just started diving into the preview copy of "Node.js Design Patterns" by @loige and @mariocasciaro! Loving the clarity & depth so far. If you are into Node.js or backend architecture, this is shaping up to be a must-read. Kudos to the authors for crafting such a thoughtful book
38
Kyriakos Markakis retweeted
For years, I’ve been asked whether I’ll ever write a book about @Nodejs. I’m excited to announce the time has come. Presenting “The Definitive Guide for Node.js in Enterprise”, a labour of love by myself, @Lucamaraschi, and every single member of the @Platformatic team.
23
106
8
767
48,060
Kyriakos Markakis retweeted
The wait is over! 🎉 Fastify Mini Course is NOW LIVE for everyone! 🚀 Build high-performance APIs faster than ever. Get started here: buff.ly/4bchUc9 #Fastify #NodeJS
13
1
31
4,930
Kyriakos Markakis retweeted
❗ New Security Vulnerabilities shared from the Node.js Security newsletter latest issue: nodejs-security.com/newslett…
1
2
232
Kyriakos Markakis retweeted
Yesterday, we introduced multiple workers into @platformatic’s Watt application server 🚀 Why? • To reduce resource wastage • To improve app performance Let's clear up a couple questions we've received! 👇
3
1
24
2,951
Kyriakos Markakis retweeted
🚀 Excited to announce that @ArrowoodTech will speak at #NodeConfEU 2024! Join us for "Node.js Streams vs Web Streams" as we dive into Next.js's evolution and key API differences. Don’t miss it! Secure tickets: bit.ly/3V9ZIcx #NodeJS #NodeConfEU2024 #November #Ireland
2
1
9
1,606
Kyriakos Markakis retweeted
#JavaScript devs! Join @naugtur for a #hands-on #workshop on memory management & leak detection at #NodeConfEU this November at @waterfordcastle Learn:🧠 Memory basics🔧 Fixing leaks 🛠️ Dev tools Don’t miss out! 🎟️ Get tickets: bit.ly/3V9ZIcx #NodeConfEU #TechEvents
4
7
591
Kyriakos Markakis retweeted
Good news: the @nodejs downloads reached an all-time high in August, when Node.js v20 finally surpassed Node.js v18! Bad news: Node.js v16 still has major usage; go update, it has been out of LTS for a year! Really bad news: who the heck is still using Node.js v14 and v12?
40
36
6
386
48,992
Kyriakos Markakis retweeted
New Node.js feature is environment variables support You can keep using dotenv, or you can remove it and spin up Node.js with --env-file=./.env and it will automatically populate your `process.env`
6
14
63
4,481
Kyriakos Markakis retweeted
My TL;DR of database choices in 2024 - Pick Sqlite iff you don’t need the db to be accessed over network - Pick Postgres otherwise - Never pick NoSQL (and I did my PhD on NoSQL) Also shout out to this awesome article for more depth 👇 mccue.dev/pages/8-16-24-just…
71
117
26
1,291
188,635
Kyriakos Markakis retweeted
For years, the Red Hat @nodejs team has been publishing articles on how to do Node.js correctly. They have also compiled a "reference architecture." I've also contributed by writing the foreword! developers.redhat.com/e-book…
1
72
1
376
20,398
Kyriakos Markakis retweeted
Ensure data consistency and resilience in your systems with the latest guide from @ManuEomm on resuming data replication in #Postgres and #Nodejs. 📖 >> nearform.com/digital-communi…
1
2
344
Kyriakos Markakis retweeted
I wrote a new article about Postgres and data replication! If you want to be notified, just subscribe to the mailing list, you'll get one email every 1 or 2 months, I'm not a spammer 😄 buff.ly/4ff69TF
2
8
220
This is an improved version that handles an important edge case - if the phrase appears between two chunks. teapawt.net/mattpocockuk/status/18…
Replying to @hajekfijs
Something like this seems to have the right tradeoffs?
6
5
1
109
21,651
Kyriakos Markakis retweeted
There is no reason to use "sleep" in tests. Using sleep is always guessing. Guessing how long something will complete or when something will happen. There's hundreds of factors that affect your code's execution. Stop guessing. Sleep is not synonymous to wait. What you want when you reach for sleep is to wait for something to happen. So do just that. Await state, not time.
10
20
2
141
24,185
So, Google Chrome gives all *.google.com sites full access to system / tab CPU usage, GPU usage, and memory usage. It also gives access to detailed processor information, and provides a logging backchannel. This API is not exposed to other sites - only to *.google.com.
235
2,128
495
15,230
2,478,448