Live data from Hacker News

How we built Hamiltix.net for less than $1 a month on AWS

blog.badsectorlabs.com

51–60 of 77 posts

Re: How we built Hamiltix.net for less than $1 a month on AWS

#51

Earlier quoted context omitted.

Scaleway are horridly unreliable. I run a SaaS business, and hosted first with DigitalOcean which amounted to roughly one outage per month. I then tried hosting with Scaleway for a few months to cut costs. On Scaleway, I averaged 53 outages every month. Average response times were slower. Longer outages meant I had to manually hard-restart the server, which corrupted all the database indexes. Scaleway also has a huge…

One outage per month in DO? Curious, we had a dozen machines running there and never experienced that. Unless they were very short-lived (we used Uptime Robot's free plan, which has a 5m interval). Or maybe it's the DC? We used AMS2.

Many months had zero outages, so the average is less than one. Outages were short-lived too. In short: generally reliable.

Scaleway not so.

Re: How we built Hamiltix.net for less than $1 a month on AWS

#52
post #39

I can modify the price in the checkout by changing the URL parameter. Really?

Can also use a negative price! I wonder what would happen if you went ahead with that. Presumably the payment gateway wouldn't pay me $5. Seems a strange choice to be having those parameters in a GET.

> Presumably the payment gateway wouldn't pay me $5

Having dealt with payment gateways, I would not assume that.

Re: How we built Hamiltix.net for less than $1 a month on AWS

#53
post #39

Earlier quoted context omitted.

Can also use a negative price! I wonder what would happen if you went ahead with that. Presumably the payment gateway wouldn't pay me $5. Seems a strange choice to be having those parameters in a GET.

Why stop at $5? Try setting quantity or price to -9e999999999. How will you spend your $∞ dollars?

On the most stellar lawyer there is?

Re: How we built Hamiltix.net for less than $1 a month on AWS

#59
post #39

I can modify the price in the checkout by changing the URL parameter. Really?

Can also use a negative price! I wonder what would happen if you went ahead with that. Presumably the payment gateway wouldn't pay me $5. Seems a strange choice to be having those parameters in a GET.

I agree, the param passing is not ideal. Session storage/local storage is another option.

Re: How we built Hamiltix.net for less than $1 a month on AWS

#60
post #39

Earlier quoted context omitted.

Can also use a negative price! I wonder what would happen if you went ahead with that. Presumably the payment gateway wouldn't pay me $5. Seems a strange choice to be having those parameters in a GET.

I agree, the param passing is not ideal. Session storage/local storage is another option.

Everything that can be modified by the user is not suitable. The price must be stored on the server side, everything on the client side is subject to modification.
Post reply on HN