sprites.dev question

Hello sprites team / fly team ?

I just notice you drop new product for called sprites.dev i actually intent to built similliar to this by my self using fly infra but looks like you’ve done it, i want to try the product but the docs and samples are not that good

here is some question i had

  1. can i run npm install or bun install ? how ?
  2. what if my usage is beyond the 20$ plan ? is 10 the maximum sprite i can have ?
  3. can i use this as a worker ? how do i scale

my usecase i just want to create bun script and deploy it like deno deploy not for ai is that possible ?

Do you mean in order to install the sprite CLI tool? No, the suggested installation method is to download the install.sh and pipe to sh.

If you’re against the whole “pipe internet shell script in sh” thing, you can download the tarball directly (the install script does some covenient stuff like picking a good install dir, etc.). If you have a look at the install script, it’s dowloading from URLs like this (I’m on MacOS, hence darwin-arm64):

https://sprites-binaries.t3.storage.dev/client/v0.0.1-rc29/sprite-darwin-arm64.tar.gz

Once you’ve downloaded the CLI, you can stick to running sprite upgrade to update your CLI version. I’m not sure how upgrade handles non-standard install location.

Usage beyond the credits granted by the $20 plan are charged according to these rates (bottom of https://sprites.dev):

10 sprites is the maximum you can have active at any given time (on the Level 10 Plan) - you can have as many “cold” sprites as you want, you just can’t have more than 10 running at once.

If you need more than 10 active at once, reach out to us at billing@fly.io to discuss increasing that limit for you.

Yes! Sprites is a stateful compute resource (different to our Machines product, which is stateless compute). If you have a worker use-case that would benefit from that statefulness, then Sprites is potentially a good fit.

Horizontal scaling via the CLI is sprite create and sprite destroy (there are also JS and Golang SDKs if you want to automate horizontal scaling). All those links will take you to docs pages.

You don’t need to do anything to vertically scale. Sprites have access to a bunch of CPU/RAM and (in theory) infinite storage, but we only bill for how much of each resource the Sprite actually uses. In other words, you “vertically scale” simply by having your Sprite use more or less CPU/RAM; the Sprite has lots available to it.

If you’re concerned about the upper limits of sprite CPU/RAM, I’d suggest reaching out to billing@fly.io to confirm if Sprites will meet your requirements.

We have some “official” docs up. Although they’re very much a WIP right now, they should still get you pretty far:

2 Likes

Nice info somehow i couldnt find it on the landing page of https://sprites.dev/

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.