Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • we have complete a solution for single server.
    • disable internal session cache(set SSL_SESS_CACHE_NO_INTERNAL).
    • store session cache in a hashtable in memory.
    • hook the get session API and look up session from hashtable by session_id.
    • have a continuation to delete stale cache when hashtable full.

...

single server solution

...

cannot solve all the problem

  • when in a production, the most case you will get a VIP device in front, the session resumption can not work unless all connections on the same hosts, that is impossible. – cluster wide session data sharing
  • when you have many connections to manage, it's not so good to store all these session data in memory while you do not even know when the user would like to use it. – need a way to store data on disk and do LRU etc.
  • when you have two VIP in the same DNS, would you like to share the session data? even when the two VIP/cluster in different colo?
  • we don't want to add more codes in iocore, can we make this a plugin?
  • if I don't like the idea of your plugin, can I do my own plugin? we need to get a new hook?

...