Last post Oct 24, 2016 09:36 AM by jimmy69
Oct 14, 2016 07:00 AM|jimmy69|LINK
i'm a beginner with web developement and imagine i have a simple web service (asmx) who return a list of parcel.
public static List<ADTPoc.BusinessObject.Parcel> GenerateParcels()
all works fine in my local dev.
But i wonder if i have several call to this web service => more than 1000 in a day.
Some people where i work told me , i must to use queue ...
But where i work before we don't use queue and never meet problem ...and we have more user => 3000 people on a day !
Someone can told me why i must to use queue or gives me some article, sample i would like to clear this in my little head :)
thanks for all
Oct 14, 2016 07:49 AM|PatriceSc|LINK
Ask them? I don't think ti should be a problem. What matters is not what you are doing but why you are doing it (also what matters is not using a queue but what would be "queued").
The first thing I'm thinking about is if the server side processing triggered by this call is slow. For example a video conversion would be likely best done by submitting a conversion request which is then immediately queued to be processed later a. The
user can send other requests to get the status or the final response for his earlier request.
Qeuing that allows to not wait for a long response and on the server side you could add more machines if needed to process queued items.
Without any reason for introducing a queue I would just do the simplest thing that works.
Oct 24, 2016 09:36 AM|jimmy69|LINK
thanks for your reply but discuss with my new colleague is a little complicated ...
yesssss believe me, i 'm new to a big society (public) and i think people ask me to use queue for to see if i know or not ...
actually, i don't know if i will stay on this entreprise, gross salary perhpas but people can't communicate ...
thanks for your time and have a nice day