213 Replies
a year ago
please provide more information
a year ago
i upgraded
a year ago
instance to pro
a year ago
requests failing
a year ago
due to high load
a year ago
how many connections is "many connections"
a year ago
100,000
a year ago
or so
a year ago
not clear
a year ago
concurrently?
a year ago
yes
a year ago
what can i do
a year ago

a year ago
i see this in memory
a year ago

a year ago
can we jump on call @Brody
a year ago
its urgent to fix
a year ago
thank you
a year ago
i can upgrade to any plan, already on pro
a year ago
i don't work for Railway
a year ago
oh
a year ago
is there anyone on railway that c help
a year ago
but I can tell you with absolute certainty that you can not do 100k concurrent requests
a year ago
ok
a year ago
railway is down
a year ago
nevertheless
a year ago
railway isn't down, they just aren't allowing you to do 100k concurrent requests
a year ago
what can i do for them to allow
a year ago
quick question, are you on the new proxy
a year ago
dont know
a year ago
please check
a year ago
i didnt setup anything
a year ago
how
a year ago
in the service settings
a year ago
where
a year ago

a year ago
that's your project settings, look in the service settings
a year ago

a year ago
ok enabled
a year ago
is this 100k of legitimate traffic?
a year ago
yes
a year ago
its real users
a year ago
100k is estimate
a year ago
did something go viral?
a year ago
just link to app was shared in group with around 80k users
a year ago
so yes
a year ago
i thought railway will handle it
a year ago
in the mean time you can try spinning up more replicas
a year ago
how
a year ago
service settings
a year ago

a year ago
how to upgrade my instance
a year ago
im confused
a year ago
i press this
a year ago

a year ago

a year ago
it wants me to enter name
a year ago
Nikita?
a year ago
you are upgraded, you are just selected on the hobby workspace, you need to move your project to the pro workspace
a year ago
how can i move
a year ago
while keeping same
a year ago
url for deploy
a year ago
you would have been asked to move projects over upon upgrading, if you closed that you can move a project across workspaces from your project settings
a year ago
but pro users do not get higher request rates
a year ago
so this won't help?
a year ago
not for your particular issue since you are not CPU memory bound
a year ago
you need replicas for this
a year ago
i have 4
a year ago
is that enough?
a year ago
when where they added
a year ago
2 min ago
a year ago
if I understood mig correctly each replica should be permitted to allow for 1k RPS with 5k burst
a year ago
5k burst?
a year ago
yes
a year ago
i don't know what the window for that is though
a year ago
let me know if more replicas make a difference
a year ago
still failing requests
a year ago
its unclear why
a year ago
its on railway though 100%
a year ago
as I am in close contact with db
a year ago
and all writes go through there
a year ago
how are requests failing, please be more specific
a year ago
its infinite loading
a year ago
so requests just stalling
a year ago
for many users
a year ago
project id please
a year ago
how to get
a year ago

a year ago
from your url
a year ago
I'm sorry but I didn't ask for an invite
a year ago
@Mig connections hanging with increased traffic
a year ago
pls resolve
a year ago
thank you ❤️
a year ago
I can add 20 replicas
a year ago
not 4
a year ago
i guess
a year ago
but not sure what cost of many replicas is
a year ago
and if thats the issue
a year ago
connections just stalling
a year ago
i need all requests to go through
a year ago
there is a limit on the total amount of RPS from the host itself, that would be 50k with 500k burst
a year ago
there's no base cost, you pay for the resources used by them
a year ago
so what can i do
a year ago
to make requests go through
a year ago
im messing around with caching on client now
a year ago
you can try adding more replicas, but ultimately we will want to hear back from mig
a year ago

