MongoDB with Async Python Transcripts
Chapter: Performance and Load Testing
Lecture: Consider a Real Server Topology

Login or purchase this course to watch this video and the rest of the course contents.
0:00 When you're doing these tests and asking these questions about your app, it's interesting and useful to do it on your dev machine.
0:07 It's useful to do it just on your testing database setup. But if you want really, really good answers that you can apply predictions or make
0:17 predictions from about how will your application actually handle. If we're going to run a huge ad or we have some kind of flash spike in traffic,
0:28 because it's Black Friday or something like that, will your server be able to handle it? To do that, to answer that question, you really wanna run that
0:37 on your production server topology. So in our example we set up, we had just the Mongo server and the regular web front-end server
0:47 simulating type of server. Probably if we're gonna try to see how is our system gonna withhold all the traffic, we wanna test on that type of a setup.
0:56 So go ahead and run it on your dev machine. It'll tell you lots of interesting things. If you make changes, is it better, is it worse?
1:03 But if you want a really good answer, don't forget to run this on your actual server topology and hardware,
1:10 just to make sure that it's as close of a fit as possible.


Talk Python's Mastodon Michael Kennedy's Mastodon