comp.lang.ada
 help / color / mirror / Atom feed
From: Paul Rubin <no.email@nospam.invalid>
Subject: Re: New IEEE Language Popularity Ratings
Date: Wed, 10 Aug 2016 15:55:45 -0700
Date: 2016-08-10T15:55:45-07:00	[thread overview]
Message-ID: <87d1lg1bf2.fsf@jester.gateway.pace.com> (raw)
In-Reply-To: nofu7d$srl$1@gioia.aioe.org

"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:
> Client is a small board that has issues with load and multiple
> connections. 

If it has a TCP stack (and hopefully a TLS stack these days), it's not
THAT small.  It can deal with pushing something every few minutes.

> but there is no guaranty that the server pulls data or ready to be
> pushed with data in time. That is how it is similar to real-time.

There might be no server connection at all (forgot to pay ISP bill).
Either the client has to store data for later retry, or has to drop data
that can't be uploaded in a reasonable amount of time.  Neither of those
is anything like realtime in the traditional sense of something like
motor control.

> It is a big deal because clients are slow, that inflicts latencies
> accumulating on the server side. Then if you start 30k threads your
> server will freeze. Then it is not really scalable because there are
> usually databases and web portal behind.

An IOT thing would usually use a simple service that doesnt send whole
bloated web pages, and with 30k connections you wouldn't use an OS
thread for each one.  Async frameworks like node.js can handle that load
easily, or lightweight processes like in Erlang can also do it.  See the
famous "C10k Problem" article from 1999 and realize how much has
happened in hardware and software since then.  Scripting languages on
today's hardware are much faster than C was on 1999 hardware.  The db
would be something like redis which can easily handle 1000s of updates
per second.  Many giant web sites are written in scripting languages:
Wikipedia (PHP), Youtube (Python), Paypal (node.js), Facebook (a
compiled version of PHP), Yelp (Python), Reddit (Python), Github (Ruby),
etc.  A usual IOT server is far more lightweight.


  reply	other threads:[~2016-08-10 22:55 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-28 14:58 New IEEE Language Popularity Ratings brbarkstrom
2016-07-28 15:05 ` Alejandro R. Mosteo
2016-07-28 20:19   ` brbarkstrom
2016-07-28 20:47     ` G.B.
2016-08-09 19:58   ` Norman Worth
2016-08-09 20:29     ` Jeffrey R. Carter
2016-08-09 21:18       ` Maciej Sobczak
2016-08-09 22:26         ` Jeffrey R. Carter
2016-08-09 23:18           ` Anh Vo
2016-08-10  6:08     ` Stu Hollander
2016-08-10  7:13       ` Paul Rubin
2016-08-10  8:57         ` G.B.
2016-08-10 15:50           ` Paul Rubin
2016-08-10 16:32             ` Dmitry A. Kazakov
2016-08-10 18:43               ` Paul Rubin
2016-08-10 19:10                 ` Dmitry A. Kazakov
2016-08-10 22:55                   ` Paul Rubin [this message]
2016-08-10 23:14                     ` G.B.
2016-08-11  0:53                       ` Paul Rubin
2016-08-11 21:34                         ` G.B.
2016-08-10 23:06             ` G.B.
2016-08-11  0:04               ` Paul Rubin
2016-08-11  6:55                 ` rrr.eee.27
2016-08-11  6:56                   ` Paul Rubin
2016-08-10  7:23       ` gautier_niouzes
2016-08-10  9:07       ` G.B.
2016-08-10  9:12       ` G.B.
2016-08-10 14:41       ` Maciej Sobczak
2016-07-29  6:41 ` Jerry
2016-07-29 12:37   ` brbarkstrom
2016-08-03 15:24     ` Serge Robyns
2016-08-06 15:53       ` brbarkstrom
2016-08-06 20:10         ` rieachus
2016-08-06 20:59           ` brbarkstrom
2016-08-06 23:32             ` G.B.
2016-08-06 20:20         ` rieachus
2016-08-06 21:38         ` Jeffrey R. Carter
2016-08-07  1:19           ` brbarkstrom
2016-08-07  6:21             ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox