A little Golang way
aerofs.com
A little Golang way
1–10 of 194 posts
Re: A little Golang way
#2Isn't the JVM + servlet container thing supposed to be able to isolate the different services? They get their own bunch of threads, and their faults probably shouldn't crash other servlets?
Re: A little Golang way
#3Re: A little Golang way
#4Hm, I how can we take a 175 LOC project as something relevant in any way?
Re: A little Golang way
#5Can you share what the microservices are doing? What are they for?
Re: A little Golang way
#6While it is absolutely true Go servers use less memory that classic servlet deployments, The question is what were you using at first place? where you using a big framework? with this or that big IoC container ? with a bloated ORM ? ... or where you using barebone jdbc and writing servlets without any framework? because essentially that's what you're doing with Go, Go has 0 big framework(and no Beego or Revel are not complex), 0 big ORM , 0 IoC container ... And while the Java culture is about heavy decoupling and reusability , the Go code culture is basically about writing correct code without thinking about re-usability at all, because often you just can't. So I'm curious. My point is didn't you reduce memory usage because Go forced you to write code a certain way ?
Re: A little Golang way
#7Wow that pun in the title is painful.
Re: A little Golang way
#8"Code size was reduced by almost half, from 175 lines down to 96." Hm, I how can we take a 175 LOC project as something relevant in any way?
Re: A little Golang way
#9Re: A little Golang way
#10"Code size was reduced by almost half, from 175 lines down to 96." Hm, I how can we take a 175 LOC project as something relevant in any way?
I wish they provided the JVM startup info and stats to compare. Maybe JVM's resource usage could be shrunk, too.