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 -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -