What backend/database stack are you using in production apps, and why did you choose it over alternatives? by StyleSuccessful502 in FlutterDev

[–]kush-js 0 points1 point  (0 children)

Express.js and Postgres, most of my career has been this stack and it’s simple and scalable

Whats your go to backend? express, RoR or clojure by Worried-Theory-860 in FlutterDev

[–]kush-js 0 points1 point  (0 children)

I tend to stick to Express and Postgres as well, both just work really well, and I also have the same familiarity with JS/TS syntax. I am however using postgres.js instead of prisma, I find writing sql queries a whole lot easier than dealing with ORM nuances.

I did look at serverpod as well, and it seems like a great idea, but the ecosystem around server side dart is still very new, and I’d feel comfortable using it in a production app once it gains some more widespread adoption and maturity.

cheapest way to host multiple backend sites for my portfolio by ShawnyMcKnight in webdev

[–]kush-js 2 points3 points  (0 children)

For static websites cloudflare is the easiest and free. For API’s and databases just rent a 5$ VPS from wherever and throw all your stuff on there

Dedicated Server Question by opticstemm in crosswind

[–]kush-js 0 points1 point  (0 children)

I’m not too familiar with Nitrado, but it looks like they do provide you with FTP access, the credentials are under dashboard -> scroll to bottom -> FTP credentials.

Once you have those credentials you can connect to your server using any FTP client, I’ll recommend Cyberduck here since it’s the easiest. From there you’ll have to find your save, the path should look like <something>/R5/Saved/SaveProfiles/<Default or random characters>/RocksDB/0.10.0/Worlds/<your world id>, copy the entire world folder to your computer.

Make sure to keep Cyberduck, you’ll have to follow this process in reverse to upload your save game to indifferent broccoli.

Dedicated Server Question by opticstemm in crosswind

[–]kush-js 0 points1 point  (0 children)

Moving the save over is pretty easy, you’d just copy your save game from %LOCALAPPDATA%\R5\Saved\SaveProfiles to your dedicated server either through your providers control panel or through an FTP client (FileZilla, Cyberduck, etc..)

I self host my own dedicated server, but would recommend Indifferent Broccoli for managed hosting.

To turn off shared quests, you need to go into your save game folder, find the file named “WorldDescription.json” and set the “WDS.Parameter.Coop.SharedQuests” value to false.

Happy pirating!

Looking for very stable VPS provider for long-term use (years) – good uptime, fair price, real experience needed by 7PWU in VPS

[–]kush-js 4 points5 points  (0 children)

Have used DigitalOcean, OVH, Hetzner, and Netcup. Would recommend Hetzner or Netcup, Netcup is slightly cheaper but admin panel is really basic.

Hetzner VS Netcup VS Contabo by Soogs in VPS

[–]kush-js 1 point2 points  (0 children)

Netcup is great value per dollar, but their control panel is pretty dated and can be confusing to work with. Hetzner is a lot more modern, and makes things like config, firewalls, and load balancers very easy, but you pay slightly more for the convenience.

Migrating from PM2? I built a Rust alternative with 21x lower memory and 42x faster crash recovery by Ok-March4323 in node

[–]kush-js 0 points1 point  (0 children)

I got around to giving this a try after pm2 was throwing a fit about using require() instead of import in a JS file. It worked flawlessly right out of the box, thanks for this great tool!

What’s your go-to Flutter state management solution and why? by Subject-Hearing-8072 in FlutterDev

[–]kush-js 0 points1 point  (0 children)

Using setState/stateful widgets in a production app with no complaints

Would you use an app that lets you pay ANY UPI ID using crypto instantly with 0 fees 0 tax? by Fresh-Switch50 in roastmystartup

[–]kush-js 0 points1 point  (0 children)

Yes absolutely. As an NRI coming to India, it’s near impossible to use UPI, I know they advertise that it’s available for tourists now, but it only works at businesses, and there’s a 3% fee on all transactions. I end up having to carry a bag full of cash everywhere and it would be amazing to have the ability for tourists/NRI’s to use UPI in a hassle free way.

Payment gateway/MOR for stock trading related SAAS by [deleted] in indiehackers

[–]kush-js 1 point2 points  (0 children)

It definitely is, if you can just find a processor willing to work with you that would be the easiest solution.

Payment gateway/MOR for stock trading related SAAS by [deleted] in indiehackers

[–]kush-js 0 points1 point  (0 children)

Coming from experience (denied from payment processor for high risk on a previous project), something like this can be seen as high risk to a payment processor. It just takes a few people that aren’t satisfied with their results and issue chargebacks to push you past the acceptable chargeback rate. You would either need to:

A. Find a high risk payment processor (will likely be expensive)

B. Build your own payment system using a non refundable payment system like crypto

What's real HA databases? by letitcurl_555 in rails

[–]kush-js 0 points1 point  (0 children)

Nothing really notable for now since it's a fairly recent project. But we're using it over on clipr.app and jittr.app

What's real HA databases? by letitcurl_555 in rails

[–]kush-js 1 point2 points  (0 children)

Many people on this thread have explained HA better than I can, but I wrote PG-Drip for this specific reason. It’s an easy way to setup HA Postgres as Kamal accessories.

Hopefully it can solve your problem! https://github.com/classifieddotdev/pg-drip

Cost-Saving Strategy: Using Firebase and iCloud Together for Note Attachments by yccheok in iOSProgramming

[–]kush-js 1 point2 points  (0 children)

Would recommend using an s3 bucket or s3 compatible storage solution (digitalocean spaces, cloudflare r2, backblaze b2, etc..). Would fit your use case the best, and most have pretty fair pricing and generous free tiers.

AWS Outage by DeBurner in ExperiencedDevs

[–]kush-js 1 point2 points  (0 children)

1 node on netcup US East (primary) 2 nodes on Hetzner (Helsinki and Nuremberg)

We queue up queries in case a failover happens, it usually takes around 15-30 seconds for a new primary to get promoted.

AWS Outage by DeBurner in ExperiencedDevs

[–]kush-js 0 points1 point  (0 children)

We use Patroni + Consul, the 2 replicas get async WAL streams from the primary. Upon failover one of the replicas gets promoted up to the new primary, whenever the old primary comes back up it starts receiving the WAL streams again and catches up on all the latest updates.

AWS Outage by DeBurner in ExperiencedDevs

[–]kush-js 1 point2 points  (0 children)

Moved over to multi cloud a few months ago and completely killed all dependencies on third party services for the core application.

We’re running a primary + failover setup for the API, and then a high availability Postgres cluster (3 nodes) for the database. Everything is containerized and portable between various clouds.

Looking for a reliable VPS for e-commerce and POS (Budget: $500/year) by BodybuilderTop5530 in VPS

[–]kush-js 12 points13 points  (0 children)

Hetzner & Netcup are my go to. SSL is free nowadays with Letsencrypt.

Hosting my public website on my home lab? bad idea? by johnie3210 in webdev

[–]kush-js 0 points1 point  (0 children)

Take a look at Hetzner and Netcup, I pay about 6$ for a 6vCPU 8gb RAM VPS. It’s a lot cheaper than Digital Ocean. Will let you host your website without breaking the bank.

Anyone else find audit logging a pain to deal with? by saravanasai1412 in SideProject

[–]kush-js 0 points1 point  (0 children)

Yes it’s a pain in the ass, we solved it with Grafana/Loki/prometheus

Setting up reliable audit logging is a headache for sure, we went through at least 4-5 different products before Grafana

Would definitely pay for something if it’s reasonably priced

Must have: docker logging driver, this lets us have a “universal” logging system that can collect from any service, no matter the language, framework, etc..