سؤال

As in any cloud platform as a service such as AppHarbor it is very important how to manage sessions because each user request can be handled by different server.

There are two ways:

  • InProc if platform support sticky session, so user request always lands on the same server. Does AppHarbor support sticky session? I found some references that it does and some it doesn't.
  • OutProc with Memcached as prefered solution which transfer session data between servers. Memcached is not supported in EU region. Why? There is third party AppHarbor Add-on but non build solution managed by AppHarbor.

So what is recommended was to handle sessions (in EU region)?

Thank you very much for your help.

Marko

Some references:

هل كانت مفيدة؟

المحلول

You should just use MemCachier for EU apps. The AppHarbor support forums have details on how to get MemCachier set up for use with session state.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top