Not sure what to do.....can I run this by you guys?

Tom Glod tom at makeshyft.com
Fri Mar 16 04:35:59 CET 2018


Great hints there Mike .... thanks alot.  Luckily I'm desktop only right
now.

It shouldn't be too long before I sit down to make something that I can
rely on and reuse in future projects.

Might turn out I will have to hire someone to help which is cool too.

It only has to be very simple..and does not need to match performance of
Tsnet.

Anything more than 1 would be a great start. LOL.

I will look into the libURL library and then try to guess which way I
should go my first attempt to hack this.

I'll keep you guys posted on the progress..I think I need a name for this
little project.

Thanks you

Tom


On Thu, Mar 15, 2018 at 10:35 PM, Mike Bonner via use-livecode <
use-livecode at lists.runrev.com> wrote:

> I've used load for this in the past.  The ability to specify a callback
> message makes it work well.  In my case I was experimenting with offloading
> a large job to a webserver for processing.  To help with organizing the
> data being returned, I tacked a # and an incrementing number to the end of
> each url.  Made it easy to re-assemble things into the proper order.  (Be
> aware though, things behave differently between desktop and mobile so you
> have to take platform into account)
>
> On Thu, Mar 15, 2018 at 8:26 PM, Tom Glod via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
> > i need to be able to send more than one http request to my cloud service
> > domain at one time....it is not a limitation I am willing to live with
> > ....and I don't want to package requests together and have to wait for
> all
> > of them to be processed before something comes back.
> >
> > Its not a limitation that should exist in any modern software..... and it
> > won't in mine...... so I have to try different ways to try to get around
> > this somehow and still be GPL3
> >
> > Cheers....I'm going to try the read from process idea....and see if i can
> > read the returned requests faster that way.
> >
> > Thank you.
> >
> >
> >
> >
> >
> >
> > On Thu, Mar 15, 2018 at 10:14 PM, Richard Gaskin via use-livecode <
> > use-livecode at lists.runrev.com> wrote:
> >
> > > Tom Glod wrote:
> > > > Hi guys, I've brought this up before.....and the time to solve is
> > > > coming sooner than I expected.
> > > >
> > > > 1. My project must be open source
> > > > 2. I must communicate with cloud service not one request at a time.
> > > > 3. TsNet is not open source and I love that LC has a feature that
> > > > can bring them important revenue.
> > > >
> > > > But I have to create a workaround ... so its hackathon time....
> > > >
> > > > My first idea is to do this :
> > > >
> > > >    - Create process in Go using Go Routines to give me concurrent
> http
> > > >    requests
> > > >    - send all my requests to that process via a non-blocking socket
> > > >    - read from the socket in non-blocking way to receive the data
> > > >  returned
> > > >    for the requests until all requests have completed or timed out.
> > >
> > > While it is unfortunate that LC is among the few open source languages
> > > that doesn't have CURL support, in your case I wonder if it's truly
> > > necessary.
> > >
> > > The engine's socket support is generally pretty good, and libURL can be
> > > modified.  What exactly do you need to do?
> > >
> > > --
> > >  Richard Gaskin
> > >  Fourth World Systems
> > >  Software Design and Development for the Desktop, Mobile, and the Web
> > >  ____________________________________________________________________
> > >  Ambassador at FourthWorld.com                http://www.FourthWorld.com
> > >
> > > _______________________________________________
> > > 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
> >
> _______________________________________________
> 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