Mpampis Kostas (@charkost) header
Mpampis Kostas (@charkost) profile picture

Back-End Rails Engineer @SkroutzDevs

Athens, Greece
Joined October 2013
Photo by Mpampis Kostas (@charkost)Photo by Mpampis Kostas (@charkost)Photo by Mpampis Kostas (@charkost)Photo by Mpampis Kostas (@charkost)
Mpampis Kostas retweeted
How to be a top 10% Ruby perf team: 1. SLO-based queues 2. RMP in all environments 3. RUM in browser 4. Autoscale web and worker 5. Instrument request queue time 6. Automated alerts/SLOs in Terraform 7. Prosopite/strictloading in tests 8. Latest Ruby w jemalloc 9. Turbo
One of the ways I assess the "performance savviness" of a team is "are they running rack-mini-profiler in all environments, including production?" RMP remains the flagship tool for any organization serious about performance. Running it in prod means that you can replicate almost any problem.
3
12
3
169
16,213
Mpampis Kostas retweeted
Tired: eager loading suggestions Wired: prosopite, raise exceptions in all environments except prod if you N+1
1
4
36
3,484
Mpampis Kostas retweeted
These gems are fine, but IME 90% of N+1s in apps cannot be fixed simply by adding a preload/eager_load in the right place. This is why I prefer "fail hard"/andon cord approaches like prosopite, which doesn't propose that it always has the solution
2
2
23
4,408
Mpampis Kostas retweeted
Ruby 3.3.0 YJIT improvements 🎉 I like the idea of starting YJIT only after your application fully booted. Also exited to see a pure-Ruby JIT RJIT.
3
4
38
5,332
Mpampis Kostas retweeted
I had an issue with bullet talking way, way too much overhead. I’m talking over 90% of the time spend for bullet. I replaced it with prosopite. It does the same and no visible overhead. My crazy went from 15 minutes to 1 minute (it does a lot I know)
1
1
2
160
Mpampis Kostas retweeted
Replying to @charkost
Thank you for the feedback. I actually have a gem that uses Prosopite to automatically detect n+1s and report them on GitHub pull requests: github.com/bodacious/jiminy The intention for this article, though, was to cover the basic principles. So tools were out of scope 🤓
Mpampis Kostas retweeted
That heart-sinking feeling when you see a huge performance regression but it wasn't tied to a code deploy 🙃
1
1
21
Mpampis Kostas retweeted
we've been using Prosopite at Gusto for a minute (implemented by others, not by me) and it's a significant improvement on Bullet. Check it out: google.com/search?q=prosopit…
4
4
49
Mpampis Kostas retweeted
In OSS, there are no sprints, stand-ups, retrospectives, 1:1s, 360s, quarters, velocities, estimations, deadlines, project managers, "how is this going", year goals, ..., could go on and on. Yet it ships non-stop and runs the world.
11
130
10
757
Mpampis Kostas retweeted
How your eyes move. The brain and optic nerves: #neuroscience
17
341
58
1,552
Ever wondered how bash completions actually work, or wanted to implement your own? Then Lazarus Lazaridis (@lazaru_s) has got you covered with this excellent article. Great work 👍! iridakos.com/programming/201…
1
11
36
Mpampis Kostas retweeted
Δωρεάν μεταφορικά; Κι όμως γίνεται! Με το Skroutz Plus. Τη νέα συνδρομητική υπηρεσία που σου δίνει δωρεάν αποστολές σε όλη την Ελλάδα, για αγορές μέσω Skroutz, με μόνο 17€ τον χρόνο. 🙌 Ξεκίνα εδώ: skroutz.gr/plus
4
25
5
87
Mpampis Kostas retweeted
Do you feel lost? Try creating. Could be code, companies, art, people. Creation brings meaning because it's what we were made to do.
20
121
15
961
💎 Rails tip💎 You don't always need to use raw SQL when trying to do something that ActiveRecord doesn't support. You can use Arel, which can be more structured, readable, and possibly safer. ↓ Basic Example ↓ #ruby #rails #rubyonrails
5
14
93
Mpampis Kostas retweeted
I've spoken to 2,000+ people about remote work in the last 12 months A few predictions of what is likely to emerge before 2030 [ a thread ] 💻🏠🌍
95
854
384
2,746
Mpampis Kostas retweeted
♦️Ruby has a handy email regex to check if an email is valid or not. It returns nil if it doesn't match the regex. For those interested, the Regex can be found in the source here: github.com/ruby/uri/blob/mas… #ruby #rubyonrails
4
28
159