I am developing an Android application where a user can send an image to my web service.
Currently, on my WebService, I get a Base64 string and save it in a table in my database.
My question is: Is this a good practice? Because, as far as I know, a Base64 string is a heavy string. My concern is for db performance, for example when this table gets more than 10000 ... 100000 records.
Or should I avoid this behavior?
For example: Isntead, in order to save the Base64 string in the database, I was able to restore the image and save only the URL in my db.
Ps: SqlServer database
Thanks for helping the guys
source
share