Hi, I have a question about TTS efficiency. I have some text that I need to read out when someone calls in and these texts do change. Here are two options I am thinking about: In my configuration, I would have DB and FS on different servers. DB server is SCSI. Option 1:Store the text in DB Within JS: 1.Get the text from DB 2. use system (command) to create a wav file on locate file system 3. Use playback to play the wav file Option 2: Pre-created the file using NFS ( at the same machine as DB) Within JS: 1. Get the filename from DB 2. Get the wav file from NFS 3. Use playback to play the wav file In a highly-loaded environment, which option would be preferable considering speed and efficiency? Is there other better option? Any input will be greatly appreciated. Thanks, Pete
The later option would be preferable... But I would probably do something like rsync them onto the box and use a ram drive From: Pete Kay <petedao@gmail.com> Reply-To: <freeswitch-users@lists.freeswitch.org> Date: Mon, 21 Apr 2008 14:09:43 +0800 To: <freeswitch-users@lists.freeswitch.org> Subject: [Freeswitch-users] seek suggestion on TTS option Hi, I have a question about TTS efficiency. I have some text that I need to read out when someone calls in and these texts do change. Here are two options I am thinking about: In my configuration, I would have DB and FS on different servers. DB server is SCSI. Option 1:Store the text in DB Within JS: 1.Get the text from DB 2. use system (command) to create a wav file on locate file system 3. Use playback to play the wav file Option 2: Pre-created the file using NFS ( at the same machine as DB) Within JS: 1. Get the filename from DB 2. Get the wav file from NFS 3. Use playback to play the wav file In a highly-loaded environment, which option would be preferable considering speed and efficiency? Is there other better option? Any input will be greatly appreciated. Thanks, Pete _______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Ken Rice
-
Pete Kay