#Hey

1 messages · Page 1 of 1 (latest)

white urchin
#

I'm planning to get a VPS for my mini-games bot. But the thing is I'm using Canvas and some code to render animated GIFs in some games. While this. CPU hits till 280% per default.

I'm looking for a good VPS plan that can handle many requests. (My old hosting provider uses some old specs)

vagrant venture
#

if you are using Canvas for gif animation its probably going to be heavy

white urchin
#

Yeah it is.

vagrant venture
#

i'm not sure exactly how you are rendering your canvases

white urchin
#

1 request goes to 280% or more

vagrant venture
#

but it pretty much is just using a virtual browser

#

which doesnt sound bad on our computers but vps and servers aren't meant for graphics

white urchin
#

The problem is the budget.

vagrant venture
#

i suggest instead of "rending" your canvas you just send the datauri

#

and let the client render it

white urchin
#

Rendering is only for roulette

#

on 30 fps

#

with users avatars and user names

vagrant venture
#

yea that's very heavy

white urchin
#

just like this but animated

vagrant venture
#

a lot of rendering

white urchin
#

yep

vagrant venture
#

instead of just rendering i suggest you try something else

#

e.i. use a website

#

ofc you can try rendering,

white urchin
#

Can I show you the animation code? so you can see

vagrant venture
#

sure but

#

i doubt it changes anything

white urchin
#

Just to understand

atomic orbitBOT
#

@white urchin, you just advanced to level 1 !

white urchin
#

shit

#

Using canvas and

#

gifencoder

vagrant venture
#

yea

#

looks

#

complicated

white urchin
#

max frame rate is 50

white urchin
vagrant venture
#

its probably not the best way to do this

#

but with discord limitations

#

its kinda... this or you open another website

white urchin
#

I just need a good plan for starting you know

vagrant venture
#

Cpu usage isnt the main issue its the delay

white urchin
#

I don't really know its just a discord bot hosting

#

not a vps

vagrant venture
#

Ab

#

Ah

#

Then thats prob pretty bad

white urchin
#

I was planning to buy a VPS with Ryzen 9 3900X

#

buts its bad

vagrant venture
white urchin
#

is Ryzen 5700X better?

vagrant venture
#

ah nvm

#

max is better cpu ofc

white urchin
#

@vagrant venture

#

What do you recommand

vagrant venture