compas-dev / compas-dev/compas_cloud
feature_request: return wrapped cached object on which methods of cached object can be directly called, and executed in server
- Vorherrschende Sprache
- Python
- Sterne
- 6
- Forks
- 2
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Create a easy-to-work with wrapped cached object on which methods of the cached object (which may call all the nice scientific libraries we cannot use in IronPython) can be directly called--triggering their execution in the server.
An example of how it would be used from the point of the Proxy-using developer:

This involves creating a wrapped cached object that gets returned when Proxy.cache(object) is used:

This class, as can be seen, gathers and wrap all the methods that are in the cached object's class, so that they may directly be called from the Client side...
Where proxy.run_method_of_cached was discussed in an earlier Issue...
Finally, the wrapped object also provides a handy restore function that allows the cached object to be recreated in the client side.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Start from Proxy.cache(object) and the proposed wrapped cached object, then review the earlier proxy.run_method_of_cached discussion. The feature is complete when cached-object methods can be called from the client and execute on the server, while the wrapper also supports restoring the cached object client-side.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- api, backend, distributed-systems
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 25/100