a year ago
i don't get though why connections stall
a year ago
graphs look fine
a year ago
yet connections stall for many
a year ago
connecting to railway
a year ago
as I've previously mentioned, you are likely hitting your RPS limit
a year ago
how to up rps
a year ago
more replicas
a year ago
ok 8 replicas
a year ago
but you could also be hitting the RPS of the host, so we will need to hear back from mig for a definite answer here
a year ago
requests are stalled again
a year ago
😐
a year ago
fk
a year ago
i hoped railway would be ok
a year ago
to host my stuff on
a year ago
if it was personal project i would be fine bu this is client project
a year ago
its not even free plan
a year ago
its crazy that it stalls even on 8 replicas
a year ago
now its ok again
a year ago
i have asked another team member since mig is offline
a year ago
i added client side caching
a year ago
at least for users that loaded before they will see things
a year ago
thanks
a year ago
though its monday so they are likely in meetings
a year ago
Hi!
a year ago
It looks like the drophunt URL is returning quickly here and you were able to bump replicas
a year ago
@nikivi lmk if you still need something here
a year ago
yes pls
a year ago
i expected railway to support many requests
a year ago
and many users just had stalled requests
a year ago
so client probably won't work with me again but oh well
a year ago
my issue with not understanding railway i guess
a year ago
but i want to make sure this does not happen again
a year ago
I was not on free plan and was in close contact with the db I used so all writes to it went through, all issues were on railway
a year ago
and even now some requests still stall
a year ago
with 8 replicas
a year ago
for some reason I thought railway would not just drop requests on non free plan
a year ago
I guess I should start launches with maybe 20 replicas just in case but that seems like too much
a year ago
I wish I could just scale the load and so that railway won't be dropping a single request
a year ago
would be wonderful
a year ago
I assume railway infra should allow for this
a year ago
that was 14 separate messages, please try to keep such things contained in as little amount of messages as possible
a year ago
yea sorry
a year ago
how can I make railway project where I don't have to think about replicas
and where railway won't be dropping or stalling requests 100%
a year ago
I am coming to railway from cloudflare workers where thats the default
a year ago
from ux perspective I assumed that would already be the case, and that things like proxy would be on by default
a year ago
what you switched on was the beta proxy, its not like your app didnt come with a proxy already
a year ago
so issue is that railway just drops requests if too many requests land to the replica instance, it does not queue them or anything
a year ago
I will always turn on new proxy (it seems to be better, not sure)
and ideally I don't want to provision replicas as I don't know load beforehand
a year ago
yes that is how limits work
a year ago
can I make railway work with these requirements
a year ago
I did not set any limits
a year ago
the platform has RPS limits
a year ago
ok will try move to self hosted solution with no rps limits
a year ago
i do like railway ui though
a year ago
😐
a year ago
If you're doing self hosted, you're gonna have to manage this
a year ago
Plus a littany of other issues. Can you show me where the requests are being queued? You seem to have more than enough headroom
a year ago
You're running at 700mb
a year ago
somehow requests were still stalling though
a year ago
i did not get observability into why
a year ago
at least I did not see in railway how
a year ago
it's also possible that your app just simply wasn't responding fast enough
a year ago
Yup. You've got a lot of headroom so, from what I can tell, it's something at the application level
Maybe a downstream service, some errant code, etc
a year ago
can i cut replicas to 2 at least
a year ago
what is the approximate level of replicas i have to hold for how many concurrent requests
a year ago
i wish i didnt have to think about this 😦
a year ago
we both no longer think this is an issue with railway, after some thinking it's unlikely you are hitting any RPS limit considering 8 replicas did not solve this issue
a year ago
so with 1 replica
a year ago
if i have 10,000 concurrent requests
a year ago
hypothetically
a year ago
what will railway do
a year ago
sorry for the confusion, but all signs are pointing to an issue with your application or something your application interacts with
a year ago
trying this 🙏

a year ago
lets see
a year ago
now traffic is lower
a year ago
i have caching
a year ago
so should be safer
a year ago
please try to limit the amount of messages you send back to back as I am bombarded with notifications
a year ago
@nikivi is this open source
a year ago
a year ago
p.s. can I clear logs in dashboard

a year ago
this is not the whole thing
a year ago
also - what is ronin
a year ago
a year ago
my data store
a year ago
its whole thing
a year ago
yeah so that is your bottleneck
a year ago
ronin are not bottleneck as they checked their writes coming through
a year ago
i was on call with them
a year ago
i would suggest instrumenting your app with something like Opentelemetry and see which call is slow
a year ago

a year ago
yea will do
a year ago
i cant run this locally
a year ago
yea its bit annoying, will resolve in a bit, ronin uses private packages
a year ago
well - i can't really help much until then
a year ago
yea understandable
a year ago
thanks for offer though ❤️
a year ago
what's your reason for using ronin btw?
a year ago
it seems to just be a database?
a year ago
yea they provide a nice sdk to query https://github.com/ronin-co/client
a year ago
and dashboard
a year ago
im about 99% sure your issues lie in either the SDK they provide or the service itself
a year ago
i would suggest using a normal database along with something like drizzle-orm
a year ago
railway supports postgres and mysql