I am new to both the technologies, so need some guidance here
I have an S3 bucket of lots of images (20 million, 870GB) , which unfortunately has poorly thought of keys which makes the read process slow (1s - 1.8s atleast for a read). We are planning to migrate this to a better read optimised bucket.
Then I came across aerospike and in some docs I read that we can even store images as blobs in the key value pair in aerospike. While the storage consumption would be high, the read would be faster than anything else given that it uses SSD integration.
Would it be recommended to use Aerospike to store keys like S3 and the values would then be the corresponding images? Is there any other alternative to S3 that has a faster read?
No. Aerospike is not an alternative for S3. They are meant for different purposes. Aerospike is a key-value store which is used as OLTP database. S3 is file storage service. Note that Aerospike has a limit on how large a record can be. Its 1MB (max allowed value for write-block-size). If your objects are <1MB, then you may consider Aerospike for your use case.