I
I
Ivan Nesterovich2014-06-04 18:59:33
Search Engine Optimization
Ivan Nesterovich, 2014-06-04 18:59:33

What does rendering in rails depend on?

On the local in development, the page is rendered 3-4 times faster than on the production server in production.
As a local server - WEBrick 1.3.1. On the production server - unicorn + nginx.
On the LAN sata screw, 4GB of RAM, 4 cores. On the combat server ssd screw, 24GB of RAM, 8 cores.
We are talking about milliseconds, but they are fundamental to me. You have to enable caching of everything and everything in order to achieve the same results as on the local. I monitor the data through the meta_request gem.
So the question is - what affects rendering speed? The combat server should obviously do this more quickly.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kane, 2014-06-04
@Kane

Why sin on rendering? And not a bunch of unicorn-nginx?

A
anyd3v, 2014-06-04
@anyd3v

as for the differences
- locally: only time to convert data to html
- on the server: time to build html + data transfer => such factors as Internet speed and channel width appear.
Are you sure that you are purely measuring page generation time?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question