anhedonia
anhedonia
RRailway
Created by anhedonia on 6/7/2024 in #✋|help
dial tcp: connect: no route to host
0 errors overnight, so this is definitely fixed now. weird that V1 had some obscure networking issue, time to move to V2 everywhere just in case :D goodbye logs 🫡
123 replies
RRailway
Created by anhedonia on 6/7/2024 in #✋|help
dial tcp: connect: no route to host
yeah, they popped up every 2-5 hours it seems
123 replies
RRailway
Created by anhedonia on 6/7/2024 in #✋|help
dial tcp: connect: no route to host
I can also see the logs if I expand them
123 replies
RRailway
Created by anhedonia on 6/7/2024 in #✋|help
dial tcp: connect: no route to host
it pings me on Discord :D
123 replies
RRailway
Created by anhedonia on 6/7/2024 in #✋|help
dial tcp: connect: no route to host
So far not a single error since I switched to V2 around 7 hours ago, so it might be solved 🤞
123 replies
RRailway
Created by anhedonia on 6/7/2024 in #✋|help
dial tcp: connect: no route to host
I'll give it a try when some volume features get through the pipeline, rn I don't need anything more than sqlite, and I want to make the project super friendly to self host
123 replies
RRailway
Created by anhedonia on 6/7/2024 in #✋|help
dial tcp: connect: no route to host
well, I guess it's not too different from how I do it now. so it might be a solid option actually
123 replies
RRailway
Created by anhedonia on 6/7/2024 in #✋|help
dial tcp: connect: no route to host
but then it might break prod 😂
123 replies
RRailway
Created by anhedonia on 6/7/2024 in #✋|help
dial tcp: connect: no route to host
ah that's a good point
123 replies
RRailway
Created by anhedonia on 6/7/2024 in #✋|help
dial tcp: connect: no route to host
plus I am kinda moving away from sharding everything into microservices 😂 so it's nice to just deploy a single binary
123 replies
RRailway
Created by anhedonia on 6/7/2024 in #✋|help
dial tcp: connect: no route to host
yeah, but that would not solve migrations :Peepo_Think:
123 replies
RRailway
Created by anhedonia on 6/7/2024 in #✋|help
dial tcp: connect: no route to host
yeah, service/container limits would be awesome. and a way to run migrations :D I had to bloat my final image size quite a bit to run migrations on SQLite, would be nice to have the ability to interact with the volume before the main container starts up
123 replies
RRailway
Created by anhedonia on 6/7/2024 in #✋|help
dial tcp: connect: no route to host
No description
123 replies
RRailway
Created by anhedonia on 6/7/2024 in #✋|help
dial tcp: connect: no route to host
well, railway dynamic pricing based on usage is amazing for Go, it is practically free to run most of my projects :D while on other providers I would have to pay for some minimum sized instance, like 256mb. but it is also quite scary to know that something can happen or I can get spammed and there is no way to limit the damage, like set a RAM/CPU limit
123 replies
RRailway
Created by anhedonia on 6/7/2024 in #✋|help
dial tcp: connect: no route to host
but yeah, it would be amazing if there was some way to get the files from the volume or at least make snapshots and copy/restore
123 replies
RRailway
Created by anhedonia on 6/7/2024 in #✋|help
dial tcp: connect: no route to host
yeah, I never had any issues with limiting mongo to some specific size. I believe you can also go below 1GB, it's just not recommended. So I could get an even smaller instance on fly if it's still expensive for what the project is
123 replies
RRailway
Created by anhedonia on 6/7/2024 in #✋|help
dial tcp: connect: no route to host
Mongo resizes their in-memory cache based on available system meory, I can pick a 1GB instance on fly and it will just work with what it has, no matter how big the collections get. On Railway, I had to reduce the amount of data stored in order to keep Mongo around 1GB, cutting some features. It worked for now, but I am just really worried that it will still grow as the dataset gets bigger since I really have no control over it.
123 replies
RRailway
Created by anhedonia on 6/7/2024 in #✋|help
dial tcp: connect: no route to host
but I gotta say, Railway CPUs are noticeably faster :D
123 replies
RRailway
Created by anhedonia on 6/7/2024 in #✋|help
dial tcp: connect: no route to host
since my apps consume almost no CPU and only a couple hundred mbs of RAM, Pro plan is just not worth it
123 replies
RRailway
Created by anhedonia on 6/7/2024 in #✋|help
dial tcp: connect: no route to host
1. MongoDB is really hard to limit in memory when the container has a technical limit of 8GB, so it end up using a lot of RAM, even when I set limits through command args 2. #1 led me to explore other options and I decided to try SQLite, but Railway has no way to make custom snapshots/recover the volume data. I think fly does snapshots automatically and I can restore a volume from it super quick 3. 5GB volume size limit
123 replies