{"id":22337589,"url":"https://github.com/mkdika/rails_performance_notes","last_synced_at":"2025-03-26T08:23:43.492Z","repository":{"id":102258610,"uuid":"370900509","full_name":"mkdika/rails_performance_notes","owner":"mkdika","description":"Collection of Ruby on Rails performance optimisation notes","archived":false,"fork":false,"pushed_at":"2021-05-26T12:14:59.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-31T09:45:15.442Z","etag":null,"topics":["notes","performance","ruby-on-rails","tutorial"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkdika.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-26T04:00:11.000Z","updated_at":"2021-05-26T12:15:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"0df22909-0bd6-410d-9f87-876a04ebb876","html_url":"https://github.com/mkdika/rails_performance_notes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkdika%2Frails_performance_notes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkdika%2Frails_performance_notes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkdika%2Frails_performance_notes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkdika%2Frails_performance_notes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkdika","download_url":"https://codeload.github.com/mkdika/rails_performance_notes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245616175,"owners_count":20644597,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["notes","performance","ruby-on-rails","tutorial"],"created_at":"2024-12-04T06:10:38.410Z","updated_at":"2025-03-26T08:23:43.473Z","avatar_url":"https://github.com/mkdika.png","language":null,"readme":"# Ruby on Rails Performance Notes\n\nThis is my brain dump notes about Ruby on rails performance optimization.\n\n## Memory issues\n\n### Jemalloc\n\nJemalloc is use as alternative to default cruby memory allocator: `malloc`, it is claim to be more effective allocation for C, and it is compatible with MRI.\n\nI have some experience taming Rails memory fragmentation in production, and one of how it was solved is with applying Jemalloc.\n\n### Reference\n\n- [Website](http://jemalloc.net/)\n- [GitHub](https://github.com/jemalloc/jemalloc)\n- [Menurunkan penggunaan memory untuk aplikasi Ruby (ID)](https://medium.com/binar-academy/menurunkan-penggunaan-memory-untuk-aplikasi-ruby-newbie-friendly-c7b2af11b4a8)\n- [Lower memory usage of your rails app with jemalloc](https://bubblin.io/blog/jemalloc)\n- [What causes Ruby memory bloat?](https://www.joyfulbikeshedding.com/blog/2019-03-14-what-causes-ruby-memory-bloat.html)\n\n\n## References\n\n- [Rails Guide - Performance Testing Rails Applications](https://guides.rubyonrails.org/v3.2/performance_testing.html)\n\n## Books\n\n### Ruby\n\n- [Ruby Performance Optimization](https://pragprog.com/titles/adrpo/ruby-performance-optimization/)\n\n### Rails\n\n- [The complete guide to Rails performance](https://www.railsspeed.com/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkdika%2Frails_performance_notes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkdika%2Frails_performance_notes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkdika%2Frails_performance_notes/lists"}