# Why middleware may not be the right abstraction for your data policies.

DevFeed: [Why middleware may not be the right abstraction for your data policies.](<https://devfeed.tech/articles/why-middleware-may-not-be-the-right-abstraction-for-your-data-policies-6112.md>)

Original publisher: [Read original article](<https://turso.tech/blog/why-middleware-may-not-be-the-right-abstraction-for-your-data-policies-daf8a0c2172f>)

Author: Glauber Costa

Published: 2022-11-14T00:00:00Z

Content type: article

Language: en

Sources: [Turso Blog](<https://devfeed.tech/sources/turso-blog.md>)

Topics: [backends](<https://devfeed.tech/topics/backends.md>), [Turso](<https://devfeed.tech/topics/turso.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [Code](<https://devfeed.tech/topics/code.md>), [SQLite](<https://devfeed.tech/topics/sqlite.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [backend](<https://devfeed.tech/tags/backend.md>), [chiselstrike](<https://devfeed.tech/tags/chiselstrike.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [code](<https://devfeed.tech/tags/code.md>), [data](<https://devfeed.tech/tags/data.md>), [offline](<https://devfeed.tech/tags/offline.md>), [programming](<https://devfeed.tech/tags/programming.md>), [servers](<https://devfeed.tech/tags/servers.md>), [software-development](<https://devfeed.tech/tags/software-development.md>), [sqlite](<https://devfeed.tech/tags/sqlite.md>), [turso](<https://devfeed.tech/tags/turso.md>)

## AI overview

The article argues that middleware may not be the right abstraction for enforcing data policies. The supplied text describes backend business logic as code and algorithms, and provides context about Turso databases, including querying over the network, synchronization with devices and servers, offline support, and their file-based design.

## Source excerpt

There is nothing intrinsically difficult with the business logic of backends: after all, it's just code and algorithms. A fizzbuzz is a fizzbuzz: equally useless on the backend as it is on the...