Where communities thrive
your own community
Explore more communities
Apr 02 2015 09:03
Mar 04 2015 16:02
Added some idea's for the next …
We can use the same setup as HaProxy where cluster act as a pure load balancer
I'll talk to that :)
Then we can have a another way called multiple balancers
That way, one server accepts the HTTP traffic
all others accepts direct DDP traffic
They need to have DNS
entires for each
Then browser directly connect to the DDP server
If the server is down, browser detects an error
then it'll try to connect to some other DDP server
There is no with DNS here
DNS issue comes
when we try to server HTTP traffic from two different servers
It's an issue, but it's also true if you HaProxy
solution is to use something like Route 53 which does health checks
And we can use a low TTL to get rid of caching
Hope, I answered well :)
And Cluster is one part of the tooling
We'll have a full high performance ddp-proxy which can do rate limits
SSL, monitorting and some other stuff
Most of the other clustering solutions there to run inside a single data centers
They also mentioned SSL support and the performance benefit of terminating the SSL before the app-servers. I'm guessing this can't be avoided?
I didn't get that?
If the DDP server is exposed to the public, we must have SSL
That's why we added it to Meteor Up
thanks, makes sense, will have to look into Route 53. Our current DNS can only go as low as 5min TTL plus they only update records every 15 minutes which isn't ideal
so how does that SSL work? do you still need nginx or something?
Right now cluster does not access SSL traffic
Since NodeJS suck at SSL
We don't do it
Yes we can use nginx, stud, haproxy or something
We are using it with Meteor Up
It has SSL support via stud
Soon we have a meteor-proxy (or ddp-proxy)
Which will be written in go
and it'll have SSL support
I'll soon write some blog post about most of these and the current landscape of infrastructure services like docker, core os and where cluster fits in.
I think that would be really useful :)
All sounds cool, I saw your tweet the other week about Go and wondered what you were going to do with that
Actually it's better than node for handling high throughput stuff. But for building apps, meteor and node is good.
I think it was you asking about Fibers yesterday, wasn't it? I was struggling to remember a blog post on it, well:
nice, thanks :)
somehow I seem to have managed to get Gitter to play nicely with IRC ;D
If anyone here has an evented mind subscription (or has thought about it) his latest series:
is really, really good.
Do you have any free time today?