[Asterisk-Users] Asterisk & MySQL Blobs

Eric eric at monmouth.com
Mon Mar 7 14:06:29 MST 2005


Hi Vinko,

MySQL blobs will store binary data, so you should be OK there.  I'd
focus on whether or not storing the data in a variable is a good idea.
Typically, with any programming language, it's good practice to
keep variable lengths short so you aren't passing the variable itself
between functions.  I can't say if that could cause performance issues
under higher load.

I'd love to hear how you make out, as well as anyone else's input.

- Eric




On Mon, 07 Mar 2005 15:05:32 -0500
vgrskovic at optonline.net wrote:

> Hello Folks,
>  
> Has anyone had production experience using * w/ MySQL Blobs to store
> sound files?  The application I am working on requires all user data
> resides in a database.   I am currently reading/writing the files to
> disk via a phpagi scripts but I would love to read the blob into a
> variable in the dial plan, etc.  It seems like a waste of resources to
> write and delete the file.   
>  
>  
> Thanks,
> Vinko Grskovic
> 



More information about the asterisk-users mailing list