You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firestore session driver for [Laravel](https://www.laravel.com) and [Firevel](https://www.firevel.com) compatible with Google App Engine standard environment (PHP 7.2).
3
+
4
+
## Installation
5
+
1) Install package with `composer require firevel/firestore-session-driver`
6
+
7
+
2) Update your app.yaml with:
8
+
```
9
+
env_variables:
10
+
SESSION_DRIVER: firestore
11
+
```
12
+
13
+
## Limitations
14
+
Check [Firestore Quotas and Limits](https://cloud.google.com/firestore/quotas).
15
+
16
+
## High availability applications
17
+
If you like to use this driver in high load applications, watch garbage collection that can be a bottleneck.
18
+
19
+
Modify `config.sessions.lottery` value to set how often garbage collection should happen, and app.yaml `SESSION_GC_BATCH_SIZE` to define garbage collection batch size.
20
+
21
+
If extremal cases do manual garbage collection from cron job, or shift to `cookie` driver.
0 commit comments