Skip to main content
Kent Academic Repository

Who You Gonna Call? A Case Study about the Call-Site Behaviour in Ruby-on-Rails Applications

Kaleba, Sophie, Larose, Octave, Marr, Stefan, Jones, Richard (2022) Who You Gonna Call? A Case Study about the Call-Site Behaviour in Ruby-on-Rails Applications. In: MoreVMs'22: Workshop on Modern Language Runtimes, Ecosystems, and VMs, 21-25 Mar 2022 and 11-14 Apr 2022, Porto, Portugal and online. (Unpublished) (KAR id:93937)

Abstract

Web-applications are ubiquitous, from simple personal blogs to e-commerce platforms with millions of sales. Ruby-on-Rails is a popular framework implemented in Ruby that provides tools to build such web-applications. Performance is often critical in the context of large-scale web-applications; especially in dynamic languages such as Ruby that feature reflection and the use of many small methods. Such languages therefore benefit from run-time optimisations, notably through the combined use of lookup caches, splitting and inlining.

To limit their overhead, such optimisations generally rely on assumptions that do not necessarily match with the actual run- time behaviour. With Phase-based splitting, we showed that splitting can benefit from using homogeneous patterns of behaviour, called “phases” to reach better performance. In an effort to identify such phases in real-world web-applications, we thoroughly analyse the run-time call-site behaviour of Ruby programs and Ruby-on-Rails applications, running on top of TruffleRuby. This talk describes our findings and aims at guiding future research on call-site optimisation.

Item Type: Conference or workshop item (Paper)
Uncontrolled keywords: Ruby-on-Rails; Ruby; web development
Subjects: Q Science > QA Mathematics (inc Computing science) > QA 76 Software, computer programming,
Divisions: Divisions > Division of Computing, Engineering and Mathematical Sciences > School of Computing
Depositing User: Stefan Marr
Date Deposited: 06 Apr 2022 22:02 UTC
Last Modified: 05 Nov 2024 12:59 UTC
Resource URI: https://kar.kent.ac.uk/id/eprint/93937 (The current URI for this page, for reference purposes)

University of Kent Author Information

Kaleba, Sophie.

Creator's ORCID:
CReDIT Contributor Roles:

Larose, Octave.

Creator's ORCID:
CReDIT Contributor Roles:

Marr, Stefan.

Creator's ORCID: https://orcid.org/0000-0001-9059-5180
CReDIT Contributor Roles:

Jones, Richard.

Creator's ORCID: https://orcid.org/0000-0002-8159-0297
CReDIT Contributor Roles:
  • Depositors only (login required):

Total unique views for this document in KAR since July 2020. For more details click on the image.