greptilian logo

IRC log for #rest, 2016-01-29

#rest on freenode has been logged here from May 2014 until end of July 2018 but logging has been suspended because the channel has been riddled with spam since August 2018 with no end in site. See the following blog posts about the problem:

Until the spam problem has been dealt with and logging can resume, please visit our wiki at https://trygvis.io/rest-wiki/

Thanks.

| Channels | #rest index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
00:23 lemur joined #rest
00:56 Coldblackice joined #rest
01:24 tbsf joined #rest
01:35 SJr joined #rest
01:38 SJr I'm looking at building a RESTful service following a microservices based architecture. I would like to gracefully degrade services in case of failures of persistence or certain nodes. I am kind of stuck between two approaches and would like to know if one of them is entirely bad or if it's just trade offs.
01:39 SJr The failures modes I see, is that I can have a failure in my persistence store (either outtage or slowness), or some subset of nodes Web nodes may have connectivity problems externally or with the DB, as a failure model.
01:40 SJr No the good news is that I can actually degrade pretty well without a database so if there is a database or load issue, I could respond with an HTTP 203 - Non Authoritative Information
01:41 SJr I would want the client to try another server and if it can't get an authoritative answer, then oh well.
01:44 SJr However here is where my dilemma comes in. To do this properly each node needs to be directly addressable by the application which means that A) the application has handle failures, and B) we can't just use DNS to resolve the services and C) I'm not sure if I should publish resources for some shared domain that isn't actually where the service is. e.g., if I publish http://microservice.domain.com/resource but the clients need to access server1.
01:44 SJr microservice.domain.com
01:45 SJr Alternatively I could use some kind of a load balancer in between, but then I can't really have the degredation of services that I want.
01:45 SJr e.g., there is no way for me to say, if this request is a 203 try the other server(s)
01:46 SJr also doing things like monitoring individual services is a pain.
02:07 impl have you considered using something like consul, which provides a DNS interface? https://www.consul.io/docs/agent/dns.html
02:24 lemur joined #rest
02:46 tbsf joined #rest
02:49 tbsf joined #rest
03:22 bluezone joined #rest
03:28 huckleberry78 joined #rest
03:43 baweaver joined #rest
03:54 SJr hmmmm I'm not quite sure how that solves my problem impl?
03:56 tbsf joined #rest
04:12 baweaver joined #rest
04:53 sp1rs joined #rest
05:03 tbsf joined #rest
05:03 tbsf joined #rest
06:32 _ollie joined #rest
06:35 _ollie joined #rest
06:38 sp1rs1 joined #rest
06:49 timg___ joined #rest
06:53 sp1rs joined #rest
07:00 huckleberry78 joined #rest
07:02 timg___ joined #rest
07:02 hucklebe_ joined #rest
07:04 huckleberry78 joined #rest
07:06 hucklebe_ joined #rest
07:08 hucklebe_ joined #rest
07:10 huckleberry78 joined #rest
07:12 hucklebe_ joined #rest
07:13 huckleberry78 joined #rest
08:25 sp1rs joined #rest
08:29 timg___ joined #rest
09:24 sp1rs joined #rest
09:36 sp1rs joined #rest
09:50 sp1rs1 joined #rest
10:29 sp1rs joined #rest
10:31 nesselbosch joined #rest
10:38 sdeh_ joined #rest
10:38 sdeh_ hi together i try to develope an own rest api project, what is your prefered framework ?
10:39 sdeh_ i will also use hypermedia for it
10:54 graste joined #rest
11:24 pdurbin sdeh_: I like https://jersey.java.net but I haven't done a lot with hypermedia
11:29 _ollie joined #rest
11:55 sp1rs joined #rest
11:59 interop_madness joined #rest
12:02 sp1rs1 joined #rest
12:07 mezod joined #rest
12:17 sp1rs joined #rest
13:04 sp1rs joined #rest
13:34 sp1rs joined #rest
13:40 Macaveli joined #rest
13:43 sp1rs joined #rest
14:17 tbsf joined #rest
14:24 huckleberry78 joined #rest
14:52 interop_home joined #rest
14:52 interop_home joined #rest
15:06 tbsf joined #rest
15:13 huckleberry78 joined #rest
15:43 sp1rs joined #rest
16:07 tbsf joined #rest
16:13 sdeh_ joined #rest
16:22 huckleberry78 joined #rest
16:46 sp1rs joined #rest
16:49 sp1rs1 joined #rest
16:57 mezod joined #rest
17:05 sp1rs joined #rest
17:10 sp1rs joined #rest
17:25 graste joined #rest
17:35 baweaver joined #rest
17:37 baweaver joined #rest
19:18 sp1rs joined #rest
19:41 baweaver joined #rest
19:47 bluezone joined #rest
20:42 lemur joined #rest
20:56 sp1rs joined #rest
20:58 _ollie joined #rest
21:21 huckleberry78 joined #rest
21:22 sdeh_ joined #rest
21:26 graste joined #rest
21:30 sdeh_ joined #rest
22:20 Coldblackice joined #rest

| Channels | #rest index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

#rest on freenode has been logged here from May 2014 until end of July 2018 but logging has been suspended because the channel has been riddled with spam since August 2018 with no end in site. See the following blog posts about the problem:

Until the spam problem has been dealt with and logging can resume, please visit our wiki at https://trygvis.io/rest-wiki/

Thanks.