{"action":"closed","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/15610","labels_url":"https://api.github.com/repos/symfony/symfony/issues/15610/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/15610/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/15610/events","html_url":"https://github.com/symfony/symfony/issues/15610","id":102995696,"number":15610,"title":"symfony2 demo app slow twig rendering in amazon ec2","user":{"login":"anooxy","id":654413,"avatar_url":"https://avatars.githubusercontent.com/u/654413?v=3","gravatar_id":"","url":"https://api.github.com/users/anooxy","html_url":"https://github.com/anooxy","followers_url":"https://api.github.com/users/anooxy/followers","following_url":"https://api.github.com/users/anooxy/following{/other_user}","gists_url":"https://api.github.com/users/anooxy/gists{/gist_id}","starred_url":"https://api.github.com/users/anooxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anooxy/subscriptions","organizations_url":"https://api.github.com/users/anooxy/orgs","repos_url":"https://api.github.com/users/anooxy/repos","events_url":"https://api.github.com/users/anooxy/events{/privacy}","received_events_url":"https://api.github.com/users/anooxy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-25T10:31:21Z","updated_at":"2015-08-25T11:21:05Z","closed_at":"2015-08-25T11:21:05Z","body":"I've been fighting with AWS for so long now, I can't find what's the issue.\r\n\r\nI have set up two symfony demo apps at EC2 and MediaTemple respectively:\r\n\r\nhttp://sampleaws.skooli.com\r\nhttp://sampledev.skooli.com\r\n\r\nEven in the demo app, when you run via app_dev you can see in the profiler that twig takes longer than usual at EC2. The EC2 instance is m3,large which is quite powerful for this task and MediaTemple plan is DV Developer Level 2. I initially thought the SSD I had was slow so I buffed it up to 150GB and it has 450IOPS. Is there any specific requirement for faster Twig loading?\r\n\r\nThis problem stemmed from the application I have built, which due to higher usage of db resources and bigger twig files, the difference is quite bigger.\r\n\r\nSee https://test.skooli.com (EC2) and https://dev.skooli.me (MediaTemple, mind the ssl key)\r\n\r\nHow can I pinpoint the exact problem?"}}