Giter Site home page Giter Site logo

Comments (8)

jansenbe avatar jansenbe commented on August 19, 2024

long running remote event receivers are a no-go...what do you think of having the event receiver post a message to a queue and background task which picks it up. Working on timerjob framework that will make this possible (one needs to be able to 'transfer' the calling user's context to the asynchronously running background process).

from pnp-guidance.

frankmarasco avatar frankmarasco commented on August 19, 2024

I was thinking along the lines just needed a place to track this.

from pnp-guidance.

VesaJuvonen avatar VesaJuvonen commented on August 19, 2024

Was also on my blog todo list with details what we have gathered from the feature PMs related on the exact timings and practices. We should have simple story with storage queue and web jobs... and then introduction story to more advance model with the remote timerjob framework. I'd actually write 2 articles... first for the intro, second for the remote timer job framework approach with multithreading support when that's done.

Would suggest following:
Write the generic story - Vesa
Write introduction to framework based code - Bert

Frank can concentrate on the site provisioning framework. Deal?

from pnp-guidance.

Zimmergren avatar Zimmergren commented on August 19, 2024

👍
I like the idea Bert is talking about. For what its worth I implemented something similar just the other week where a "job-request" list is populated with "tasks" and then a simple web job is listening to that list every minutes (configurable) and takes care of business.

It works well, but at the same time I think it needs to be robust enough to handle heavy load multiple simultaneous executions without any hiccups (mine doesn't), so for it to be multi-threaded and designed for heavy action is probably a must.
Just a few thoughts from my end of the pond.

from pnp-guidance.

VesaJuvonen avatar VesaJuvonen commented on August 19, 2024

Thanks Tobias. Process for this one will be exactly the same task feeding approach as with the https://github.com/OfficeDev/PnP/tree/master/Solutions/OD4B.Configuration.Async solution. That was however pretty complex and we need to explain the simplified process, so that field will understand how to truly take advantage of the async queuing process with storage queues and web jobs.

Code exists already, just to write down the story by end of next week should be now the approach.

We or Bert are pretty far with the multi-threaded approach as well, which was also demonstrated in TechReady this week. Looks really good. Now we just need to concentrate on proper documentation on this model.

from pnp-guidance.

Zimmergren avatar Zimmergren commented on August 19, 2024

👍 Looking forward to seeing the outcome, you guys are doing an awesome job.

from pnp-guidance.

frankmarasco avatar frankmarasco commented on August 19, 2024

@VesaJuvonen concur and agree

from pnp-guidance.

VesaJuvonen avatar VesaJuvonen commented on August 19, 2024

Closing some backlog items - this is nicely explained in following PnP Guidance article - https://github.com/OfficeDev/PnP-Guidance/blob/master/articles/SharePoint-Add-In-Recipe-event-receiver-and-list-event-receiver.md

from pnp-guidance.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.