In cryptography, the Elliptic Curve Digital Signature Algorithm offers a variant of the Digital Signature Algorithm which uses elliptic curve cryptography.
RSA is a common public key algorithm, which can be used for encryption and signature
"If you re interesting in reducing the size of the resulting cookies you should consider using ecdsa rather than rsa to produce the signatures - ecdsa signatures are considerably smaller than rsa signatures of an equivalent security factor"
from question "Can one encrypt with a private key/decrypt with a public key?"
"Rsa is much faster then ecdsa at verification"
from question "Understanding RSA signing for JWT"
"Ecdsa is much faster than rsa for private key operations so it should definitely be preferred over rsa when high efficiency is required unless rsa is still fast enough something that may very well be the case"
from question "Java REST-Service with Digital Signing"