I am designing a database that could easily be represented as a large collection of files containing fixed size records, with sequence numbers 0,1,... This could fit nicely in DynamoDB with the filename as primary key and the record sequence number as sort key, but I am thinking about just using loose files on EFS. I don't need any replication, as this is already a replicate in a fault tolerant system. My Lambda function won't need any fancier operations than to read, write or update an individual record, which would always be at known offset in a known file. There may be 100's of simultaneously active lambdas, but usually accessing different files. It looks like I can use fcntl/lockf to synchronize any contention.
Back of envelope, it seems like using raw files will cut cost in half, at least, and I'm guessing will perform better also. What are some reasons I might regret doing this?