Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
In this presentation titled "Nginx + Mruby. Features and Use Cases," Sergey Alekseenko discusses the MRuby programming language and its integration with Nginx, focusing on its features and various use cases. MRuby is a lightweight version of Ruby designed for embedding in applications, allowing for efficient coding and performance in resource-constrained environments. Key points discussed include: - **Introduction to MRuby**: A lightweight implementation of Ruby, compliant with a portion of the ISO standard, suitable for embedding in applications. The speaker highlights his experience with MRuby starting from version 1.4. - **Building MRuby**: Instructions for cloning the MRuby repository, configuring build settings, and compiling MRuby with tools like GCC. The output includes interpreters and an interactive shell, akin to traditional Ruby setups. - **Using MRuby Gems**: Explanation of how to manage MRuby packages through an MRuby gems package manager, including adding external libraries and making configurations in the build file. - **Examples and Limitations**: Key limitations in MRuby, such as visibility modifiers, requiring external files, and the lack of regular expression support are discussed. However, examples of community projects leveraging MRuby, like MRuby-CLI and Trust Earth, illustrate MRuby’s versatility. - **Integration with Nginx**: The speaker shares his personal experience embedding MRuby within Nginx to automate SSL certificate management and enhance its server capabilities. He explains the flexibility this integration provides and outlines directives like 'mruby_content_handler' which allow Ruby scripts in Nginx configurations for dynamic request processing. - **Performance Management**: Strategies for optimizing MRuby scripts execution and ensuring fault tolerance in production environments are shared, highlighting the importance of managing user instances across multiple Nginx workers effectively. Conclusively, the talk underscores the potential of MRuby for enhancing server-side applications, particularly with Nginx for tailored web performance solutions, and encourages exploration of MRuby’s features in embedded systems and microcontroller applications.
Suggest modifications
Cancel