db base on redis and fw about sinatra