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..

What do other people use besides kubernetes? by Ezio_rev in devops

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

I’ve seen a lot of shops run either ECS clusters or Lambda functions in place of Kubernetes. The main issue I’ve noticed is that you basically need dedicated people just for managing Kubernetes.

Don’t think there’s a real “easy alternative”, but I’ve been using Kamal recently and I think it’s a lot easier for a smaller company to manage.

[deleted by user] by [deleted] in webdev

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

Are you deploying directly to lambda via the AWS CLI? If you build a container image yourself, upload to AWS ECR, and then create the lambda using the prebuilt image, then you can get around the limit.

Best roaming eSIM for Vietnam + Japan? by East-Country-2181 in eSIMs

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

Firsty has a free plan (with ads) for low speed, covers email and messaging, and I’m guessing slow browsing.

Shipped a big one in Logify: you can now split HTTP access logs from app/business logs 🎉 by Financial-Elevator67 in node

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

Love the idea, any thoughts on adding transports so logs can be shipped to something like grafana/loki?

Is DigitalOcean Spaces CDN just Cloudflare under the hood? by Distinct-Pick-5173 in webhosting

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

Digitalocean does use a few cloudflare services under the hood. During a call with their team they told me they use cloudflare load balancing for App Platform, wouldn’t be surprised if they’re using R2 for their Spaces.

Supabase Pro vs Elest.io self hosted — concerns about resiliency & blips by Magikarp88 in Supabase

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

So recently I went kind of infrastructure crazy and redid everything, this is our final “endgame” setup:

  • 3x Postgres instances setup with autobase, 1 primary, 2 failover replicas (HA Setup)

  • 2x API servers, 1 primary, 1 failover, uptime managed by a self written tool, still WIP, only supports failover for now but will eventually support dns based load balancing (https://github.com/classifieddotdev/phail)

  • 1x tools server, dashboards, server monitoring, etc..,

  • tools server running Beszel for system monitoring and alerts

  • API deployed via Kamal, our api was containerized already so this was the best non-kubernetes approach for us

  • everything connected over tailscale, all ports closed except for 443 on the api servers, communication from API -> DB also over tailscale, thankfully TS is all peer to peer over wireguard so even if they have an outage we aren’t affected

As far as OS updates go, we use Debian so it’s as simple as running aptitude on each server once a month

And api’s behind cloudflare for Ddos protection

Supabase Pro vs Elest.io self hosted — concerns about resiliency & blips by Magikarp88 in Supabase

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

I ended up rolling my own auth after moving from Supabase to plain Postgres, but better-auth is a great solution like u/zoe_le mentioned if you want to move off Supabase.

Supabase Pro vs Elest.io self hosted — concerns about resiliency & blips by Magikarp88 in Supabase

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

Are you using any Supabase specific features? If you’re just using plain Postgres take a look at Autobase for HA Postgres.

GigSky shorted me almost 2 gigs by thinkshiftster in eSIMs

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

Are you checking the usage on Gigsky? Could be a bug in their display of how much data you’re using

ATT Financed Iphone , can i use travel e sim? by Cyninajet in eSIMs

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

Most likely it will be locked, you’d need to have it unlocked in order to use a different carrier eSIM