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


Groups > comp.lang.forth > #44063

Re: Unfeasible?

Path csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.forth
Subject Re: Unfeasible?
Date Thu, 03 Dec 2015 17:47:43 -0800
Organization A noiseless patient Spider
Lines 15
Message-ID <87r3j3dlxc.fsf@nightsong.com> (permalink)
References <n3q89d$9d1$1@dont-email.me> <c6fdaf42-c21b-48ca-a847-c28d757639da@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain
Injection-Info mx02.eternal-september.org; posting-host="560a36ee31cc4bcf69e115b311f0cc5c"; logging-data="14763"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Omig1H8QRYcQVFG7dOtXY"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
Cancel-Lock sha1:Jj8L3H44QbVFkuvinuzUzsk0Buk= sha1:+50TSJoDJKfrpMQEKZ+L04SvmKM=
Xref csiph.com comp.lang.forth:44063

Show key headers only | 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