a year ago
I'm proposing Railway as a deployment platform at my company based on my experience with it. However, during discussions, questions arose about replication and SurrealDB compatibility.
According to SurrealDB documentation, multi-node clustering requires TiKV. My specific questions are:
Is horizontal scaling possible for SurrealDB when deployed on Railway?
Does this scaling require TiKV?
If TiKV is required, is it feasible to deploy it on Railway, considering they support Docker images?
While I see that TiKV has Docker support, I have some concerns about its implementation in this context.
https://surrealdb.com/docs/surrealdb/installation/running/tikv
https://surrealdb.com/blog/clustered-surrealdb-for-1-0-0-beta9
31 Replies
a year ago
took a look at the docs, tikv does look required to horizontally scale surreal so the blocker here is mainly figuring out how to run that on railway
well that we im stuck at im trying to figure things out befor i pull propse railway to the team
https://tikv.org/docs/3.0/tasks/deploy/docker/ i found this
a year ago
was just gonna ask for that
a year ago
if tikv doesnt support ipv6 its an immediate no
a year ago
if you redeploy any one of the 6 nodes it will break, since ips on the priv net arent static
Could you clarify whether the issue arises if it does not support IPv6, or if it supports IPv6?
a year ago
if it doesnt support ipv6 then it simply can't work as separate services, if so, the 6 nodes will need to be ran inside the same container
Ok gotcha but based on what i have seen in docs it does support IPV6 so what now do i just build them normally like Redis cluster?
a year ago
then this is applicable, not a deal breaker, just stating a caveat
a year ago
do you have a test project that i could look at?
I need to get approval from my team lead first. I’ve proposed building two testing demos: one on Railway and the other using a standard Docker Swarm setup. In theory, I could build one of these this weekend and provide an update here.
a year ago
does the urls passed to initial-cluster support domain names? since the private network is domains only
a year ago
because the ipv6 ip is behind a domain name, you wouldnt have a good way to get the actual ip to use in that flag
a year ago
sounds good, and wherever you see 0.0.0.0 replace it with [::] because private network is 100% ipv6 only
if its ok to keep this thread open untill i start on demo to share progess and get feedback if possible
a year ago
of course
and I'm really, really thankful for your help. That's a lot of interesting information about IPv6 and Railway.
a year ago
happy to help where i can!
