php - System's hardware requirements for Symfony2 -


i have web-blog i'm willing deploy online.

i have yet no idea kind of hosting should get. i'm sure shared-hosting not 1 of them ssh access not possible. if i'm getting dedicated server, hardware requirements should have?

i've tested web-blog 2 environnements:

raspberry pi 2

quad-core 900mhz arm cortex-a7 cpu

1gb ram

16gb micro-sd card

it serves blog homepage within 17.49s , 6813ms respectively domcontent loaded , symfony's debug toolbar states.

development computer

intel i5-3570 quad core @ 3.40ghz

16 gb ram

ssd 128gb.

dom loaded within 9.40s , symfony loaded within 3.4 seconds.

my question therefore do need go dedicated server? , if what systems requirements symfony2 serve pages within less 20ms ?

do not hesitate ask more informations in comments section app itself.

the load times described on first load of website right? give numbers on second load. first load involves reading alot hard disk slow(even ssd slower ram), subsequent loads should faster, though 3 seconds on ssd seem odd. also, use opcache...

anyway have few misconceptions:

1-symfony 2 can work on shared hosting , shared hosting can give ssh(though nerfed) company work uses symfony 2 on godaddy shared hosting, , use ssh time doctrine, assets compiling etc. though not recommend shared hosting, our websites take 15 seconds+ load on first load because shared hosting sucks (but management stupid, anyway moving on)

2-you not need dedicated server, quite leap went not wanting shared hosting wanting dedicated server. cloud servers such digital ocean , ramnode cheap , fast. recommend park there few month until traffic builds , need move. should serve @ first.

you'll need 256 mb ram or 512 (depending on size of website , size of active data , database, might need gigabytes if have gigabytes of data) number of cores depend on how many simultaneous users expect. low traffic 1 cpu core should enough. many simultaneous users might need dual or quad core.

if starting out start small, , upgrade need. cloud servers resize easily.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -