Differences

This shows you the differences between two versions of the page.

Link to this comparison view

irc:1471903200 [2017/05/27 13:44] (current)
Line 1: Line 1:
 +[08:16:09] <​myghty>​ damn I must have missed alex answer
 +
 +[08:16:15] <​myghty>​ I meant loadblanacing for normal http records
 +
 +[08:54:48] *** ChanServ sets mode: +o temporalfox
 +
 +[10:18:51] <​skullcrasher>​ a question on securing a websocket (sockjs) with the oauth2 handler. Is it as simple as defining the route and register the oauth2 handler before the sockethandler?​
 +
 +[10:19:28] <​skullcrasher>​ so that if the oauth2 authentication won't call the next handler (in this case websocket)
 +
 +[10:19:38] <​skullcrasher>​ the socket connection is not established
 +
 +[17:50:38] *** ChanServ sets mode: +o temporalfox
 +
 +[20:02:02] <​myghty>​ AlexLehm: yes I meant http things :)
 +
 +[20:02:10] <​myghty>​ (sorry did not see your reply yesterday)
 +
 +[21:40:31] *** ChanServ sets mode: +o temporalfox
 +
 +[21:59:45] <​AlexLehm>​ myghty: if you want to load balance between different http servers, you could use another proxy like ngnix or you could write a proxy in vertx as well
 +
 +[22:04:49] <​AlexLehm>​ depends on how the requests come in i guess, if you have some kind of layer switch, you can just start multiple vertx http servers
 +
 +[22:06:25] <​myghty>​ AlexLehm: different vert.x microservices
 +
 +[22:06:33] <​myghty>​ I could of course access them via message queues
 +
 +[22:06:43] <​myghty>​ but my thought was having all services accessible via http
 +
 +[22:07:47] <​myghty>​ so like having a single point of entry vert.x router, and having the other services announce themselfs via discovery
 +
 +[22:07:53] <​myghty>​ and then just forward the http requests
 +
 +[22:21:21] <​AlexLehm>​ if you use the event bus, the load balancing will happen automatically,​ if you use http for microservices the proxy layer has to do the load balancing
 +
 +[22:22:28] <​AlexLehm>​ i have not any "​real"​ experience with using vert.x http so I cannot really say which is better
 +
 +[22:26:49] <​myghty>​ hm jeah
 +
 +[22:27:02] <​myghty>​ I might just write some load balancing by myself probably :)
 +
 +[22:27:22] <​myghty>​ (even though I think if everything is done correctly loadbalancing should not kick in to often :P
 +
 +[22:28:32] <​myghty>​ let's see where it gets me :) probably into madness but well... madness has always been fun so far
 +
 +[23:18:24] *** ChanServ sets mode: +o temporalfox