Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #44063

Re: Unfeasible?

From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.forth
Subject Re: Unfeasible?
Date 2015-12-03 17:47 -0800
Organization A noiseless patient Spider
Message-ID <87r3j3dlxc.fsf@nightsong.com> (permalink)
References <n3q89d$9d1$1@dont-email.me> <c6fdaf42-c21b-48ca-a847-c28d757639da@googlegroups.com>

Show all headers | View raw


Julian Fondren <julian.fondren@gmail.com> writes:
> if I were writing some CGI scripts on a shared hosting server to
> serve API requests made by a mobile app, I would care about using as
> little CPU as possible

The fork/exec of launching the CGI will probably swamp any CPU cycles
used by the CGI itself.  You probably want to look into SCGI or FastCGI
or something like that.

> Write a CGI script in any language that increments a number, and
> outputs it, and saves the number.  It is important that this script
> never display the same number for two requests.  It really must be a
> CGI script.

flock(2) ?

Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Unfeasible? "WJ" <w_a_x_man@yahoo.com> - 2015-12-03 20:22 +0000
  Re: Unfeasible? Julian Fondren <julian.fondren@gmail.com> - 2015-12-03 16:17 -0800
    Re: Unfeasible? Paul Rubin <no.email@nospam.invalid> - 2015-12-03 17:47 -0800
      Re: Unfeasible? Julian Fondren <julian.fondren@gmail.com> - 2015-12-03 19:48 -0800
        Re: Unfeasible? Paul Rubin <no.email@nospam.invalid> - 2015-12-04 21:13 -0800
          Re: Unfeasible? Julian Fondren <julian.fondren@gmail.com> - 2015-12-04 23:48 -0800
            Re: Unfeasible? Paul Rubin <no.email@nospam.invalid> - 2015-12-05 00:11 -0800
              Re: Unfeasible? Julian Fondren <julian.fondren@gmail.com> - 2015-12-05 00:35 -0800
                Re: Unfeasible? Paul Rubin <no.email@nospam.invalid> - 2015-12-05 00:40 -0800
    Re: Unfeasible? hughaguilar96@gmail.com - 2015-12-04 20:53 -0800
  Was: Unfeasible? Is: Infeasible rickman <gnuarm@gmail.com> - 2015-12-03 19:18 -0500
  Re: Unfeasible? "WJ" <w_a_x_man@yahoo.com> - 2015-12-04 01:11 +0000
    Re: Unfeasible? rickman <gnuarm@gmail.com> - 2015-12-03 20:50 -0500
  Re: Unfeasible? Bernd Paysan <bernd.paysan@gmx.de> - 2015-12-04 03:23 +0100
  Re: Unfeasible? "WJ" <w_a_x_man@yahoo.com> - 2015-12-04 05:55 +0000
  Re: Unfeasible? Melzzzzz <mel@zzzzz.com> - 2015-12-06 01:01 +0100

csiph-web