News for hackers. Stuff that matters.
Re:Skip the API, Ship Your Database by impulser_ on Wednesday September 13, 2023 @07:41PM (#37503099)
I think you are thinking that Fly is like a serverless platform. They aren't. They are the opposite. They are a server platform. They provide server for you and you have to manage your server yourself.

Nothing they provide is managed by them. You have to do that.

LiteFS is just a replication service for your sqlite database so you can keep your database synced across multiple nodes.

https://github.com/superfly/litefs

LiteFS Cloud which is the a service they provide just helps you backup and recover sqlite databases. You can do this yourself.

https://fly.io/docs/litefs/backup/

Re:Skip the API, Ship Your Database by pests on Wednesday September 13, 2023 @07:48PM (#37503142)
I go into a project folder and can run "fly launch" and then the application is alive in multiple regions around the world. Where exactly am I manging this server?
Re:Skip the API, Ship Your Database by impulser_ on Wednesday September 13, 2023 @07:55PM (#37503189)
Open up the Dockerfile they generate for you.
Re:Skip the API, Ship Your Database by pests on Wednesday September 13, 2023 @08:12PM (#37503302)
How does a Dockerfile change things? Your application is packaged into a container. The Fly service runs any application not just web applications or build artifacts. Of course your application is going to get a complete operating system environment to run in.

I don't think the Dockerfile has anything to do with them pulling your container from their registry and running it on their server.

Re:Skip the API, Ship Your Database by hamandcheese on Wednesday September 13, 2023 @11:12PM (#37504528)
Fly.io does not run containers. They convert your docker image to a VM.
Re:Skip the API, Ship Your Database by pests on Wednesday September 13, 2023 @11:35PM (#37504678)
Ah right okay thanks. The point still stands the Dockerfile and image is used as a container for your application and does not imply a manage-it-yourself server is being used.
Re:Skip the API, Ship Your Database by eddythompson80 on Wednesday September 13, 2023 @08:15PM (#37503325)
So a scaffolding tool?
Re:Skip the API, Ship Your Database by TylerE on Wednesday September 13, 2023 @09:59PM (#37504039)
There is no such thing as "serverless", that's just a higher than normal level of vendor lying.
Re:Skip the API, Ship Your Database by impulser_ on Wednesday September 13, 2023 @10:30PM (#37504224)
Re:Skip the API, Ship Your Database by TylerE on Wednesday September 13, 2023 @10:40PM (#37504296)
The first sentence in your link includes "in which the cloud provider allocates machine resources on demand, taking care of the servers". =

There is NO SUCH THING as serverless. There are always servers.

Re:Skip the API, Ship Your Database by robertlagrant on Thursday September 14, 2023 @07:44AM (#37507633)
Serverless doesn't mean servers don't exist, any more than calling a radio a "wireless" doesn't mean wires don't exist. It just means for the consumer, servers aren't a consideration, just as with a wireless wires aren't.
Re:Skip the API, Ship Your Database by growse on Thursday September 14, 2023 @08:03AM (#37507785)
The irony is that many things that are advertised as wireless actually need wires, and things that aren't, don't.

My wireless printer needs a wire for power.

My dog doesn't need a wire for anything, but no-one talks about them being 'wireless'.

(Come to think of it, my dog is serverless too...)

Re:Skip the API, Ship Your Database by robertlagrant on Thursday September 14, 2023 @08:47AM (#37508239)
> My dog doesn't need a wire for anything, but no-one talks about them being 'wireless'.

Indeed :-) But isn't this the same sort of definition you want for "serverless"? Not something relevant to consumers (e.g. "you don't manage servers") but a description of something where servers are not involved in any way?

Re:Skip the API, Ship Your Database by brokenbyclouds on Thursday September 14, 2023 @01:00PM (#37511583)
Dear God this is a tired point. The rest of the damn paragraph of the Wikipedia article fully addresses that. Nobody who uses the term "serverless" thinks that magic fairies are replacing servers. The point is who is managing it for your application or business.
Re:Skip the API, Ship Your Database by chrisoverzero on Wednesday September 13, 2023 @11:32PM (#37504662)
I said nearly the same thing decades ago. Smashed a few friends’ so-called “wireless” telephones and showed them all the wires. Just look out a window; what’re those long, wiry things running between the utility poles, huh?! It’s ridiculous, the level of lying.
Re:Skip the API, Ship Your Database by rmbyrro on Thursday September 14, 2023 @04:48AM (#37506474)
I think it's "lying" if you mislead another person.

In those two examples: serverless and wireless phones, it's not misleading consumers.

Serverless is a way to communicate that the consumer won't need to provision and maintain servers. It is true.

Wireless phone means you can move for quite long distances while talking without any wire connecting your device to the wall. It is true.

You may argue they're "misnomers". But to call it a "lie" is quite a stretch...

Re:Skip the API, Ship Your Database by robertlagrant on Thursday September 14, 2023 @06:47AM (#37507264)
> you have to manage your server yourself

Can you give an example? You mean backups, OS patches, firewall config, etc etc? Are they like Hetzner?