پیشنهاد فرادرس

تکنیک های افزایش سرعت Ruby on Rails 4.1

دسته بندی ها: آموزش روبی آن ریلز (Ruby On Rails) ، فریمورک ها ، آموزش های پلورال سایت (Pluralsight)

تکنیک-های-افزایش-سرعت-ruby-rails-4-1

در این آموزش تصویری با تکنیک های افزایش سرعت در Ruby on Rails 4.1 آشنا می شوید.

این دوره آموزشی محصول موسسه Pluralsight می باشد.

سرفصل های دوره آموزشی:

  • معرفی دوره
  • Performance چیست؟
  • بهینه سازی Premature
  • مجموعه ای از Generational Garbage
  • آموزش نرم افزار U و Apache Bench
  • استفاده از Apache Bench
  • کار با Rails Log
  • کار با Select  و  Pluck
  • معرفی HTTP Header
  • آموزش ETag  و  If-None-Match
  • کار با Fragment Caching
  • کار با Fragment Caching  با  Array as Cache Key
  • کار با Fragment Caching  و  Paginated List
  • کار با Turbolinks  و  pjax
  • کار با Testing Turbolinks
  • نتیجه گیری

عنوان دوره آموزشی: Rails 4.1 Performance Fundamentals سطح: مقدماتی مدت زمان: 4 ساعت و 20 دقیقه نویسنده: Brian Moreartyلیست سرفصل های دوره آموزشی:

Speed up your Ruby on Rails 4.1 applications. With the help of some gems, all techniques in this course can also be used in Rails 3.2 apps. This course teaches pragmatic, Rails-specific techniques to profile performance, find and fix slow database queries, get alerted automatically whenever you create an N+1 query, and simulate latency and low bandwidth. You'll also learn to take advantage of the browser's cache with ETags or time-based expiration, set up Memcached for server-side caching, speed up view rendering with fragment caching, cache nested fragments with Russian Doll caching, and use Turbolinks and pjax to give a multi-page app the responsiveness of a single-page app.

Introduction 01:37 Why Performance? 03:31 Premature Optimization 01:39 My Recommended Approach 05:28 Performance Vs. Throughput Vs. Scalability 02:09 Rails Performance on the Client Side, Server Side, and in Between 03:04 Summary 01:49 Ruby 2.1 00:22:10 Introduction 00:38 Copy-on-write Memory Sharing 02:23 Generational Garbage Collection 01:13 Faster Than 2.0 01:00 Much Faster Than 1.9.3 01:20 I Teach U App and Apache Bench 02:46 Comparing 1.9.3 to 2.1.1 Using Apache Bench 07:02 Memory Consumption in Ruby 2.1.0 and 2.1.1 04:47 Summary 00:57 Rails Performance and the Database 01:02:09 Introduction 01:58 Profiling, X-Runtime, and the Browser's Network Debug Panel 04:33 The Rails Log 03:57 Pagination and Kaminari 03:32 Missing Indexes and Lol_dba 06:33 Bullet, N+1 Queries, and Counter Caches 10:46 Rack-Mini-Profiler and Flamegraphs 08:29 Select and Pluck 02:42 The Query Cache 02:01 New Relic and Rails Panel 05:07 Do Not Order By :created_at 02:05 Making Multiple Writes? Use a Transaction 00:51 Iterating Over Tons of Rows? Use find_each 02:56 Summary 06:32 Browser Caching 00:46:44 Introduction and HTTP Headers 02:15 Last-Modified and If-Modified-Since 01:52 ETag and If-None-Match 01:55 Cache-Control and Max-age 01:44 Rack::ETag and Rack::ConditionalGet 02:37 stale? and fresh_when? 10:01 Declarative ETags and the ETagger Gem 06:21 Setting Cache-Control: max-age With expires_in 01:01 Disable Middleware that Modifies the Body 03:45 Demo 12:20 Summary 02:48 Fragment Caching 00:37:14 Introduction and Cache Stores 03:36 Setting Up Memcached in Rails and for Development 02:47 Fragment Caching 02:24 Fragment Caching With Array as Cache Key 01:30 Fragment Caching a Paginated List 03:05 Hash as a Fragment Cache Key 01:38 Cache Expiration Strategies, From Best to Worst 04:13 Cache Key Includes a Digest of View Contents 02:22 Demo: Fragment Caching the Index Pages 06:45 Demo: Fragment Caching the Show Pages 03:07 Benchmark Results From Fragment Caching 02:57 Summary 02:43 Russian Doll Caching 00:31:18 Introduction to Russian Doll Caching 04:08 Hiding Links 01:30 Time Zones 01:26 Increasing Cache Hits 02:19 Helping Rails Know What Partial was Used 03:01 Demo: Implementing Russian Doll Caching 09:37 Benchmark Results From Russian Doll Caching 05:13 Summary 04:02 Turbolinks and pjax 00:33:36 Introduction and the Responsiveness Myth 02:25 Installing Turbolinks 04:30 How Turbolinks Works 02:49 Third Party Plugin Compatibility and jQuery Turbolinks 04:16 Bind $(document) Events Outside 'ready' 02:31 All Scripts in 'body' are Evaluated 01:03 Opt Out for Selected Links 01:04 Testing Turbolinks 00:48 Demo: Benchmarking Turbolinks 03:46 Transition Cache 04:27 pjax 02:36 Summary 03:14 Conclusion 00:07:54 Conclusion and Why Performance? 01:04 Overview of Topics Covered in This Course 02:20 More Learning 04:29

حجم فایل: 766MB

آیا این نوشته را دوست داشتید؟
Pluralsight Rails 4.1 Performance Fundamentals

پیشنهاد فرادرس