简体   繁体   中英

Xamarin Parse.com caching or local storage

I have an app built in Xamarin (Android) that extensively uses Parse as the backend. When i say extensively i mean the app has to query Parse almost continuously as it scans for iBeacons.

It works perfectly well as is, but the problem is scalability in terms of the number of consecutive requests to Parse per second. In other words the number of requests will get ridiculous as soon as there are more than a hundred or so app users.

I need to be able to store the data from Parse locally. As far as i'm aware though, Parse doesn't support local storage via the .Net API, not do they provide caching for .Net.

Can anybody recommend what the best alternative is here? My Parse tables contain pointers etc. so i need to be able to replicate this locally or somehow cache the data.

Thanks.

Parse .NET APIs do not support Local Datastore like in android, until they support it, you can either use any .NET generic data caching libraries, or just convert your parse data to JSON and save/serialize it into a local file.

something like akavache may satisfy your requirements.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM