Message from @Hagel

Discord ID: 285101738439081984


2017-02-25 17:21:20 UTC  

@The Enlightened Shepherd GARVEYITE BLACK POWER

2017-02-25 17:22:08 UTC  
2017-02-25 17:22:44 UTC  

Hey there Brett!

2017-02-25 17:22:46 UTC  

How goes it?

2017-02-25 17:22:54 UTC  

PRETTY WELL

2017-02-25 17:22:59 UTC  

HOW ABOUT YOU?

2017-02-25 17:23:05 UTC  

UPDATING LINKS LIST FOR THE WEEK

2017-02-25 17:23:50 UTC  

I'm doing well too. Doing some recreational programming and listening to Sol Austan Mani Vestan

2017-02-25 17:26:07 UTC  

What are you making?

2017-02-25 17:26:52 UTC  

I'm exploring how to build a testable microservice architecture. Focusing on tests & craftsmanship.

2017-02-25 17:27:03 UTC  

Not particularly interesting from an algorithmic perspective

2017-02-25 17:27:08 UTC  

What's a microservice?

2017-02-25 17:27:11 UTC  

But interesting from a SWEng perspective

2017-02-25 17:27:41 UTC  

a single "slice" of a bigger system, packaged as its own REST service

2017-02-25 17:28:03 UTC  

e.g. if you have an online shop, the shopping basket might be served by a separate service, the wishlist by another, etc.

2017-02-25 17:28:25 UTC  

essentially, a more granular way of decomposing things that do multiple tasks

2017-02-25 17:30:03 UTC  

and it should be built such that it can be run replicated (e.g. in a cluster)

2017-02-25 17:30:37 UTC  

so a microservice is something like a library in the context of distributed replicated systems

2017-02-25 17:31:55 UTC  

Okay

2017-02-25 17:32:31 UTC  

You seem to live in Rome while I am a barbarian, feral at best

2017-02-25 17:33:30 UTC  

Hm, I don't quite get what you mean by that. Care to elaborate?

2017-02-25 17:33:31 UTC  

I've never heard of most of those names

2017-02-25 17:34:03 UTC  

Ah, well. It's a slice of a slice of a slice of the world. Nothing particularly important, just something to tinker with 😃

2017-02-25 17:34:27 UTC  

I also do recreational programming, but I don't know what a REST service is

2017-02-25 17:34:33 UTC  

Although I know no netcode yet

2017-02-25 17:35:48 UTC  

well, a REST service is nothing particularly mysterious: it's a web service that uses HTTP verbs and uses links for service navigation/discovery

2017-02-25 17:35:55 UTC  

usually produces JSON as the media type

2017-02-25 17:36:22 UTC  

quote: "While REST stands for Representational State Transfer, which is an architectural style for networked hypermedia applications, it is primarily used to build Web services that are lightweight, maintainable, and scalable. A service based on REST is called a RESTful service."

2017-02-25 17:36:49 UTC  

I also do this professionally, so I'm exposed to a different set of topics probably

2017-02-25 17:38:39 UTC  

"so a microservice is something like a library in the context of distributed replicated systems" Do people boilerplate with microservices?

2017-02-25 17:39:59 UTC  

I just lkooked up what boilerplating really means.

2017-02-25 17:40:02 UTC  

I meant it in a slightly metaphorical way. It's a service that other distributed services use, that is self-contained and usually light-weight

2017-02-25 17:40:03 UTC  

I was wrong about that, too

2017-02-25 17:40:28 UTC  

A guy I talked to used it as a black box you send things in to, and it send ssomething out, but you don't know how exactly it does it

2017-02-25 17:40:31 UTC  

you just know what its function is

2017-02-25 17:41:01 UTC  

sure, that's correct. Usually this principle is called "encapsulation"

2017-02-25 17:41:23 UTC  

Understanding OO concepts would be helpful towards understanding REST

2017-02-25 17:41:26 UTC  

and a microservice (and a library) are indeed expected to encapsulate 😃

2017-02-25 17:42:30 UTC  

@redpillavatar hm, I'd say that one might be more comfortable with REST coming from a (purely or otherwise) functional background