Mpampis Kostas

184 posts

Mpampis Kostas banner
Mpampis Kostas

Mpampis Kostas

@charkost

Back-End Rails Engineer @SkroutzDevs

Athens, Greece شامل ہوئے Ekim 2013
500 فالونگ243 فالوورز
Mpampis Kostas ری ٹویٹ کیا
Nate Berkopec
Nate Berkopec@nateberkopec·
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
Nate Berkopec@nateberkopec

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.

English
3
12
168
16.1K
Mpampis Kostas ری ٹویٹ کیا
Nate Berkopec
Nate Berkopec@nateberkopec·
Tired: eager loading suggestions Wired: prosopite, raise exceptions in all environments except prod if you N+1
English
1
4
37
3.5K
Mpampis Kostas ری ٹویٹ کیا
Nate Berkopec
Nate Berkopec@nateberkopec·
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
Yuri Sidorov@YuriSidorov

@nateberkopec Doesn’t `jit_preloader` gem fix that? github.com/clio/jit_prelo…

English
2
2
22
4.4K
Nate Berkopec
Nate Berkopec@nateberkopec·
.@techpickles is a dev-env whisperer. Since he joined Gusto 2 years ago, I think 90% of my time is spent using and interacting w/tooling he either set up or wrote. He makes the monolith a much nicer place.
English
2
0
35
4.1K
Mpampis Kostas
Mpampis Kostas@charkost·
@nateberkopec Thanks again for the publicity! Apart from dev+test envs, we are also running it in the production http traffic of @SkroutzDevs with a 5% request sampling & custom logger to Sentry.
English
0
0
2
260
Mpampis Kostas ری ٹویٹ کیا
Nate Berkopec
Nate Berkopec@nateberkopec·
Prosopite continues to impress; github.com/charkost/proso… The functionality of running it in tests is quite good.
English
4
7
69
7.1K
Mpampis Kostas ری ٹویٹ کیا
Josef Strzibny
Josef Strzibny@strzibnyj·
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.
Josef Strzibny tweet media
English
3
5
39
5.3K
Mpampis Kostas ری ٹویٹ کیا
Thomas B
Thomas B@ThomasOneDev·
@SanchezDav90 @andrewmcodes @rubyforall 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)
English
1
1
2
158
Mpampis Kostas
Mpampis Kostas@charkost·
@_pawurb Hello @_pawurb, prosopite author here. Could you please provide some examples of the many false positive cases you've seen it report?
English
0
0
0
59
Mpampis Kostas ری ٹویٹ کیا
Gavin Morrice
Gavin Morrice@iamtheantislop·
@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/jimi… The intention for this article, though, was to cover the basic principles. So tools were out of scope 🤓
English
0
2
6
0
Mpampis Kostas ری ٹویٹ کیا
Nate Berkopec
Nate Berkopec@nateberkopec·
That heart-sinking feeling when you see a huge performance regression but it wasn't tied to a code deploy 🙃
English
1
1
21
0
Mpampis Kostas ری ٹویٹ کیا
Nate Berkopec
Nate Berkopec@nateberkopec·
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=proso…
English
4
4
49
0
Mpampis Kostas ری ٹویٹ کیا
Xavier Noria
Xavier Noria@fxn·
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.
English
11
131
761
0
Mpampis Kostas ری ٹویٹ کیا
Slava Bobrov
Slava Bobrov@slava__bobrov·
How your eyes move. The brain and optic nerves: #neuroscience
GIF
English
18
351
1.6K
0