Add Docker TM Compose for load testing#1732
Conversation
Adds Docker Traffic Monitor Compose file, designed for load testing the Traffic Monitor. Starts a DB, TO, and TM, configured with a given SQL TO dump, and starts the Monitor polling the servers in TO from the SQL file.
337529b to
324b47a
Compare
|
Refer to this link for build results (access rights to CI server needed): |
|
Refer to this link for build results (access rights to CI server needed): |
|
I pulled these changes in to test it out, but I'm not really clear on what the pre-reqs are for this.
The overhead on getting this test running is pretty high, it would be great if we could bring this barrier down to not require a TO dump. Maybe this could also include some way of generating load on the TM without the need for n caches? I'll try to grab a dump of my dev setup TM with a single cache and give this another try later today. Once I get it running, I'll merge as is and it can always be improved later |
|
Got the following error building |
|
Yeah, it currently needs a DB dump, just to get TO running. Maybe we can script creating everything we need, or maybe we can sanitize a sql dump and include the file in the repo. It looks like I'll try to find time to look at it, but to be honest, it's not a high priority for me right now. I do think automated load testing of the monitor would be highly valuable. We just have too many high priority things at the moment. |
Adds Docker Traffic Monitor Compose file, designed for load testing
the Traffic Monitor. Starts a DB, TO, and TM, configured with a
given SQL TO dump, and starts the Monitor polling the servers
in TO from the SQL file.