Write some Software

Ditutup

Huraian

write an example application to demonstrate good multithreading practices in C# .net 4.5 to achieve the following:

a method called flow should set up the following

two queues:

INPUT

OUTPUT

three threads or simultaneous tasks:

READ

PROCESS

WRITE

and start READ

READ:

reads in data one packet at a time from a data source and places data on the INPUT queue,

until there is no more data to read.

(

in the real implementation this will be a read from a database,

the database can lock,

it can be slow,

it can fail

in this implementation this should be simulated by a random length wait,

and an occasional random exception

)

PROCESS:

takes one packet of data from the INPUT queue

processes this data packet

places output processed data packet on the OUTPUT queue.

PROCESS thread could run out of work.

it should wait

if READ adds another packet on INPUT queue it should continue processing

if READ finishes,

PROCESS should

process any remaining packets

then PROCESS is finished

(

in the real implementation the processing will be a web service call to an external system,

it can be slow,

it can fail

in this implementation this should be simulated by a random length wait,

and an occasional random exception

)

WRITE:

takes one packet of data from the OUTPUT queue

writes this to a database

WRITE could run out of work

it should wait

if PROCESS adds another packet to OUTPUT queue it should continue writing

if PROCESS finishes

WRITE should write any remaining packets

then WRITE is finished

(

in the real implementation this will be a write to a database,

the database can lock,

it can be slow,

it can fail

in this implementation this should be simulated by a random length wait,

and an occasional random exception

)

WHEN

READ, PROCESS and WRITE are finished

THEN

flow should pack up all objects and exit

CONSTRAINTS:

PROCESS must be FIFO

WRITE must be FIFO

There cannot be simultaneous instances of PROCESS

if either queue gets too long, READ should stop reading until they get shorter

An exception in any thread should result in all threads packing up and FLOW exiting

Kemahiran: .NET, Pengaturcaraan C#

Maklumat lanjut: software write mq4, software write chip epson, useful software write book, software write web specs, free software write user guide, software write edid, free software write company profile, software write websites idea, software write book images, software write books, software write protection, free software write book, software write book, software write protect software, software write technical manual

ID Projek: #14079608

33 pekerja bebas membida secara purata $479 untuk pekerjaan ini

esolzsales

Hello, Greetings, Top most Freelancer to work with and have great reviews too. We have read your project details and we are very much keen to work with you. We have the best developer and designer team havi Lagi

$777 USD dalam 17 hari
(14 Ulasan)
7.4
langlangFan

Hello. Good to see another serious posting. I don't usually look for new clients but I happened to see your job post and I wanted to contact you. I’ve read your brief and I could absolutely help you with your goal. Lagi

$555 USD dalam 10 hari
(7 Ulasan)
5.5
tudiptechnology

Hi, Let me keep this really short as I am sure you would be swamped with the proposals! We have proven track record of delivering C#/.Net web applications with AngularJS front end. Few applications that we w Lagi

$722 USD dalam 45 hari
(5 Ulasan)
5.3
prashushinde9

I want to discuss this project with you further, let me know the best suitable time for you to schedule the meeting, Feel free to message me at any time, i used to be online 14 hrs in a day on this website so probably Lagi

$773 USD dalam 20 hari
(8 Ulasan)
4.6
JoseCarrier

Hello, Please check my reviews I am good at C#.net I have many experience with C# for 5 years Please send me the message now Thanks

$555 USD dalam 10 hari
(8 Ulasan)
4.4
Gates777

Hi, I am very experienced with C#. I can complete this clearly. thanks. -----------------------------------------------------------------------

$277 USD dalam 3 hari
(11 Ulasan)
4.4
TopTower22

hello,how are you. i read your bid carefully. i am C# expert and have full experience for 7 years. C# language is my top skill and my interested skill. I can provide most quality and high fast. if you want to succe Lagi

$555 USD dalam 10 hari
(8 Ulasan)
4.5
ZhangDa

Nice to meet you. This looks an interesting project. We can define a data structure with below properties. Basic idea of this job. * Define 2 queues objects. * Define a method AccessInputQueue which access Input Lagi

$400 USD dalam 10 hari
(6 Ulasan)
3.8
Gangsong

hello. I am a professional developer and I have good experience and service in .Net programming. I hope to work with you. Thanks

$555 USD dalam 10 hari
(4 Ulasan)
3.3
mahmoud9

Hello Sir , Before to tell you more about me , I have successfully delivered +270 projects for clients across +50 countries in domains like healthcare, e-commerce, social network, chat app, food delivery app Lagi

$555 USD dalam 10 hari
(7 Ulasan)
2.7
utkuozan76

I already have your application developed. It just needs to path some issues which are not clear in the specs. 1 - How to we know the input is finished? Is there a timeout or do we know the number ıf input Packets? Lagi

$300 USD dalam 2 hari
(2 Ulasan)
2.4
shivanimishra19

We are a group of very sound developers and designers. We are committed to give a quality work with satisfaction to our Clients. We are expertise in: - .Net - C# - Cloud Hosting - Azure - Angular JS - MVC - Selenium Lagi

$277 USD dalam 8 hari
(1 Ulasan)
2.1
vw968052vw

A proposal has not yet been provided

$250 USD dalam 3 hari
(1 Ulasan)
2.1
israrsoft

Hello there, Deepak this side from India. Thank you for posting the project, I have studied your requirements I Have 8+ years of exp in the same field and I Have a great portfolio as well. Skills: - Asp.ne Lagi

$555 USD dalam 10 hari
(5 Ulasan)
2.6
techlogics4

Dear Prospect Hiring Manager. Thank you for giving me a chance to bid on your project. i am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned I have Lagi

$653 USD dalam 6 hari
(0 Ulasan)
0.0
saown666

hello having rich interest on this project, im interested to have a little chit chat to go into deep. i will gladly response to your attention. thank you

$450 USD dalam 7 hari
(20 Ulasan)
0.0
$500 USD dalam 7 hari
(0 Ulasan)
0.0
deepmirchandani

I HAVE DONE THIS TYPE OF THINGS MANY TIMES.I WILL WORK FOR YOU AT MINIMUM RATE WHAT YOU HAVE SET. PLEASE CONTACT ME ON deepmirchandani1991[at]gmail.com. I CAN GIVE YOU DEMO ON YOUR PROJECT ONLY FOR FREE FOR MAKE TRUST Lagi

$833 USD dalam 10 hari
(0 Ulasan)
0.0
amolraut4

we can do multiple projects can contact me on. amolraut4 @ gmail . com or on 919022809474

$333 USD dalam 30 hari
(0 Ulasan)
0.0
DanyalHaiderOrg

I am ready to give my service. I feel pleasure to do this project.i already developed so many product like this. Hopefully, i will deliver your product on time. If you Send me some more details related this project the Lagi

$611 USD dalam 5 hari
(0 Ulasan)
0.0