notifications system using "the files"? bad idea?

Tom Glod beofonemind at gmail.com
Thu Aug 24 01:01:59 EDT 2017


Thanks for that idea Mike!

On Aug 23, 2017 10:07 PM, "Mike Bonner via use-livecode" <
use-livecode at lists.runrev.com> wrote:

> If things don't work as well as you like, and you decide to go with
> sockets, (and you are ok with running a small server process)  chatrev is
> cool, is already built, and should be easy to modify to do what you want.
> (Its already set to distribute messages from clients to the server then out
> to the rest of the clients who are attached)  You'd just need to adjust
> what you want it to do with the messages...
>
> On Wed, Aug 23, 2017 at 7:57 PM, Tom Glod via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
> > 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_mFXA3NwY1gEAAAAAFkGc2hhcmVkYQd
> > oZWxsb18xYAw1Mi4zOS4yNi4xNDRCCgAAzzKeWXglR4hSHXVzZS1saXZlY29
> > kZUBsaXN0cy5ydW5yZXYuY29tCVEEAAAAAEQ1aHR0cDovL2xpc3RzLnJ1bnJ
> > ldi5jb20vbWFpbG1hbi9saXN0aW5mby91c2UtbGl2ZWNvZGVHAnt9
> > >
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list