Better HN
topnewbestaskshowjobs
Log inSign up

persei8

31 karma · joined Dec 31, 2011 (14y ago) · 10 submissions

Submissions

comment 12y ago · link · parent

If I could recommend _just_one_ resource from that list, it would be http://www.tigerteam.dk/talks/IDDD-What-SOA-do-you-have-talk...

comment 12y ago · link · parent

amazon.com is pretty traditional web application and they've been doing SOA for ages.

comment 12y ago · link · parent

Service owns it's data. Other services can't access this data directly. Within service, on it's data, you can do as many "joins" as you want.

comment 12y ago · link · parent

Request/Reply pattern makes a poor choice for communication between services - it increases coupling. It doesn't matter much if it comes with HTTP or any other flavour.

Again, Jeppe nails it in very detailed post: http://www.tigerteam.dk/2014/microservices-its-not-only-the-...

comment 12y ago · link · parent

Transactions spanning several microservices violate their autonomy - one service should not lock resources of another.

Jeppe Cramon explains it pretty well in http://www.tigerteam.dk/2014/micro-services-its-not-only-the...

comment 12y ago · link · parent

> If the entities in one service are not in strong relationship with one another, it's a sign you can split them in two services. But if two microservices talk to each other so extensively, that the service boundary is becoming a bottleneck, it's a sign that they should be one service.

In other words it's best to break down services by Bounded Contexts.

comment 13y ago · link · parent

Is it true that you don't fully buffer body of POST request on router? This limitation works against Unicorn design and makes it hardly a "fix": http://rubyforge.org/pipermail/mongrel-unicorn/2013-April/00...

8.

Rails API - my simple approach(blog.arkency.com ↗)

10 points · by persei8 · 13y ago · discuss

9.

You don't inject for tests(blog.arkency.com ↗)

19 points · by persei8 · 13y ago · 13 comments

comment 13y ago · link · parent

To me framework is a set of libraries, glued together with some infrastructure code. Framework provides some conventions that speed up most common tasks.

It may be possible to use framework as a library, though there is no or small benefit.