notifications system using "the files"? bad idea?
Tom Glod
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
implementation.
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
database.
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:
> http://post.spmailt.com/f/a/hI4G8NOrME9mw6gmqg5QqA~~/AAGp3AA~/RgRbf2ZPP0EIACzK-jOm_mFXA3NwY1gEAAAAAFkGc2hhcmVkYQdoZWxsb18xYAw1Mi4zOS4yNi4xNDRCCgAAzzKeWXglR4hSHXVzZS1saXZlY29kZUBsaXN0cy5ydW5yZXYuY29tCVEEAAAAAEQ1aHR0cDovL2xpc3RzLnJ1bnJldi5jb20vbWFpbG1hbi9saXN0aW5mby91c2UtbGl2ZWNvZGVHAnt9
>
More information about the use-livecode
mailing list