Session VS File VS Memcache for a Cache in PHP?

前端 未结 4 826
野性不改
野性不改 2020-12-08 20:23

I have a social network

  • The users table is around 60,000 rows

  • The friends table is around 1 million rows (used to determine who is your

4条回答
  •  抹茶落季
    2020-12-08 20:41

    The default maximum object size that is allowed in Memcache is 1MB.

    @jsaondavis : "session data is saved into a file".

    Your above statement is wrong. Session can be configured to store in database. Default session hadndler is file.

提交回复
热议问题