notifications system using "the files"? bad idea?
tom at makeshyft.com
Wed Aug 23 21:57:57 EDT 2017
i understand. Thats exactly what I am I am going with ease of
the list of files would be obtained using "the files" function of livecode
..... from a mapped drive on a LAN.
Thats what I am thinking......... it should all be ok ...... i hope the OS
caches to memory the folder lists that are most often read.
I'm gonna give it a shot using this file system method rather than another
my problem is being able to stress and scale test my system ..... i just
don't know how to simulate network conditions ... it all works perfect with
10 people on 2 machines........but after that .....who knows...... i'm
gonna find out thats for sure.
Thanks for everyone's input.
On Wed, Aug 23, 2017 at 9:38 PM, Paul Dupuis via use-livecode <
use-livecode at lists.runrev.com> wrote:
> So you would be using sockets to send a list of 1 or more file names
> (notifications) across the network to other computers?
> If so, I am not sure there is any significant performance difference
> than having the notifications in a database.
> The only practical difference may be the ease of implementation
> depending of your expertise with SQL databases or not.
> Since I assume it is your application that will received file lists from
> other computers and write them to a user notification folder as well as
> fetch 'the files' from that folder to check for messages, I don't think
> you could ever run into any issues where the directory is being written
> to at the same time it is being read. Even if, the OS essentially
> handles that for you.
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode