Laravel EBS - 负载均衡器会话

问题描述

负载均衡器上处理会话的最佳方式是什么?

我在会话中使用“cookie”选项,但在负载平衡器上,它会迅速下降。

如果我使用“数据库”会导致性能问题吗? 或者最好的处理方式是什么?

/*
|--------------------------------------------------------------------------
| Default Session Driver
|--------------------------------------------------------------------------
|
| This option controls the default session "driver" that will be used on
| requests. By default,we will use the lightweight native driver but
| you may specify any of the other wonderful drivers provided here.
|
| Supported: "file","cookie","database","apc",|            "memcached","redis","dynamodb","array"
|
*/

'driver' => env('SESSION_DRIVER','cookie'),

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)