Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
Video from the first edition of Ruby Warsaw Community Conference with a presentation by Paweł Strzałkowski. The speaker introduces the concept of building multiple process servers using Ruby on Rails framework. The speech describes a helpful tool - Rails Permanent Job gem, which is a wrapper for ServerEngine gem. Additional links: - Rails Permanent Job gem - https://github.com/pstrzalk/rails_permanent_job - ServerEngine gem - https://github.com/treasure-data/serverengine - Sneakers gem (using ServerEngine) - https://github.com/jondot/sneakers Presentation plan: [0:23] Beginning of the presentation [1:25] Games in Ruby on Rails [5:45] Using Cron to perform scheduled actions [9:10] Custom rake tasks for handling sub-minute intervals [12:20] Continuous read for a data feed [12:48] Do not use Sidekiq for scheduling next jobs [15:45] Concurrent solutions [18:10] Introduction to ServerEngine [21:00] ServerEngine code examples [23:55] Introduction to Rails Permanent Job [25:17] Rails Permanent Job code examples [30:16] Ruby on Rails game implementation presentation [31:56] Summary [33:34] Multiplayer Ruby on Rails game showcase [35:08] Q&A ____________________________________________ ► Looking for a dedicated software development team? Contact us at: https://visuality.page.link/page ► SUBSCRIBE to learn more about software development: http://bit.ly/SubscribeVisuality http://bit.ly/SubscribeVisuality http://bit.ly/SubscribeVisuality ► Read what clients say about us on Clutch.co: https://clutch.co/profile/visuality ► Find us here: Instagram: https://www.instagram.com/visuality.pl/ Facebook: https://www.facebook.com/visualitypl Linkedin: https://www.linkedin.com/company/visualitypl/ X: https://twitter.com/visualitypl Dribble: https://dribbble.com/VISUALITY GitHub: https://github.com/visualitypl
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
### Summary of the Video: Rails Permanent Job - Build a Ruby on Rails Server Using ServerEngine In this presentation by Paweł Strzałkowski at the Ruby Warsaw Community Conference, the main focus is on developing multi-process servers using the Ruby on Rails framework through the use of relevant gems, particularly the Rails Permanent Job gem, which acts as a wrapper for the ServerEngine gem. #### Key Points Discussed: - **Game Development in Ruby on Rails**: The speaker engages the audience by discussing personal experiences in game development across various programming languages, emphasizing that creating games in Rails is feasible. - **Scheduled Tasks with Cron**: The presentation highlights the use of Cron for scheduling tasks in Unix-based systems, illustrating how it can handle jobs executed at defined intervals but noting its limitations in handling high-frequency tasks due to potential overlaps. - **Custom Rake Tasks**: Paweł explains creating Rake tasks for executing jobs at sub-minute intervals and discusses the risks involved, especially when using Sidekiq for task execution, which can lead to inaccuracies and overlaps. - **Continuous Processing**: Moving on to the need for continuous data processing, he underscores the challenge of reliable job execution in frameworks like Sidekiq, which are not ideally suited for this without risking overlaps. - **Introduction to ServerEngine**: The speaker introduces ServerEngine as a framework for building robust multi-process servers. He details its features, such as automatic restarting of failed workers and integration with TCP servers, allowing for resilient server solutions. - **Rails Permanent Job**: The presentation introduces the Rails Permanent Job gem, which simplifies the implementation of ServerEngine. It is described as user-friendly and production-tested, allowing developers to manage multiple jobs easily without complex setups. - **Game Implementation**: Paweł showcases a simple Ruby on Rails game demonstrating how game logic can run on the backend while the front end handles updates, showcasing the interplay of server processes and game states. - **Takeaway Messages**: Emphasizing that not all problems should be approached with Sidekiq and encouraging developers to explore alternative solutions like Rails Permanent Job, he leaves the audience with an invitation to experiment with game development and the discussed tools. ### Concluding Thoughts: The presentation concludes with an interactive multiplayer game demonstration, inviting audience engagement and showcasing the practical application of the discussed concepts. The importance of vibrant interaction in game development through backend processing is reinforced. Overall, the talk provides valuable insights for developers looking to enhance their Ruby on Rails applications through robust server management strategies.
Suggest modifications
Cancel