logoalt Hacker News

eYrKEC2yesterday at 9:51 PM3 repliesview on HN

You know what I think is better than a push of the CPU stack pointer and a jump to a library?

A network call. Because nothing could be better for your code than putting the INTERNET into the middle of your application.

--

The "micro" of microservices has always been ridiculous.

If it can run on one machine then do it. Otherwise you have to deal with networking. Only do networking when you have to. Not as a hobby, unless your program really is a hobby.


Replies

NeutralCranetoday at 12:12 AM

Microservices have nothing to do with the underlying hosting architecture. Microservices can all run and communicate on a single machine. There will be a local network involved, but it absolutely does require the internet or multiple machines.

yieldcrvyesterday at 10:34 PM

it's not really "micro" but more so "discreet" as in special purpose, one off. to ensure consistent performance, as opposed to shared performance.

yes, networking is the bottleneck between the processes, while one machine is the bottleneck to end users

show 1 reply
ikirisyesterday at 10:05 PM

Not everything you think you know is right.

https://github.com/sirupsen/napkin-math

show 1 reply