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)
The new year finds us with a new feature for lightning-fast debugging sessions @SkroutzDevs - Breakpoints in Production HTTP Requests engineering.skroutz.gr/blog/…
1
6
204
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
Yesterday we switched Skroutz's #rails cache store from the deprecated DalliStore to MemCacheStore. Making core changes to the caching layer while seamlessly serving extreme amounts of traffic is undoubtedly a very exciting challenge :) Btw, we are hiring! apply.workable.com/skroutz/j…
2
7
20
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
Caller metadata (file:lineno) will be part of our SQL queries @SkroutzDevs thanks to the marginalia gem. Our response time to performance incidents due to slow queries is expected to be significantly reduced! github.com/basecamp/marginal…
1