Forum Discussion
how to optimize https monitor
Hi,dear F5 Dev currently there is a https monitor which has a receive string is http payload
I want to know if I set receive string as status code can optimize the memory usage of bigd this is my logic:
status code is the first line of the https response in http head ,but http payload is deeper
Does it make sense?
8 Replies
- What_Lies_Bene1
Cirrostratus
It does. You could use just '200' for instance. I'd rather check something in the payload though, to ensure the application itself (rather than just the web server) is working.
- Robert_47833
Altostratus
Hi, would u like to share how F5 match this receive string? it will check from 1st byte to a fixed length ,and then from last one to next fixed length?
- Robert_47833
Altostratus
why it is better than http payload?
- What_Lies_Bene1
Cirrostratus
Strictly speaking it's not better, it's simply what you asked for. It'll probably save a few CPU cycles but as I said, I'd rather be checking the payload for something useful which indicates the application is working.
- Robert_47833
Altostratus
Thanks very much yes,I only need to check 200 status code for memory wise. how does F5 monitor check the response from backend server? why it save a few cpu cycles.
- What_Lies_Bene1
Cirrostratus
It'll search the entire response for the receive string you configure. Specifying just '200' will probably save a few CPU cycles as it'll match at the very start of the response text rather than the program having to continue searching further into the body.
- Robert_47833
Altostratus
hmm,but it will decrypt all https response ,then search,right? or it searches first x bytes, and then another x bytes?
- What_Lies_Bene1
Cirrostratus
It probably decrypts the whole lot and then does the search yes although this is not documented anywhere so it's just an assumption.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com