Why is PHP not a "real" language?

James Dugger james.dugger at gmail.com
Tue Oct 4 20:39:31 MST 2022


Hi Steve,

Perhaps the example I used of comparing microservices to breaking up a
framework is too simplistic and a bit contrived.  There is no direct
comparison.  You're not going to gain anything by breaking up a framework
into its basic parts. That said, what do you do when you have a
large company that needs to share data across multiple services. It is also
a bit simplistic to assume that you're just going to use WordPress for one
service and Drupal for another and then tie them together in some way
(which I have done) so that you can minimize the code you write and stay
with the OOP design of each.  In both cases most likely you will be using
about 1 percent of the capability of each framework but because of the way
both products' event looping works you will be wasting 90 percent of each
server's resources to complete each request, costing the company thousands
if not hundreds of thousands of dollars per month in extra compute time
usage (the real gross part).

So software engineers build small single purpose services with lightweight
libraries allowing the interpreter to parse a thousand lines of code rather
than a million while making 1 tenth the number of requests - thereby
operating on tiny containerized instances of Linux.  And then someone
packages these lightweight services  as a SaaS based control plane product
and then sells compute services online and now anyone can connect services
together that can both rival the most used WordPresses  plugin system but
with a service that can scale to 2 to 3 orders of magnitude more any
traditional CMS framework model, without spinning up any new services.

Netflix is not just one website framework but hundreds of dashboards
(Views) that consume thousands of endpoints each controlled by a
microservice.  It is estimated that one third of the internet usage during
any given week night after 7pm is requests to Netflix streaming services -
which are all handled by thousands of microservices.

On Tue, Oct 4, 2022 at 5:20 AM Steve Litt via PLUG-discuss <
plug-discuss at lists.phxlinux.org> wrote:

> On Tue, 2022-10-04 at 00:26 -0700, James Dugger via PLUG-discuss wrote:
>
> > Microservices are nothing more than a way to break apart each piece of a
> > bigger framework that is tightly coupled (dependent on each other),
> create
> > an agreed to interface between the services freeing you up to write each
> > piece however you need to and in whatever language works for the needed
> > scale of that piece.
> >
> >
> >
> > Again, not unlearnable.  Many ivory tower approaches with OOP have made
> > things difficult. And some engineers excel at taking a technical idea and
> > making it still more complex.
>
> So person 1 makes an entangled software suite, and person 2 adds a layer of
> abstraction to detangle? Am I the only one who thinks that's gross?
>
>
> SteveT
> ---------------------------------------------------
> PLUG-discuss mailing list: PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>


-- 
James

*Linkedin <http://www.linkedin.com/pub/james-h-dugger/15/64b/74a/>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20221004/86b193d6/attachment.htm>


More information about the PLUG-discuss mailing list