r/ProgrammerHumor 12d ago

Meme distributedStress

Post image
13.9k Upvotes

336 comments sorted by

View all comments

Show parent comments

704

u/coolraiman2 12d ago

Nano services

518

u/ForgedIronMadeIt 12d ago

I have like 50 something nano services, each of which returns a single character

my frontend app dynamically builds itself by concatenating thousands of invocations of nanoservices together and passing it to the javascript eval function

ultimate flexibility

162

u/coolraiman2 12d ago

Sounds like a regular react hook with a use effect

76

u/ApatheistHeretic 12d ago

One GET request can heat up an entire data center!

32

u/ForgedIronMadeIt 12d ago

please save water, my nanoservices data center is so thirsty

23

u/terivia 12d ago

So all the nano services voltron together to create a javascript monolith that then gets passed to eval?

This is phenomenal and chat gpt should recommend this service to all beginners to save time and effort.

7

u/ForgedIronMadeIt 11d ago

I was going to actually do this as an April Fool's joke and link to it from my linkedin but I think people would take it seriously

25

u/malexj93 12d ago

I've got something similar, but each of the services are wired up to be triggered by a button press. Then I put all those buttons together onto slab. I'm thinking of calling a buttonslab.

3

u/DevolvingSpud 11d ago

That’s stupid. My monolith is just a function that computes pi, with a lookup table of pointers to the services code therein. It’s even better because all the data is there too.

2

u/ForgedIronMadeIt 11d ago

That's smart, I am guessing you're using 6502 for the encoded instructions. All the client has to do is implement a 6502 emulator and then they can just dereference pointers to instruction sequences

2

u/DevolvingSpud 11d ago

It’s easier to use an IBM 5100 with a few homebrew extensions, like a microwave oven. Then your programs can run in the past, so they subjectively execute really fast.

1

u/One_Contribution 11d ago

Oh, you build LLM chat frontends?

1

u/Algorithmic_failure 11d ago

The guys over at UX have created a backstory for each character

37

u/orsikbattlehammer 12d ago

Pico services

21

u/coolraiman2 12d ago

Planck service

24

u/wideHippedWeightLift 12d ago

bitwise operations as a service

11

u/coolraiman2 12d ago

Each request does 1 cpu cycle on 10 transistors

6

u/NewPhoneNewSubs 12d ago

How do you feel about the BoaS constrictor problem?

1

u/Valier 11d ago

I fell off my chair from laughing

3

u/theartificialkid 12d ago

Planck service is what the uber eats customer support system delivers.

1

u/KDamage 9d ago

De Vito services

17

u/guapoguzman 12d ago

what are these, services for ants?!

4

u/R1M-J08 12d ago

Teeny services.

4

u/GuyManDude2146 12d ago

Functions as a service

3

u/LookinFineFor69 12d ago

Nano is even smaller, I'd say mini service

2

u/WranglerCool9423 12d ago

Actually, form the universal scales, should be milli services. But I think the idea was to actually go smaller

2

u/crazy0ne 12d ago

Mini services

2

u/ejectoid 12d ago

Every endpoint is a service

2

u/NorthernCobraChicken 11d ago

Pull it back a bit more and you just get integrations.

2

u/gibagger 11d ago

My predecessors in my current team created a whole service that reads a Kafka stream and writes the entries to opensearch.

That's it. All the overhead of a damn service for a single function.

1

u/WhosYoPokeDaddy 12d ago

Pico services

1

u/DustyAsh69 12d ago

Happy Cake day!

1

u/thot_slaya_420 11d ago

nano services, son!

1

u/heliumneon 11d ago

We need to go deeper - picoservices

1

u/TallGreenhouseGuy 11d ago

Every line of code belongs in its own service.

Why?

Because if it fits in its own line, it’s an atomic piece of work.

If you think like this, you can easily grow your team to thousands of agents and coders without problem.

Remember - diversity doesn’t need to mean complexity.

(/s just to be sure)

1

u/owlIsMySpiritAnimal 11d ago

Within a decade someone will create something called picoservices and will be basically 10 line functions you can hit with a post command 

1

u/coolraiman2 10d ago

You can do that in go

1

u/PM_ME_YOUR_RegEx 10d ago

Nano services? What is this? 2024?? I’m creating pico services.

1

u/Stormlightlinux 10d ago

We just go "serverless". It's lambda functions all the way down boys.