
Dima Fatko πΊπ¦
@fatkodima
Followers
665
Following
2K
Media
38
Statuses
399
Backend, architecture, ruby, linux, databases. Love to investigate low-level things. Wannabe @github, @gitlab or @Shopify
Ukraine
Joined November 2013
Just yesterday it helped me again to identify exact places of performance problems in a long running job π«°. APM and other tools were useless. Found exact places of N+1s, lines that load too many records, most popular SQL queries, redundant queries, etc. Highly recommend!.
Presenting a new gem for tracing Active Record, I wish existed earlier π Many times I crafted code to get similar reports like in the gem - to profile slow tests, rake tasks, jobs, find the most popular queries etc. I hope you will find it useful too.
0
0
4
Very happy about this change to rubocop Very often I see people use the `&.` operator without giving much thought. That change does a deeper analysis of the code and will help to reduce unneeded `&.`, making code nicer. I found 250 such cases in my app.
github.com
Closes #13835. This cop detects safe navigation as unnecessary if there was some method call on the same receiver in the previous code paths. cc @vlad-pisanov
1
2
15
A nice optimization was merged, which makes Rails batching over whole (or almost whole) tables even faster. π.
github.com
Motivation / Background Fixes #51242 In ActiveRecord 7.1, a new option was added to ActiveRecord::Batches#in_batches, use_ranges: true, that enables a more efficient way to generate queries from th...
1
3
49
It is scary when idiots like musk have so much power and influence. In ideal world, such people must be isolated from society. Or, more likely, he writes such statements purposefully. Sorry, I hate tweeting about politics, but having this idiot on our planet is too much.
0
0
16
π₯π₯π₯ Puma internals article.
dansvetlov.me
Taking a comprehensive look at how Puma, one of the most popular Ruby web servers, works under the hood.
1
9
59
RT @_byroot: I found a bit of time there and there to write part 3 over the last week, hopefully it isn't too disjointed. .
byroot.github.io
In the previous post, I covered how I reimplemented JSON::Generator::State#configure in Ruby and some other changes. Unfortunately, it didnβt go as well as I initially thought.
0
12
0
RT @maciejmensfeld: @fatkodima's recent PR improved PostgreSQL index retrieval in Rails, reducing query time from 2,500 to 500ms β‘οΈ Great wβ¦.
0
5
0
RT @_byroot: I have the pleasure to welcome @fatkodima in the Rails committers team. Dima has been relentlessly fixing reported issues inβ¦.
0
11
0