Ruby on Rails Background Jobs with Sidekiq
Saved in:
| Title: | Ruby on Rails Background Jobs with Sidekiq |
|---|---|
| Description: | Using Sidekiq for background jobs is a great way to scale and grow your app. This book will give you a solid, practical foundation for creating resilient, well-tested, self-healing code that uses background jobs. You'll be able to simulate real-world failure modes and learn how to write idempotent code that can be safely run with Sidekiq. One of the best ways to improve your Rails app's performance is to use background jobs with Sidekiq. While Sidekiq is easy to get set up, you need to do more than just move code around to reap the benefits. In this book, you'll get solutions to what sort of code should go into a Sidekiq job and how to manage those jobs. You'll create a Sidekiq configuration that will serve as a solid foundation for your app, including how to be notified when jobs inevitably fail. You'll then tame alerting fatigue by designing idempotent jobs that can be safely retried in the face of the types of transient failures that are common in networked applications, all without alerting you until action is needed. With that foundation, you'll get a conceptual framework for general monitoring and alerting around your Sidekiq installation and the Redis database it uses, as well as practical tips for organizing the code around your Sidekiq jobs. You'll also learn valuable testing strategies for code that uses Sidekiq jobs. In no time at all you'll build a Rails app using Sidekiq that is efficient, manageable, and sustainable. What You Need: You should have some experience with Ruby and Rails. You should have a basic understanding of what a background job is. You'll need to be able to run Docker in order to set up all the software. |
| Authors: | David B. Copeland |
| Resource Type: | eBook. |
| Subjects: | Ruby (Computer program language) |
| Categories: | COMPUTERS / Languages / Ruby, COMPUTERS / Programming / Parallel, COMPUTERS / Internet / User-Generated Content |
| Database: | eBook Collection (EBSCOhost) |
| FullText | Links: – Type: ebook-pdf – Type: ebook-epub Text: Availability: 0 |
|---|---|
| Header | DbId: nlebk DbLabel: eBook Collection (EBSCOhost) An: 3737311 RelevancyScore: 1116 AccessLevel: 6 PubType: eBook PubTypeId: ebook PreciseRelevancyScore: 1116.28857421875 |
| IllustrationInfo | |
| ImageInfo | – Size: thumb Target: https://rps2images.ebscohost.com/rpsweb/othumb?id=NL$3737311$PDF&s=r – Size: medium Target: https://rps2images.ebscohost.com/rpsweb/othumb?id=NL$3737311$PDF&s=d |
| Items | – Name: Title Label: Title Group: Ti Data: Ruby on Rails Background Jobs with Sidekiq – Name: Abstract Label: Description Group: Ab Data: Using Sidekiq for background jobs is a great way to scale and grow your app. This book will give you a solid, practical foundation for creating resilient, well-tested, self-healing code that uses background jobs. You'll be able to simulate real-world failure modes and learn how to write idempotent code that can be safely run with Sidekiq. One of the best ways to improve your Rails app's performance is to use background jobs with Sidekiq. While Sidekiq is easy to get set up, you need to do more than just move code around to reap the benefits. In this book, you'll get solutions to what sort of code should go into a Sidekiq job and how to manage those jobs. You'll create a Sidekiq configuration that will serve as a solid foundation for your app, including how to be notified when jobs inevitably fail. You'll then tame alerting fatigue by designing idempotent jobs that can be safely retried in the face of the types of transient failures that are common in networked applications, all without alerting you until action is needed. With that foundation, you'll get a conceptual framework for general monitoring and alerting around your Sidekiq installation and the Redis database it uses, as well as practical tips for organizing the code around your Sidekiq jobs. You'll also learn valuable testing strategies for code that uses Sidekiq jobs. In no time at all you'll build a Rails app using Sidekiq that is efficient, manageable, and sustainable. What You Need: You should have some experience with Ruby and Rails. You should have a basic understanding of what a background job is. You'll need to be able to run Docker in order to set up all the software. – Name: Author Label: Authors Group: Au Data: <searchLink fieldCode="AR" term="%22David+B%2E+Copeland%22">David B. Copeland</searchLink> – Name: TypePub Label: Resource Type Group: TypPub Data: eBook. – Name: Subject Label: Subjects Group: Su Data: <searchLink fieldCode="DE" term="%22Ruby+%28Computer+program+language%29%22">Ruby (Computer program language)</searchLink> – Name: SubjectBISAC Label: Categories Group: Su Data: <searchLink fieldCode="ZK" term="%22COMPUTERS+%2F+Languages+%2F+Ruby%22">COMPUTERS / Languages / Ruby</searchLink><br /><searchLink fieldCode="ZK" term="%22COMPUTERS+%2F+Programming+%2F+Parallel%22">COMPUTERS / Programming / Parallel</searchLink><br /><searchLink fieldCode="ZK" term="%22COMPUTERS+%2F+Internet+%2F+User-Generated+Content%22">COMPUTERS / Internet / User-Generated Content</searchLink> |
| PLink | https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=nlebk&AN=3737311 |
| RecordInfo | BibRecord: BibEntity: Classifications: – Code: 006.754 Scheme: ddc Type: prePub Languages: – Code: eng Text: English Subjects: – SubjectFull: Ruby (Computer program language) Type: general Titles: – TitleFull: Ruby on Rails Background Jobs with Sidekiq Type: main BibRelationships: HasContributorRelationships: – PersonEntity: Name: NameFull: David B. Copeland – PersonEntity: Name: NameFull: David B. Copeland IsPartOfRelationships: – BibEntity: Dates: – D: 01 M: 01 Type: published Y: 2023 – D: 14 M: 05 Type: profile Y: 2026 Identifiers: – Type: isbn-print Value: 9798888650363 – Type: isbn-electronic Value: 9798888650547 – Type: isbn-electronic Value: 9798888650530 Titles: – TitleFull: Ruby on Rails Background Jobs with Sidekiq Type: main |
| ResultId | 1 |