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
@@ -92,7 +93,7 @@ We assume that you have a working Salesforce DX environment (Salesforce CLI inst
92
93
1. Generate a [security token](https://help.salesforce.com/articleView?id=user_security_token.htm) for your Salesforce user.
93
94
1. Generate a secure password using [this service](https://passwordsgenerator.net/) or any other. This will be the secret **Quiz API Key** that you'll set later in both applications.
94
95
1. Deploy the **Quiz Player App** to Heroku by clicking this button:
95
-
<a target="_blank" href="https://heroku.com/deploy?template=https://github.com/pozil/quiz-player-app/edit/master" title="Deploy to Heroku">
96
+
<a target="_blank" href="https://heroku.com/deploy?template=https://github.com/fostive/quiz-player-app/edit/master" title="Deploy to Heroku">
96
97
<img src="https://www.herokucdn.com/deploy/button.svg" alt="Deploy to Heroku"/>
97
98
</a>
98
99
@@ -178,6 +179,19 @@ You can import questions with the Salesforce CLI.
Performance is critical to the game experience: it must be as close as possible to real-time.
185
+
186
+
In full transparency, we have no precise benchmark on how well the game scales and which kind of Dyno to use but here are some pointers:
187
+
188
+
- A free Heroku Dyno supports a 50 player game just fine.
189
+
- The app has worked flawlessly with 400 players on a Heroku Performance dyno but we never tested with more.
190
+
191
+
All the pressure lies on the Heroku infrastructure and in particular on the Node.js WebSocket server. We cannot guarantee how the network (sockets and load balancer) behave at large scale.
192
+
193
+
Note that Heroku datacenters are only available in North America and Europe. If you are running the quiz from another region (i.e.: India, Australia...), there's a chance that players will experience some lag.
194
+
181
195
## Playing
182
196
183
197
🎥 [Watch the playthrough video](https://www.youtube.com/watch?v=vLTZ_jdwhRo)
@@ -204,15 +218,15 @@ Players who also answered correctly but slower will earn a decreasing number of
204
218
Shortly before running the official game, make sure to access the player app a first time to load it.<br/>
205
219
The default Heroku setup uses a free Heroku dyno. This implies that apps that are inactive for more than 30 minutes are put to sleep. Any connection to the app will wake it up but it takes a bit less than a minute. You may experience some "Request time out" errors during that wake-up time.
206
220
207
-
If you are running the game with 40+ players, consider upgrading to a [Hobby dyno](https://www.heroku.com/dynos).
221
+
If you are running the game with 50+ players, consider upgrading to a [Hobby dyno](https://www.heroku.com/dynos).
208
222
209
223
**Resetting the game**
210
224
211
225
You can reset the game at any time by clicking on the Reset button on top right of the Quiz app. This resets the quiz session to the registration phase, clears players and previous answers.
212
226
213
227
## Troubleshooting
214
228
215
-
Review these common problems. If you can't find a solution to your problem, [open a new issue](https://github.com/pozil/quiz-host-app/issues).
229
+
Review these common problems. If you can't find a solution to your problem, [open a new issue](https://github.com/fostive/quiz-host-app/issues).
216
230
217
231
**Player app is not starting (Heroku error page is displayed)**
218
232
@@ -226,7 +240,7 @@ Review these common problems. If you can't find a solution to your problem, [ope
226
240
227
241
**Player app is slow/lags, questions do not show up on time**
228
242
229
-
The default player app installation uses Heroku. Heroku datacenters are only available in North America and Europe. If you are running the quiz from another region (i.e.: India, Australia...), there's a good chance that your player will experience some lag. Consider switching to another cloud provider that lets you run a Node.js environment.
243
+
See the [Performance and Scalability](#performance-and-scalability) section.
230
244
231
245
**Something is wrong with the quiz data or you'd like to reset it**
232
246
@@ -244,4 +258,4 @@ Refresh the page to fix the problem. Refer to the **Player app wake-up** section
244
258
245
259
If you want to build the project from sources and contribute, run `npm install` to install the project build tools.
246
260
247
-
Here is the [Quiz Player App repository](https://github.com/pozil/quiz-player-app).
261
+
Here is the [Quiz Player App repository](https://github.com/fostive/quiz-player-app).
0 commit comments