Forum Discussion
brianokelly_119
Mar 03, 2011Nimbostratus
iRule to serve image to user
Hi All,
We are trying to serve a 1MB image directly from a specific uri on a vip to test throughput up to the F5. As such we do not wish to put the base 64 encoded image data into the bigip.conf f...
George_Watkins_
Mar 04, 2011Historic F5 Account
Hi,
It probably isn't such a good idea to serve up a 1MB image directly from the BIG-IP for a couple of reasons. The first being that TMM can only handle 4MB of data before it will intentionally restart itself. This is to prevent potential swapping to disk as well as interference with other tasks the BIG-IP may be performing. Secondly, for security reasons iRules do not have direct access to the filesystem. If you want to serve up a base64 encoded image from the BIG-IP, the data will either need to be included in the iRule itself or a datagroup. Both of which will reside inside of bigip.conf. If I were in your position, I would spin up an Apache server on a cheap piece of hardware and just use an iRule to send users there.
-George
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects