php - What kind of database connection strategy should i use for a social networking site -


i planning on building social networking site. went through stack overflow finding answer database connections social networking site. wasn't satisfying. need know strategy should follow create connection database social site building. (in case if there lacks of users accessing site). strategies singleton (but bad idea,sice slow after large number of connections), persistant connection - thinking of using persistant connection in mysqli. if not provide me link or suggestion of how this.

choose whatever easy develop , worry better strategy later. won't know better strategy if haven't met problem yet.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -